public StateStartup(SimulatorStateMachine machine) : base(machine)
 {
 }
Ejemplo n.º 2
0
 protected StateShutterMoving(SimulatorStateMachine machine, MotorConfiguration direction)
     : base(machine)
 {
     this.direction = direction;
 }
 internal StateRotating(SimulatorStateMachine machine) : base(machine)
 {
 }
Ejemplo n.º 4
0
 protected internal StateSendStatus(SimulatorStateMachine machine) : base(machine)
 {
 }
Ejemplo n.º 5
0
 protected internal StateExecutingCommand(SimulatorStateMachine machine) : base(machine)
 {
 }
 /// <summary>
 ///     Initializes the simulator state with a reference to the parent state machine.
 /// </summary>
 /// <param name="machine">The associated state machine.</param>
 internal SimulatorState(SimulatorStateMachine machine)
 {
     this.Machine = machine;
 }
Ejemplo n.º 7
0
 internal StateReceivingCommand(SimulatorStateMachine machine) : base(machine)
 {
 }
Ejemplo n.º 8
0
 public StateShutterClosing(SimulatorStateMachine machine) : base(machine, MotorConfiguration.Reverse)
 {
 }
 internal StateEmergencyStop(SimulatorStateMachine machine) : base(machine)
 {
 }
Ejemplo n.º 10
0
 public StateShutterOpening(SimulatorStateMachine machine) : base(machine, MotorConfiguration.Forward)
 {
 }
 /// <summary>
 ///     Creates a simulator communications channel from a valid endpoint.
 /// </summary>
 /// <param name="endpoint">A valid simulator endpoint.</param>
 public SimulatorCommunicationsChannel(SimulatorEndpoint endpoint)
 {
     Contract.Requires(endpoint != null);
     Endpoint  = endpoint;
     simulator = new SimulatorStateMachine(endpoint.Realtime, new SystemDateTimeUtcClock());
 }