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