- or.moveTo(55, 97.5);
-
- new GUIWire(submodelModifiable, A1, and.getPinA1(), new Point(10, 112.5), new Point(10, 142.5));
- new GUIWire(submodelModifiable, A2, and.getPinA2(), new Point(5, 137.5), new Point(5, 152.5));
- new GUIWire(submodelModifiable, A3, and.getPinA3());
- new GUIWire(submodelModifiable, A4, and.getPinA4(), new Point(5, 187.5), new Point(5, 172.5));
- new GUIWire(submodelModifiable, B, and.getPinB(), new Point(10, 212.5), new Point(10, 187.5));
- new GUIWire(submodelModifiable, C1, or.getPinA1(), new Point(50, 12.5), new Point(50, 102.5));
- new GUIWire(submodelModifiable, C2, or.getPinA2(), new Point(45, 37.5), new Point(45, 112.5));
- new GUIWire(submodelModifiable, C3, or.getPinA3(), new Point(40, 62.5), new Point(40, 122.5));
- new GUIWire(submodelModifiable, C4, or.getPinA4(), new Point(35, 87.5), new Point(35, 132.5));
- new GUIWire(submodelModifiable, and.getPinY1(), or.getPinB1());
- new GUIWire(submodelModifiable, and.getPinY2(), or.getPinB2());
- new GUIWire(submodelModifiable, and.getPinY3(), or.getPinB3());
- new GUIWire(submodelModifiable, and.getPinY4(), or.getPinB4());
- new GUIWire(submodelModifiable, or.getPinY1(), Y1, new Point(100, 102.5), new Point(100, 12.5));
- new GUIWire(submodelModifiable, or.getPinY2(), Y2, new Point(105, 112.5), new Point(105, 37.5));
- new GUIWire(submodelModifiable, or.getPinY3(), Y3, new Point(110, 122.5), new Point(110, 62.5));
- new GUIWire(submodelModifiable, or.getPinY4(), Y4, new Point(115, 132.5), new Point(115, 87.5));
- }
-
- public Pin getPinC1()
- {
- return pinC1;
- }
-
- public Pin getPinC2()
- {
- return pinC2;
- }
-
- public Pin getPinC3()
- {
- return pinC3;
- }
-
- public Pin getPinC4()
- {
- return pinC4;
- }
-
- public Pin getPinA1()
- {
- return pinA1;
- }
-
- public Pin getPinA2()
- {
- return pinA2;
- }
-
- public Pin getPinA3()
- {
- return pinA3;
- }
-
- public Pin getPinA4()
- {
- return pinA4;
- }
-
- public Pin getPinB()
- {
- return pinB;
+ or.moveTo(35, 37.5);
+
+ new GUIWire(submodelModifiable, A1, and.getInputPins().get(0), new Point(10, 112.5), new Point(10, 142.5));
+ new GUIWire(submodelModifiable, A2, and.getInputPins().get(1), new Point(5, 137.5), new Point(5, 152.5));
+ new GUIWire(submodelModifiable, A3, and.getInputPins().get(2), new Point[0]);
+ new GUIWire(submodelModifiable, A4, and.getInputPins().get(3), new Point(5, 187.5), new Point(5, 172.5));
+ new GUIWire(submodelModifiable, B, and.getInputPins().get(4), new Point(10, 212.5), new Point(10, 182.5));
+ new GUIWire(submodelModifiable, C1, or.getInputPins().get(0), new Point(10, 12.5), new Point(10, 42.5));
+ new GUIWire(submodelModifiable, C2, or.getInputPins().get(1), new Point(5, 37.5), new Point(5, 52.5));
+ new GUIWire(submodelModifiable, C3, or.getInputPins().get(2), new Point[0]);
+ new GUIWire(submodelModifiable, C4, or.getInputPins().get(3), new Point(5, 87.5), new Point(5, 72.5));
+ new GUIWire(submodelModifiable, and.getOutputPins().get(0), or.getInputPins().get(4), new Point(70, 142.5), new Point(70, 120),
+ new Point(30, 120), new Point(30, 82.5));
+ new GUIWire(submodelModifiable, and.getOutputPins().get(1), or.getInputPins().get(5), new Point(65, 152.5), new Point(65, 125),
+ new Point(25, 125), new Point(25, 92.5));
+ new GUIWire(submodelModifiable, and.getOutputPins().get(2), or.getInputPins().get(6), new Point(60, 162.5), new Point(60, 130),
+ new Point(20, 130), new Point(20, 102.5));
+ new GUIWire(submodelModifiable, and.getOutputPins().get(3), or.getInputPins().get(7), new Point(55, 172.5), new Point(55, 135),
+ new Point(15, 135), new Point(15, 112.5));
+ new GUIWire(submodelModifiable, or.getOutputPins().get(0), Y1, new Point(75, 42.5), new Point(75, 12.5));
+ new GUIWire(submodelModifiable, or.getOutputPins().get(1), Y2, new Point(80, 52.5), new Point(80, 37.5));
+ new GUIWire(submodelModifiable, or.getOutputPins().get(2), Y3, new Point[0]);
+ new GUIWire(submodelModifiable, or.getOutputPins().get(3), Y4, new Point(80, 72.5), new Point(80, 87.5));