public GUImux1(ViewModelModifiable model)
{
super(model, 1, "GUImux1");
public GUImux1(ViewModelModifiable model)
{
super(model, 1, "GUImux1");
GUINandGate nandI1 = new GUINandGate(submodelModifiable, 1);
GUINandGate nandY = new GUINandGate(submodelModifiable, 1);
GUINandGate nandI1 = new GUINandGate(submodelModifiable, 1);
GUINandGate nandY = new GUINandGate(submodelModifiable, 1);
new GUIWire(submodelModifiable, cp0, nandS0.getInputPins().get(0), new Point[0]);
new GUIWire(submodelModifiable, cp0, cp1, new Point[0]);
new GUIWire(submodelModifiable, cp1, nandS0.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, cp0, nandS0.getInputPins().get(0), new Point[0]);
new GUIWire(submodelModifiable, cp0, cp1, new Point[0]);
new GUIWire(submodelModifiable, cp1, nandS0.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, nandS0.getOutputPin(), nandI0.getInputPins().get(0));
new GUIWire(submodelModifiable, I0, nandI0.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, nandS0.getOutputPin(), nandI0.getInputPins().get(0));
new GUIWire(submodelModifiable, I0, nandI0.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, cp1, nandI1.getInputPins().get(0), new Point(5, 52.5));
new GUIWire(submodelModifiable, I1, nandI1.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, cp1, nandI1.getInputPins().get(0), new Point(5, 52.5));
new GUIWire(submodelModifiable, I1, nandI1.getInputPins().get(1), new Point[0]);
new GUIWire(submodelModifiable, nandI0.getOutputPin(), nandY.getInputPins().get(0));
new GUIWire(submodelModifiable, nandI1.getOutputPin(), nandY.getInputPins().get(1));
new GUIWire(submodelModifiable, nandI0.getOutputPin(), nandY.getInputPins().get(0));
new GUIWire(submodelModifiable, nandI1.getOutputPin(), nandY.getInputPins().get(1));
new GUIWire(submodelModifiable, nandY.getOutputPin(), Y);
}
}
\ No newline at end of file
new GUIWire(submodelModifiable, nandY.getOutputPin(), Y);
}
}
\ No newline at end of file