public void Toggle() => machine.Fire(LampTrigger.Toggle);
 private void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
 {
     machine.Fire(TrafficLightTrigger.Timer);
 }
 public void Push() => machine.Fire(LampTrigger.Push);
예제 #4
0
 public override void PushUp() => machine.Fire(LampTrigger.PushUp);
예제 #5
0
 public override void Push()
 {
     machine.Fire(LampTrigger.Push);
 }
예제 #6
0
 private void Timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     machine.Fire(LampTrigger.Timer);
 }