Пример #1
0
 public void PortChanged(Gate g)
 {
     state = g.OutPort;
 }
Пример #2
0
 // Standard Konstruktor
 public Inport(bool state, Gate g)
 {
     State   = state;
     tmpGate = g;
 }
Пример #3
0
 //2. ueberladung von connectport um switches mit Gates zu connecten
 public void connectPort(Gate g)
 {
     g.GateToggled += PortChanged;
 }