- new GUIWire(submodelModifiable, cpSC3, nandC3.getInputPins().get(1), new Point[0]);
- new GUIWire(submodelModifiable, cpSC3, nandC4.getInputPins().get(1), new Point(30, 735));
- new GUIWire(submodelModifiable, C1, nandC1.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, C2, nandC2.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, C3, nandC3.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, C4, nandC4.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, not4.getOutputPins().get(0), nandY1.getInputPins().get(0), new Point(115, 255), new Point(115, 20));
- new GUIWire(submodelModifiable, not4.getOutputPins().get(1), nandY2.getInputPins().get(0), new Point(120, 265), new Point(120, 70));
- new GUIWire(submodelModifiable, not4.getOutputPins().get(2), nandY3.getInputPins().get(0), new Point(125, 275),
- new Point(125, 120));
- new GUIWire(submodelModifiable, not4.getOutputPins().get(3), nandY4.getInputPins().get(0), new Point(130, 285),
- new Point(130, 170));
- new GUIWire(submodelModifiable, nandC1.getOutputPin(), nandY1.getInputPins().get(1), new Point(135, 580), new Point(135, 30));
- new GUIWire(submodelModifiable, nandC2.getOutputPin(), nandY2.getInputPins().get(1), new Point(140, 630), new Point(140, 80));
- new GUIWire(submodelModifiable, nandC3.getOutputPin(), nandY3.getInputPins().get(1), new Point(145, 680), new Point(145, 130));
- new GUIWire(submodelModifiable, nandC4.getOutputPin(), nandY4.getInputPins().get(1), new Point(150, 730), new Point(150, 180));
- new GUIWire(submodelModifiable, nandY1.getOutputPin(), Y1, new Point[0]);
- new GUIWire(submodelModifiable, nandY2.getOutputPin(), Y2, new Point[0]);
- new GUIWire(submodelModifiable, nandY3.getOutputPin(), Y3, new Point[0]);
- new GUIWire(submodelModifiable, nandY4.getOutputPin(), Y4, new Point[0]);
+ new GUIWire(submodelModifiable, cpSC3, nandC3.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, cpSC3, nandC4.getPin("B"), new Point(30, 735));
+ new GUIWire(submodelModifiable, C1, nandC1.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, C2, nandC2.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, C3, nandC3.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, C4, nandC4.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, not4.getPin("Y1"), nandY1.getPin("A"), new Point(115, 255), new Point(115, 20));
+ new GUIWire(submodelModifiable, not4.getPin("Y2"), nandY2.getPin("A"), new Point(120, 265), new Point(120, 70));
+ new GUIWire(submodelModifiable, not4.getPin("Y3"), nandY3.getPin("A"), new Point(125, 275), new Point(125, 120));
+ new GUIWire(submodelModifiable, not4.getPin("Y4"), nandY4.getPin("A"), new Point(130, 285), new Point(130, 170));
+ new GUIWire(submodelModifiable, nandC1.getPin("Y"), nandY1.getPin("B"), new Point(135, 580), new Point(135, 30));
+ new GUIWire(submodelModifiable, nandC2.getPin("Y"), nandY2.getPin("B"), new Point(140, 630), new Point(140, 80));
+ new GUIWire(submodelModifiable, nandC3.getPin("Y"), nandY3.getPin("B"), new Point(145, 680), new Point(145, 130));
+ new GUIWire(submodelModifiable, nandC4.getPin("Y"), nandY4.getPin("B"), new Point(150, 730), new Point(150, 180));
+ new GUIWire(submodelModifiable, nandY1.getPin("Y"), Y1, new Point[0]);
+ new GUIWire(submodelModifiable, nandY2.getPin("Y"), Y2, new Point[0]);
+ new GUIWire(submodelModifiable, nandY3.getPin("Y"), Y3, new Point[0]);
+ new GUIWire(submodelModifiable, nandY4.getPin("Y"), Y4, new Point[0]);