示例#1
0
        internal CircuitWire GetWire(string wire)
        {
            if (!wires.ContainsKey(wire))
            {
                wires[wire] = new CircuitWire(wire);
            }

            return(wires[wire]);
        }
示例#2
0
        internal void SetWireSignal(string wire, CircuitWire wire2Obj)
        {
            var wireObj = GetWire(wire);

            wireObj.OtherWire = wire2Obj;
        }
示例#3
0
        internal void SetWireSignal(string wire, CircuitWire wire2Obj)
        {
            var wireObj = GetWire(wire);

            wireObj.OtherWire = wire2Obj;
        }
示例#4
0
        internal CircuitWire GetWire(string wire)
        {
            if (!wires.ContainsKey(wire))
            {
                wires[wire] = new CircuitWire(wire);
            }

            return wires[wire];
        }