Пример #1
0
 public G_ExportPin() : base(ContentView.GetNextIndex("P"))
 {
     Width  = 1;
     Height = 4;
     Pin    = new G_Pin(this, "IN");
     Pins.Add(Pin);
     Direction = Direction.Left;
 }
Пример #2
0
        public override object Clone()
        {
            var obj = new G_Gate_Binary(ContentView.GetNextIndex(NameRoot), GateType, NameRoot)
            {
                Position  = Position,
                Direction = Direction
            };

            return(obj);
        }