GUIComponents now have names
[Mograsim.git] / net.mograsim.logic.ui.am2900 / components / GUIor4.json
index 54933c4..d4bcd57 100644 (file)
@@ -50,176 +50,191 @@ mograsim version: 0.1.3
       {
         "pos": {
           "x": 20.0,
-          "y": 15.0
+          "y": 65.0
         },
         "id": "GUINandGate",
+        "name": "GUINandGate#1",
         "params": 1
       },
       {
         "pos": {
           "x": 20.0,
-          "y": 65.0
+          "y": 15.0
         },
         "id": "GUINandGate",
+        "name": "GUINandGate#0",
         "params": 1
       },
       {
         "pos": {
           "x": 20.0,
-          "y": 115.0
+          "y": 165.0
         },
         "id": "GUINandGate",
+        "name": "GUINandGate#3",
         "params": 1
       },
       {
         "pos": {
           "x": 20.0,
-          "y": 165.0
+          "y": 115.0
         },
         "id": "GUINandGate",
+        "name": "GUINandGate#2",
         "params": 1
       },
       {
         "pos": {
-          "x": 50.0,
-          "y": 40.0
+          "x": 14.0,
+          "y": 74.0
         },
-        "id": "GUINandGate",
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#1",
         "params": 1
       },
       {
         "pos": {
-          "x": 50.0,
-          "y": 140.0
+          "x": 14.0,
+          "y": 24.0
         },
-        "id": "GUINandGate",
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#0",
         "params": 1
       },
       {
         "pos": {
-          "x": 110.0,
-          "y": 40.0
+          "x": 14.0,
+          "y": 174.0
         },
-        "id": "GUINandGate",
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#3",
         "params": 1
       },
       {
         "pos": {
-          "x": 110.0,
-          "y": 140.0
+          "x": 14.0,
+          "y": 124.0
         },
-        "id": "GUINandGate",
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#2",
         "params": 1
       },
       {
         "pos": {
-          "x": 140.0,
-          "y": 90.0
+          "x": 104.0,
+          "y": 149.0
         },
-        "id": "GUINandGate",
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#5",
         "params": 1
       },
       {
         "pos": {
-          "x": 14.0,
-          "y": 24.0
+          "x": 104.0,
+          "y": 49.0
         },
         "id": "WireCrossPoint",
+        "name": "WireCrossPoint#4",
         "params": 1
       },
       {
         "pos": {
-          "x": 14.0,
-          "y": 74.0
+          "x": 140.0,
+          "y": 90.0
         },
-        "id": "WireCrossPoint",
+        "id": "GUINandGate",
+        "name": "GUINandGate#8",
         "params": 1
       },
       {
         "pos": {
-          "x": 14.0,
-          "y": 124.0
+          "x": 50.0,
+          "y": 140.0
         },
-        "id": "WireCrossPoint",
+        "id": "GUINandGate",
+        "name": "GUINandGate#5",
         "params": 1
       },
       {
         "pos": {
-          "x": 14.0,
-          "y": 174.0
+          "x": 50.0,
+          "y": 40.0
         },
-        "id": "WireCrossPoint",
+        "id": "GUINandGate",
+        "name": "GUINandGate#4",
         "params": 1
       },
       {
         "pos": {
-          "x": 104.0,
-          "y": 49.0
+          "x": 110.0,
+          "y": 140.0
         },
-        "id": "WireCrossPoint",
+        "id": "GUINandGate",
+        "name": "GUINandGate#7",
         "params": 1
       },
       {
         "pos": {
-          "x": 104.0,
-          "y": 149.0
+          "x": 110.0,
+          "y": 40.0
         },
-        "id": "WireCrossPoint",
+        "id": "GUINandGate",
+        "name": "GUINandGate#6",
         "params": 1
       }
     ],
     "innerWires": [
       {
         "pin1": {
-          "compId": 0,
+          "compName": "_submodelinterface",
           "pinName": "A1"
         },
         "pin2": {
-          "compId": 10,
+          "compName": "WireCrossPoint#0",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 0,
+          "compName": "_submodelinterface",
           "pinName": "A2"
         },
         "pin2": {
-          "compId": 11,
+          "compName": "WireCrossPoint#1",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 0,
+          "compName": "_submodelinterface",
           "pinName": "A3"
         },
         "pin2": {
-          "compId": 12,
+          "compName": "WireCrossPoint#2",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 0,
+          "compName": "_submodelinterface",
           "pinName": "A4"
         },
         "pin2": {
-          "compId": 13,
+          "compName": "WireCrossPoint#3",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 10,
+          "compName": "WireCrossPoint#0",
           "pinName": ""
         },
         "pin2": {
-          "compId": 1,
+          "compName": "GUINandGate#0",
           "pinName": "A"
         },
         "path": [
@@ -231,11 +246,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 11,
+          "compName": "WireCrossPoint#1",
           "pinName": ""
         },
         "pin2": {
-          "compId": 2,
+          "compName": "GUINandGate#1",
           "pinName": "A"
         },
         "path": [
@@ -247,11 +262,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 12,
+          "compName": "WireCrossPoint#2",
           "pinName": ""
         },
         "pin2": {
-          "compId": 3,
+          "compName": "GUINandGate#2",
           "pinName": "A"
         },
         "path": [
@@ -263,11 +278,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 13,
+          "compName": "WireCrossPoint#3",
           "pinName": ""
         },
         "pin2": {
-          "compId": 4,
+          "compName": "GUINandGate#3",
           "pinName": "A"
         },
         "path": [
@@ -279,11 +294,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 10,
+          "compName": "WireCrossPoint#0",
           "pinName": ""
         },
         "pin2": {
-          "compId": 1,
+          "compName": "GUINandGate#0",
           "pinName": "B"
         },
         "path": [
@@ -295,11 +310,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 11,
+          "compName": "WireCrossPoint#1",
           "pinName": ""
         },
         "pin2": {
-          "compId": 2,
+          "compName": "GUINandGate#1",
           "pinName": "B"
         },
         "path": [
@@ -311,11 +326,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 12,
+          "compName": "WireCrossPoint#2",
           "pinName": ""
         },
         "pin2": {
-          "compId": 3,
+          "compName": "GUINandGate#2",
           "pinName": "B"
         },
         "path": [
@@ -327,11 +342,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 13,
+          "compName": "WireCrossPoint#3",
           "pinName": ""
         },
         "pin2": {
-          "compId": 4,
+          "compName": "GUINandGate#3",
           "pinName": "B"
         },
         "path": [
@@ -343,73 +358,73 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 1,
+          "compName": "GUINandGate#0",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 5,
+          "compName": "GUINandGate#4",
           "pinName": "A"
         }
       },
       {
         "pin1": {
-          "compId": 2,
+          "compName": "GUINandGate#1",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 5,
+          "compName": "GUINandGate#4",
           "pinName": "B"
         }
       },
       {
         "pin1": {
-          "compId": 3,
+          "compName": "GUINandGate#2",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 6,
+          "compName": "GUINandGate#5",
           "pinName": "A"
         }
       },
       {
         "pin1": {
-          "compId": 4,
+          "compName": "GUINandGate#3",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 6,
+          "compName": "GUINandGate#5",
           "pinName": "B"
         }
       },
       {
         "pin1": {
-          "compId": 5,
+          "compName": "GUINandGate#4",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 14,
+          "compName": "WireCrossPoint#4",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 6,
+          "compName": "GUINandGate#5",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 15,
+          "compName": "WireCrossPoint#5",
           "pinName": ""
         },
         "path": []
       },
       {
         "pin1": {
-          "compId": 14,
+          "compName": "WireCrossPoint#4",
           "pinName": ""
         },
         "pin2": {
-          "compId": 7,
+          "compName": "GUINandGate#6",
           "pinName": "A"
         },
         "path": [
@@ -421,11 +436,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 14,
+          "compName": "WireCrossPoint#4",
           "pinName": ""
         },
         "pin2": {
-          "compId": 7,
+          "compName": "GUINandGate#6",
           "pinName": "B"
         },
         "path": [
@@ -437,11 +452,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 15,
+          "compName": "WireCrossPoint#5",
           "pinName": ""
         },
         "pin2": {
-          "compId": 8,
+          "compName": "GUINandGate#7",
           "pinName": "A"
         },
         "path": [
@@ -453,11 +468,11 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 15,
+          "compName": "WireCrossPoint#5",
           "pinName": ""
         },
         "pin2": {
-          "compId": 8,
+          "compName": "GUINandGate#7",
           "pinName": "B"
         },
         "path": [
@@ -469,31 +484,31 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compId": 7,
+          "compName": "GUINandGate#6",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 9,
+          "compName": "GUINandGate#8",
           "pinName": "A"
         }
       },
       {
         "pin1": {
-          "compId": 8,
+          "compName": "GUINandGate#7",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 9,
+          "compName": "GUINandGate#8",
           "pinName": "B"
         }
       },
       {
         "pin1": {
-          "compId": 9,
+          "compName": "GUINandGate#8",
           "pinName": "Y"
         },
         "pin2": {
-          "compId": 0,
+          "compName": "_submodelinterface",
           "pinName": "Y"
         }
       }