renamed VDD to VCC in power supply

This commit is contained in:
hneemann 2017-07-20 12:31:07 +02:00
parent da3f2311e5
commit b630f7d6ed
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class PowerSupply implements Element {
* Enforces a power supply * Enforces a power supply
*/ */
public static final ElementTypeDescription DESCRIPTION public static final ElementTypeDescription DESCRIPTION
= new ElementTypeDescription(PowerSupply.class, input("VDD"), input("GND")) = new ElementTypeDescription(PowerSupply.class, input("VCC"), input("GND"))
.addAttribute(Keys.ROTATE) .addAttribute(Keys.ROTATE)
.addAttribute(Keys.LABEL); .addAttribute(Keys.LABEL);

View File

@ -730,7 +730,7 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
.setPos(new Vector(SIZE * 2, 0))); .setPos(new Vector(SIZE * 2, 0)));
list.add(new VisualElement(In.DESCRIPTION.getName()) list.add(new VisualElement(In.DESCRIPTION.getName())
.setShapeFactory(shapeFactory) .setShapeFactory(shapeFactory)
.setAttribute(Keys.LABEL, "VDD") .setAttribute(Keys.LABEL, "VCC")
.setAttribute(Keys.PINNUMBER, maxNum) .setAttribute(Keys.PINNUMBER, maxNum)
.setPos(new Vector(0, 0))); .setPos(new Vector(0, 0)));
list.add(new VisualElement(In.DESCRIPTION.getName()) list.add(new VisualElement(In.DESCRIPTION.getName())