Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUInand3.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 30.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 15.0
18                         },
19                         "name": "B",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 0.0,
25                                 "y": 25.0
26                         },
27                         "name": "C",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 35.0,
33                                 "y": 5.0
34                         },
35                         "name": "Y",
36                         "logicWidth": 1
37                 }
38         ],
39         "submodel": {
40                 "innerScale": 0.4,
41                 "subComps": [
42                         {
43                                 "pos": {
44                                         "x": 10.0,
45                                         "y": 15.0
46                                 },
47                                 "id": "GUINandGate",
48                                 "params": 1
49                         },
50                         {
51                                 "pos": {
52                                         "x": 35.0,
53                                         "y": 15.0
54                                 },
55                                 "id": "GUINandGate",
56                                 "params": 1
57                         },
58                         {
59                                 "pos": {
60                                         "x": 62.5,
61                                         "y": 2.5
62                                 },
63                                 "id": "GUINandGate",
64                                 "params": 1
65                         },
66                         {
67                                 "pos": {
68                                         "x": 31.5,
69                                         "y": 24.0
70                                 },
71                                 "id": "WireCrossPoint",
72                                 "params": 1
73                         }
74                 ],
75                 "innerWires": [
76                         {
77                                 "pin1": {
78                                         "compId": 0,
79                                         "pinName": "A"
80                                 },
81                                 "pin2": {
82                                         "compId": 1,
83                                         "pinName": "A"
84                                 }
85                         },
86                         {
87                                 "pin1": {
88                                         "compId": 0,
89                                         "pinName": "B"
90                                 },
91                                 "pin2": {
92                                         "compId": 1,
93                                         "pinName": "B"
94                                 }
95                         },
96                         {
97                                 "pin1": {
98                                         "compId": 1,
99                                         "pinName": "Y"
100                                 },
101                                 "pin2": {
102                                         "compId": 4,
103                                         "pinName": ""
104                                 },
105                                 "path": []
106                         },
107                         {
108                                 "pin1": {
109                                         "compId": 4,
110                                         "pinName": ""
111                                 },
112                                 "pin2": {
113                                         "compId": 2,
114                                         "pinName": "A"
115                                 },
116                                 "path": [
117                                         {
118                                                 "x": 32.5,
119                                                 "y": 20.0
120                                         }
121                                 ]
122                         },
123                         {
124                                 "pin1": {
125                                         "compId": 4,
126                                         "pinName": ""
127                                 },
128                                 "pin2": {
129                                         "compId": 2,
130                                         "pinName": "B"
131                                 },
132                                 "path": [
133                                         {
134                                                 "x": 32.5,
135                                                 "y": 30.0
136                                         }
137                                 ]
138                         },
139                         {
140                                 "pin1": {
141                                         "compId": 2,
142                                         "pinName": "Y"
143                                 },
144                                 "pin2": {
145                                         "compId": 3,
146                                         "pinName": "A"
147                                 },
148                                 "path": [
149                                         {
150                                                 "x": 57.5,
151                                                 "y": 25.0
152                                         },
153                                         {
154                                                 "x": 57.5,
155                                                 "y": 7.5
156                                         }
157                                 ]
158                         },
159                         {
160                                 "pin1": {
161                                         "compId": 0,
162                                         "pinName": "C"
163                                 },
164                                 "pin2": {
165                                         "compId": 3,
166                                         "pinName": "B"
167                                 },
168                                 "path": [
169                                         {
170                                                 "x": 60.0,
171                                                 "y": 62.5
172                                         },
173                                         {
174                                                 "x": 60.0,
175                                                 "y": 17.5
176                                         }
177                                 ]
178                         },
179                         {
180                                 "pin1": {
181                                         "compId": 3,
182                                         "pinName": "Y"
183                                 },
184                                 "pin2": {
185                                         "compId": 0,
186                                         "pinName": "Y"
187                                 },
188                                 "path": []
189                         }
190                 ]
191         },
192         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
193         "symbolRendererParams": {
194                 "centerText": "GUInand3",
195                 "horizontalComponentCenter": 17.5,
196                 "centerTextHeight": 5.0,
197                 "pinLabelHeight": 3.5,
198                 "pinLabelMargin": 0.5
199         }
200 }