TPlannedTransport.State
redirigé depuis TPlannedTransport.GetState
| TPlannedTransport = class (TObject) | Interface de TPlannedTransport | Exemples de TPlannedTransport |
Qubes 6.3 Etat de l'attendu
Syntaxe
property State: TPlannedTransportState read FState
Remarques
retourne l'état dans lequel se trouve l'attendu.
Exemples
uses QubesLogistics.PlannedTransports, QubesLogistics.ReceiptAndDelivery;
var attendu:=TPlannedTransport.Connect('ACL', TLogisticsFlowType.Purchase, '2877s555sq85', '56');
if attendu.State=TPlannedTransportState.Created then
attendu.TransitionTo(TPlannedTransportState.Planned);
var attendu:=TPlannedTransport.Connect('ACL', TLogisticsFlowType.Purchase, '2877s555sq85', '56');
if attendu.State=TPlannedTransportState.Created then
attendu.TransitionTo(TPlannedTransportState.Planned);