Пример #1
0
 public RegulatorEventHandler(AbstractRegulator regulator, RegulatorState state)
 {
     this.State     = state;
     this.Regulator = regulator;
 }
Пример #2
0
 public RegulatorState(string name, AbstractRegulator regulator)
 {
     this.Name      = name;
     this.Regulator = regulator;
 }
Пример #3
0
 public void Handle(AbstractRegulator regulator)
 {
     regulator.SyncReset();
 }
Пример #4
0
 public void Handle(AbstractRegulator regulator)
 {
     regulator.SyncTransition(NewState, Data);
 }
Пример #5
0
 public void Handle(AbstractRegulator regulator)
 {
     regulator.SyncProcessMessage(Message);
 }