コード例 #1
0
 internal override DispatchCommand GetLastExecutedCommand(DispatchCommand last) {
     if (last.Is<ConfirmTrackStretchCommand>()) {
         Call.IsDeparted = true;
         return this;
     }
     return last;
 }
コード例 #2
0
 internal override DispatchCommand GetLastExecutedCommand(DispatchCommand last) {
     if (last.Is<DepartureTrackStretchCommand>()) {
         Call.IsArrived = true;
         return NullCommand;
     }
     return last;
 }
コード例 #3
0
 internal override DispatchCommand GetLastExecutedCommand(DispatchCommand last) {
     if (last.Is< RequestTrackStretchCommand>() || last.Is< ConfirmTrackStretchCommand>()) return NullCommand;
     return last;
 }
コード例 #4
0
 internal override DispatchCommand GetLastExecutedCommand(DispatchCommand last) {
     if (last.Is<RequestTrackStretchCommand>()) return this;
     return last;
 }