Beispiel #1
0
 public Wire(Point start, Point end, OutPort first, InPort second)
 {
     outP = first;
     inP = second;
     FindPath(start, end);
     Selected = false;
 }
Beispiel #2
0
 public VisibleInPort(InPort p, Point pos)
 {
     port = p;
     position = pos;
 }
Beispiel #3
0
 public void AddSubscriber(InPort p)
 {
     m_subscribers += p.AcceptSignal;
 }
Beispiel #4
0
 public void RemoveSubscriber(InPort p)
 {
     m_subscribers -= p.AcceptSignal;
 }
Beispiel #5
0
 public override void InitPorts()
 {
     in1 = new InPort(this, "1");
     in2 = new InPort(this, "2");
     out1 = new OutPort(this, "out");
 }