예제 #1
0
파일: Wire.cs 프로젝트: romanix92/Schemo
 public Wire(Point start, Point end, OutPort first, InPort second)
 {
     outP = first;
     inP = second;
     FindPath(start, end);
     Selected = false;
 }
예제 #2
0
 public VisibleInPort(InPort p, Point pos)
 {
     port = p;
     position = pos;
 }
예제 #3
0
파일: Ports.cs 프로젝트: romanix92/Schemo
 public void AddSubscriber(InPort p)
 {
     m_subscribers += p.AcceptSignal;
 }
예제 #4
0
파일: Ports.cs 프로젝트: romanix92/Schemo
 public void RemoveSubscriber(InPort p)
 {
     m_subscribers -= p.AcceptSignal;
 }
예제 #5
0
파일: Element.cs 프로젝트: romanix92/Schemo
 public override void InitPorts()
 {
     in1 = new InPort(this, "1");
     in2 = new InPort(this, "2");
     out1 = new OutPort(this, "out");
 }