Beispiel #1
0
 public MotorBaseState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     motorStateManager = sm;
     settings          = (MotorSignalSettings)motorStateManager.Settings;
     _minBlockDelay    = TimeSpan.FromMilliseconds(settings.StateDelayConfig.MinBlockDelay);
     _minLeaveDelay    = TimeSpan.FromMilliseconds(settings.StateDelayConfig.MinLeaveDelay);
 }
Beispiel #2
0
 public ZWKSState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "ZWKS";
 }
Beispiel #3
0
 public C5State(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "C5";
 }
Beispiel #4
0
 public SampleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "SAMPLE";
 }
Beispiel #5
0
 public IdleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "IDLE";
 }