Esempio n. 1
0
 public PointPin(double x, double y, EDirection direction, ETypePin type, int parentid, int id)
 {
     X         = x;
     Y         = y;
     IdParent  = parentid;
     Id        = id;
     Type      = type;
     Direction = direction;
 }
Esempio n. 2
0
 public Pin(ETypePin type, BaseElement master = null, string name = "default", int id = 0, int parentId = 0,
            OnChanged onChanged = null)
 {
     CoWorker   = new List <Pin>();
     Type       = type;
     Name       = name;
     ParentId   = parentId;
     Id         = id;
     State      = EState.False;
     _OnChanged = onChanged;
 }