示例#1
0
 public override void initStates()
 {
     readyToSendOrder      = new ReadyToSendOrder(this);
     waitingForAcknowledge = new WaitingForAcknowledge(this);
     UseScheduler          = true;
     currentState          = readyToSendOrder;
 }
示例#2
0
 public override void initStates()
 {
     waitingForTask  = new WaitingForTask(this);
     waitingForOrder = new WaitingForOrder(this);
     working         = new Working(this);
     WaitForTask();
 }
示例#3
0
 public override void initStates()
 {
     lookingForMissingSubscriber = new LookingForMissingSubscriber(this);
     receivingHeartbeat          = new ReceivingHeartbeat(this);
     currentState = receivingHeartbeat;
     UseScheduler = true;
 }
示例#4
0
 public override void initStates()
 {
     movement     = new Moving(this);
     waiting      = new Waiting(this);
     UseScheduler = true;
     currentState = waiting;
 }
示例#5
0
 public override void initStates()
 {
     subscribing  = new Subscribing(this);
     currentState = subscribing;
 }