Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUInot4.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 40.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": 35.0
34                         },
35                         "name": "A4",
36                         "logicWidth": 1
37                 },
38                 {
39                         "location": {
40                                 "x": 35.0,
41                                 "y": 5.0
42                         },
43                         "name": "Y1",
44                         "logicWidth": 1
45                 },
46                 {
47                         "location": {
48                                 "x": 35.0,
49                                 "y": 15.0
50                         },
51                         "name": "Y2",
52                         "logicWidth": 1
53                 },
54                 {
55                         "location": {
56                                 "x": 35.0,
57                                 "y": 25.0
58                         },
59                         "name": "Y3",
60                         "logicWidth": 1
61                 },
62                 {
63                         "location": {
64                                 "x": 35.0,
65                                 "y": 35.0
66                         },
67                         "name": "Y4",
68                         "logicWidth": 1
69                 }
70         ],
71         "submodel": {
72                 "innerScale": 0.4,
73                 "subComps": [
74                         {
75                                 "pos": {
76                                         "x": 30.0,
77                                         "y": 2.5
78                                 },
79                                 "id": "GUINandGate",
80                                 "params": 1
81                         },
82                         {
83                                 "pos": {
84                                         "x": 30.0,
85                                         "y": 27.5
86                                 },
87                                 "id": "GUINandGate",
88                                 "params": 1
89                         },
90                         {
91                                 "pos": {
92                                         "x": 30.0,
93                                         "y": 52.5
94                                 },
95                                 "id": "GUINandGate",
96                                 "params": 1
97                         },
98                         {
99                                 "pos": {
100                                         "x": 30.0,
101                                         "y": 77.5
102                                 },
103                                 "id": "GUINandGate",
104                                 "params": 1
105                         },
106                         {
107                                 "pos": {
108                                         "x": 14.0,
109                                         "y": 11.5
110                                 },
111                                 "id": "WireCrossPoint",
112                                 "params": 1
113                         },
114                         {
115                                 "pos": {
116                                         "x": 14.0,
117                                         "y": 36.5
118                                 },
119                                 "id": "WireCrossPoint",
120                                 "params": 1
121                         },
122                         {
123                                 "pos": {
124                                         "x": 14.0,
125                                         "y": 61.5
126                                 },
127                                 "id": "WireCrossPoint",
128                                 "params": 1
129                         },
130                         {
131                                 "pos": {
132                                         "x": 14.0,
133                                         "y": 86.5
134                                 },
135                                 "id": "WireCrossPoint",
136                                 "params": 1
137                         }
138                 ],
139                 "innerWires": [
140                         {
141                                 "pin1": {
142                                         "compId": 0,
143                                         "pinName": "A1"
144                                 },
145                                 "pin2": {
146                                         "compId": 5,
147                                         "pinName": ""
148                                 },
149                                 "path": []
150                         },
151                         {
152                                 "pin1": {
153                                         "compId": 0,
154                                         "pinName": "A2"
155                                 },
156                                 "pin2": {
157                                         "compId": 6,
158                                         "pinName": ""
159                                 },
160                                 "path": []
161                         },
162                         {
163                                 "pin1": {
164                                         "compId": 0,
165                                         "pinName": "A3"
166                                 },
167                                 "pin2": {
168                                         "compId": 7,
169                                         "pinName": ""
170                                 },
171                                 "path": []
172                         },
173                         {
174                                 "pin1": {
175                                         "compId": 0,
176                                         "pinName": "A4"
177                                 },
178                                 "pin2": {
179                                         "compId": 8,
180                                         "pinName": ""
181                                 },
182                                 "path": []
183                         },
184                         {
185                                 "pin1": {
186                                         "compId": 5,
187                                         "pinName": ""
188                                 },
189                                 "pin2": {
190                                         "compId": 1,
191                                         "pinName": "A"
192                                 },
193                                 "path": [
194                                         {
195                                                 "x": 15.0,
196                                                 "y": 7.5
197                                         }
198                                 ]
199                         },
200                         {
201                                 "pin1": {
202                                         "compId": 6,
203                                         "pinName": ""
204                                 },
205                                 "pin2": {
206                                         "compId": 2,
207                                         "pinName": "A"
208                                 },
209                                 "path": [
210                                         {
211                                                 "x": 15.0,
212                                                 "y": 32.5
213                                         }
214                                 ]
215                         },
216                         {
217                                 "pin1": {
218                                         "compId": 7,
219                                         "pinName": ""
220                                 },
221                                 "pin2": {
222                                         "compId": 3,
223                                         "pinName": "A"
224                                 },
225                                 "path": [
226                                         {
227                                                 "x": 15.0,
228                                                 "y": 57.5
229                                         }
230                                 ]
231                         },
232                         {
233                                 "pin1": {
234                                         "compId": 8,
235                                         "pinName": ""
236                                 },
237                                 "pin2": {
238                                         "compId": 4,
239                                         "pinName": "A"
240                                 },
241                                 "path": [
242                                         {
243                                                 "x": 15.0,
244                                                 "y": 82.5
245                                         }
246                                 ]
247                         },
248                         {
249                                 "pin1": {
250                                         "compId": 5,
251                                         "pinName": ""
252                                 },
253                                 "pin2": {
254                                         "compId": 1,
255                                         "pinName": "B"
256                                 },
257                                 "path": [
258                                         {
259                                                 "x": 15.0,
260                                                 "y": 17.5
261                                         }
262                                 ]
263                         },
264                         {
265                                 "pin1": {
266                                         "compId": 6,
267                                         "pinName": ""
268                                 },
269                                 "pin2": {
270                                         "compId": 2,
271                                         "pinName": "B"
272                                 },
273                                 "path": [
274                                         {
275                                                 "x": 15.0,
276                                                 "y": 42.5
277                                         }
278                                 ]
279                         },
280                         {
281                                 "pin1": {
282                                         "compId": 7,
283                                         "pinName": ""
284                                 },
285                                 "pin2": {
286                                         "compId": 3,
287                                         "pinName": "B"
288                                 },
289                                 "path": [
290                                         {
291                                                 "x": 15.0,
292                                                 "y": 67.5
293                                         }
294                                 ]
295                         },
296                         {
297                                 "pin1": {
298                                         "compId": 8,
299                                         "pinName": ""
300                                 },
301                                 "pin2": {
302                                         "compId": 4,
303                                         "pinName": "B"
304                                 },
305                                 "path": [
306                                         {
307                                                 "x": 15.0,
308                                                 "y": 92.5
309                                         }
310                                 ]
311                         },
312                         {
313                                 "pin1": {
314                                         "compId": 1,
315                                         "pinName": "Y"
316                                 },
317                                 "pin2": {
318                                         "compId": 0,
319                                         "pinName": "Y1"
320                                 },
321                                 "path": []
322                         },
323                         {
324                                 "pin1": {
325                                         "compId": 2,
326                                         "pinName": "Y"
327                                 },
328                                 "pin2": {
329                                         "compId": 0,
330                                         "pinName": "Y2"
331                                 },
332                                 "path": []
333                         },
334                         {
335                                 "pin1": {
336                                         "compId": 3,
337                                         "pinName": "Y"
338                                 },
339                                 "pin2": {
340                                         "compId": 0,
341                                         "pinName": "Y3"
342                                 },
343                                 "path": []
344                         },
345                         {
346                                 "pin1": {
347                                         "compId": 4,
348                                         "pinName": "Y"
349                                 },
350                                 "pin2": {
351                                         "compId": 0,
352                                         "pinName": "Y4"
353                                 },
354                                 "path": []
355                         }
356                 ]
357         },
358         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
359         "symbolRendererParams": {
360                 "centerText": "GUInot4",
361                 "horizontalComponentCenter": 17.5,
362                 "centerTextHeight": 5.0,
363                 "pinLabelHeight": 3.5,
364                 "pinLabelMargin": 0.5
365         }
366 }