Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIand41.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 50.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A1",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 15.0
18                         },
19                         "name": "A2",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 0.0,
25                                 "y": 25.0
26                         },
27                         "name": "A3",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 0.0,
33                                 "y": 45.0
34                         },
35                         "name": "B",
36                         "logicWidth": 1
37                 },
38                 {
39                         "location": {
40                                 "x": 0.0,
41                                 "y": 35.0
42                         },
43                         "name": "A4",
44                         "logicWidth": 1
45                 },
46                 {
47                         "location": {
48                                 "x": 35.0,
49                                 "y": 5.0
50                         },
51                         "name": "Y1",
52                         "logicWidth": 1
53                 },
54                 {
55                         "location": {
56                                 "x": 35.0,
57                                 "y": 15.0
58                         },
59                         "name": "Y2",
60                         "logicWidth": 1
61                 },
62                 {
63                         "location": {
64                                 "x": 35.0,
65                                 "y": 25.0
66                         },
67                         "name": "Y3",
68                         "logicWidth": 1
69                 },
70                 {
71                         "location": {
72                                 "x": 35.0,
73                                 "y": 35.0
74                         },
75                         "name": "Y4",
76                         "logicWidth": 1
77                 }
78         ],
79         "submodel": {
80                 "innerScale": 0.4,
81                 "subComps": [
82                         {
83                                 "pos": {
84                                         "x": 30.0,
85                                         "y": 7.5
86                                 },
87                                 "id": "GUIand"
88                         },
89                         {
90                                 "pos": {
91                                         "x": 30.0,
92                                         "y": 32.5
93                                 },
94                                 "id": "GUIand"
95                         },
96                         {
97                                 "pos": {
98                                         "x": 30.0,
99                                         "y": 57.5
100                                 },
101                                 "id": "GUIand"
102                         },
103                         {
104                                 "pos": {
105                                         "x": 30.0,
106                                         "y": 82.5
107                                 },
108                                 "id": "GUIand"
109                         },
110                         {
111                                 "pos": {
112                                         "x": 24.0,
113                                         "y": 46.5
114                                 },
115                                 "id": "WireCrossPoint",
116                                 "params": 1
117                         },
118                         {
119                                 "pos": {
120                                         "x": 24.0,
121                                         "y": 71.5
122                                 },
123                                 "id": "WireCrossPoint",
124                                 "params": 1
125                         },
126                         {
127                                 "pos": {
128                                         "x": 24.0,
129                                         "y": 96.5
130                                 },
131                                 "id": "WireCrossPoint",
132                                 "params": 1
133                         }
134                 ],
135                 "innerWires": [
136                         {
137                                 "pin1": {
138                                         "compId": 0,
139                                         "pinName": "A1"
140                                 },
141                                 "pin2": {
142                                         "compId": 1,
143                                         "pinName": "A"
144                                 },
145                                 "path": []
146                         },
147                         {
148                                 "pin1": {
149                                         "compId": 0,
150                                         "pinName": "A2"
151                                 },
152                                 "pin2": {
153                                         "compId": 2,
154                                         "pinName": "A"
155                                 },
156                                 "path": []
157                         },
158                         {
159                                 "pin1": {
160                                         "compId": 0,
161                                         "pinName": "A3"
162                                 },
163                                 "pin2": {
164                                         "compId": 3,
165                                         "pinName": "A"
166                                 },
167                                 "path": []
168                         },
169                         {
170                                 "pin1": {
171                                         "compId": 0,
172                                         "pinName": "A4"
173                                 },
174                                 "pin2": {
175                                         "compId": 4,
176                                         "pinName": "A"
177                                 },
178                                 "path": []
179                         },
180                         {
181                                 "pin1": {
182                                         "compId": 0,
183                                         "pinName": "B"
184                                 },
185                                 "pin2": {
186                                         "compId": 7,
187                                         "pinName": ""
188                                 },
189                                 "path": [
190                                         {
191                                                 "x": 25.0,
192                                                 "y": 112.5
193                                         }
194                                 ]
195                         },
196                         {
197                                 "pin1": {
198                                         "compId": 7,
199                                         "pinName": ""
200                                 },
201                                 "pin2": {
202                                         "compId": 4,
203                                         "pinName": "B"
204                                 },
205                                 "path": []
206                         },
207                         {
208                                 "pin1": {
209                                         "compId": 7,
210                                         "pinName": ""
211                                 },
212                                 "pin2": {
213                                         "compId": 6,
214                                         "pinName": ""
215                                 },
216                                 "path": []
217                         },
218                         {
219                                 "pin1": {
220                                         "compId": 6,
221                                         "pinName": ""
222                                 },
223                                 "pin2": {
224                                         "compId": 3,
225                                         "pinName": "B"
226                                 },
227                                 "path": []
228                         },
229                         {
230                                 "pin1": {
231                                         "compId": 6,
232                                         "pinName": ""
233                                 },
234                                 "pin2": {
235                                         "compId": 5,
236                                         "pinName": ""
237                                 },
238                                 "path": []
239                         },
240                         {
241                                 "pin1": {
242                                         "compId": 5,
243                                         "pinName": ""
244                                 },
245                                 "pin2": {
246                                         "compId": 2,
247                                         "pinName": "B"
248                                 },
249                                 "path": []
250                         },
251                         {
252                                 "pin1": {
253                                         "compId": 5,
254                                         "pinName": ""
255                                 },
256                                 "pin2": {
257                                         "compId": 1,
258                                         "pinName": "B"
259                                 },
260                                 "path": [
261                                         {
262                                                 "x": 25.0,
263                                                 "y": 22.5
264                                         }
265                                 ]
266                         },
267                         {
268                                 "pin1": {
269                                         "compId": 1,
270                                         "pinName": "Y"
271                                 },
272                                 "pin2": {
273                                         "compId": 0,
274                                         "pinName": "Y1"
275                                 },
276                                 "path": []
277                         },
278                         {
279                                 "pin1": {
280                                         "compId": 2,
281                                         "pinName": "Y"
282                                 },
283                                 "pin2": {
284                                         "compId": 0,
285                                         "pinName": "Y2"
286                                 },
287                                 "path": []
288                         },
289                         {
290                                 "pin1": {
291                                         "compId": 3,
292                                         "pinName": "Y"
293                                 },
294                                 "pin2": {
295                                         "compId": 0,
296                                         "pinName": "Y3"
297                                 },
298                                 "path": []
299                         },
300                         {
301                                 "pin1": {
302                                         "compId": 4,
303                                         "pinName": "Y"
304                                 },
305                                 "pin2": {
306                                         "compId": 0,
307                                         "pinName": "Y4"
308                                 },
309                                 "path": []
310                         }
311                 ]
312         },
313         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
314         "symbolRendererParams": {
315                 "centerText": "GUIand41",
316                 "horizontalComponentCenter": 17.5,
317                 "centerTextHeight": 5.0,
318                 "pinLabelHeight": 3.5,
319                 "pinLabelMargin": 0.5
320         }
321 }