Esempio n. 1
0
 private void InputSignalChanged()
 {
     Simulation.AddEvent(new DiodeInputChanged(Simulation.CurrentTime, this));
     Simulation.AddEvent(new LightChanged(Simulation.CurrentTime + Delay, this, Input.Signal));
 }
Esempio n. 2
0
 private void OnOutputSignalChanged()
 {
     Simulation.AddEvent(new GateOutputChanged(Simulation.CurrentTime, this));
 }