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