Exemple #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);
 }
Exemple #2
0
 public YState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "Y";
 }
Exemple #3
0
 public SampleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "SAMPLE";
 }
Exemple #4
0
 public IdleState(MotorSignalTranslator st, MotorStateManager sm)
     : base(st, sm)
 {
     this._name = "IDLE";
 }