示例#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;
 }
示例#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;
 }