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