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