Undo 38eb28ebb36212417a639157d554b87c8fe0ee5b to make Editor work again
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIsel2_4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 100.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 5.0
10       },
11       "name": "SA",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "SB",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 65.0
26       },
27       "name": "B1",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 25.0
34       },
35       "name": "A1",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 0.0,
41         "y": 75.0
42       },
43       "name": "B2",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 0.0,
49         "y": 35.0
50       },
51       "name": "A2",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 0.0,
57         "y": 85.0
58       },
59       "name": "B3",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 0.0,
65         "y": 45.0
66       },
67       "name": "A3",
68       "logicWidth": 1
69     },
70     {
71       "location": {
72         "x": 0.0,
73         "y": 95.0
74       },
75       "name": "B4",
76       "logicWidth": 1
77     },
78     {
79       "location": {
80         "x": 0.0,
81         "y": 55.0
82       },
83       "name": "A4",
84       "logicWidth": 1
85     },
86     {
87       "location": {
88         "x": 35.0,
89         "y": 5.0
90       },
91       "name": "Y1",
92       "logicWidth": 1
93     },
94     {
95       "location": {
96         "x": 35.0,
97         "y": 15.0
98       },
99       "name": "Y2",
100       "logicWidth": 1
101     },
102     {
103       "location": {
104         "x": 35.0,
105         "y": 25.0
106       },
107       "name": "Y3",
108       "logicWidth": 1
109     },
110     {
111       "location": {
112         "x": 35.0,
113         "y": 35.0
114       },
115       "name": "Y4",
116       "logicWidth": 1
117     }
118   ],
119   "submodel": {
120     "innerScale": 0.4,
121     "subComps": [
122       {
123         "id": "GUINandGate",
124         "name": "GUINandGate#1",
125         "pos": {
126           "x": 20.0,
127           "y": 52.5
128         },
129         "params": 1
130       },
131       {
132         "id": "GUINandGate",
133         "name": "GUINandGate#0",
134         "pos": {
135           "x": 20.0,
136           "y": 2.5
137         },
138         "params": 1
139       },
140       {
141         "id": "GUINandGate",
142         "name": "GUINandGate#3",
143         "pos": {
144           "x": 20.0,
145           "y": 152.5
146         },
147         "params": 1
148       },
149       {
150         "id": "GUINandGate",
151         "name": "GUINandGate#2",
152         "pos": {
153           "x": 20.0,
154           "y": 102.5
155         },
156         "params": 1
157       },
158       {
159         "id": "GUINandGate",
160         "name": "GUINandGate#11",
161         "pos": {
162           "x": 65.0,
163           "y": 77.5
164         },
165         "params": 1
166       },
167       {
168         "id": "GUINandGate",
169         "name": "GUINandGate#10",
170         "pos": {
171           "x": 65.0,
172           "y": 52.5
173         },
174         "params": 1
175       },
176       {
177         "id": "WireCrossPoint",
178         "name": "WireCrossPoint#1",
179         "pos": {
180           "x": 6.5,
181           "y": 66.5
182         },
183         "params": 1
184       },
185       {
186         "id": "WireCrossPoint",
187         "name": "WireCrossPoint#0",
188         "pos": {
189           "x": 6.5,
190           "y": 16.5
191         },
192         "params": 1
193       },
194       {
195         "id": "WireCrossPoint",
196         "name": "WireCrossPoint#3",
197         "pos": {
198           "x": 4.0,
199           "y": 41.5
200         },
201         "params": 1
202       },
203       {
204         "id": "WireCrossPoint",
205         "name": "WireCrossPoint#2",
206         "pos": {
207           "x": 6.5,
208           "y": 116.5
209         },
210         "params": 1
211       },
212       {
213         "id": "WireCrossPoint",
214         "name": "WireCrossPoint#5",
215         "pos": {
216           "x": 4.0,
217           "y": 141.5
218         },
219         "params": 1
220       },
221       {
222         "id": "WireCrossPoint",
223         "name": "WireCrossPoint#4",
224         "pos": {
225           "x": 4.0,
226           "y": 91.5
227         },
228         "params": 1
229       },
230       {
231         "id": "GUINandGate",
232         "name": "GUINandGate#9",
233         "pos": {
234           "x": 65.0,
235           "y": 27.5
236         },
237         "params": 1
238       },
239       {
240         "id": "GUINandGate",
241         "name": "GUINandGate#8",
242         "pos": {
243           "x": 65.0,
244           "y": 2.5
245         },
246         "params": 1
247       },
248       {
249         "id": "GUINandGate",
250         "name": "GUINandGate#5",
251         "pos": {
252           "x": 20.0,
253           "y": 77.5
254         },
255         "params": 1
256       },
257       {
258         "id": "GUINandGate",
259         "name": "GUINandGate#4",
260         "pos": {
261           "x": 20.0,
262           "y": 27.5
263         },
264         "params": 1
265       },
266       {
267         "id": "GUINandGate",
268         "name": "GUINandGate#7",
269         "pos": {
270           "x": 20.0,
271           "y": 177.5
272         },
273         "params": 1
274       },
275       {
276         "id": "GUINandGate",
277         "name": "GUINandGate#6",
278         "pos": {
279           "x": 20.0,
280           "y": 127.5
281         },
282         "params": 1
283       }
284     ],
285     "innerWires": [
286       {
287         "pin1": {
288           "compName": "WireCrossPoint#2",
289           "pinName": ""
290         },
291         "pin2": {
292           "compName": "GUINandGate#2",
293           "pinName": "B"
294         },
295         "name": "unnamedWire#14"
296       },
297       {
298         "pin1": {
299           "compName": "WireCrossPoint#1",
300           "pinName": ""
301         },
302         "pin2": {
303           "compName": "GUINandGate#1",
304           "pinName": "B"
305         },
306         "name": "unnamedWire#13"
307       },
308       {
309         "pin1": {
310           "compName": "WireCrossPoint#3",
311           "pinName": ""
312         },
313         "pin2": {
314           "compName": "WireCrossPoint#4",
315           "pinName": ""
316         },
317         "name": "unnamedWire#16"
318       },
319       {
320         "pin1": {
321           "compName": "WireCrossPoint#2",
322           "pinName": ""
323         },
324         "pin2": {
325           "compName": "GUINandGate#3",
326           "pinName": "B"
327         },
328         "name": "unnamedWire#15",
329         "path": [
330           {
331             "x": 7.5,
332             "y": 167.5
333           }
334         ]
335       },
336       {
337         "pin1": {
338           "compName": "WireCrossPoint#4",
339           "pinName": ""
340         },
341         "pin2": {
342           "compName": "WireCrossPoint#5",
343           "pinName": ""
344         },
345         "name": "unnamedWire#18"
346       },
347       {
348         "pin1": {
349           "compName": "WireCrossPoint#3",
350           "pinName": ""
351         },
352         "pin2": {
353           "compName": "GUINandGate#4",
354           "pinName": "B"
355         },
356         "name": "unnamedWire#17"
357       },
358       {
359         "pin1": {
360           "compName": "WireCrossPoint#4",
361           "pinName": ""
362         },
363         "pin2": {
364           "compName": "GUINandGate#5",
365           "pinName": "B"
366         },
367         "name": "unnamedWire#19"
368       },
369       {
370         "pin1": {
371           "compName": "WireCrossPoint#5",
372           "pinName": ""
373         },
374         "pin2": {
375           "compName": "GUINandGate#7",
376           "pinName": "B"
377         },
378         "name": "unnamedWire#21",
379         "path": [
380           {
381             "x": 5.0,
382             "y": 192.5
383           }
384         ]
385       },
386       {
387         "pin1": {
388           "compName": "WireCrossPoint#5",
389           "pinName": ""
390         },
391         "pin2": {
392           "compName": "GUINandGate#6",
393           "pinName": "B"
394         },
395         "name": "unnamedWire#20"
396       },
397       {
398         "pin1": {
399           "compName": "GUINandGate#4",
400           "pinName": "Y"
401         },
402         "pin2": {
403           "compName": "GUINandGate#8",
404           "pinName": "B"
405         },
406         "name": "unnamedWire#23",
407         "path": [
408           {
409             "x": 45.0,
410             "y": 37.5
411           },
412           {
413             "x": 45.0,
414             "y": 17.5
415           }
416         ]
417       },
418       {
419         "pin1": {
420           "compName": "GUINandGate#0",
421           "pinName": "Y"
422         },
423         "pin2": {
424           "compName": "GUINandGate#8",
425           "pinName": "A"
426         },
427         "name": "unnamedWire#22",
428         "path": [
429           {
430             "x": 42.5,
431             "y": 12.5
432           },
433           {
434             "x": 42.5,
435             "y": 7.5
436           }
437         ]
438       },
439       {
440         "pin1": {
441           "compName": "GUINandGate#5",
442           "pinName": "Y"
443         },
444         "pin2": {
445           "compName": "GUINandGate#9",
446           "pinName": "B"
447         },
448         "name": "unnamedWire#25",
449         "path": [
450           {
451             "x": 50.0,
452             "y": 87.5
453           },
454           {
455             "x": 50.0,
456             "y": 42.5
457           }
458         ]
459       },
460       {
461         "pin1": {
462           "compName": "GUINandGate#1",
463           "pinName": "Y"
464         },
465         "pin2": {
466           "compName": "GUINandGate#9",
467           "pinName": "A"
468         },
469         "name": "unnamedWire#24",
470         "path": [
471           {
472             "x": 47.5,
473             "y": 62.5
474           },
475           {
476             "x": 47.5,
477             "y": 32.5
478           }
479         ]
480       },
481       {
482         "pin1": {
483           "compName": "GUINandGate#6",
484           "pinName": "Y"
485         },
486         "pin2": {
487           "compName": "GUINandGate#10",
488           "pinName": "B"
489         },
490         "name": "unnamedWire#27",
491         "path": [
492           {
493             "x": 55.0,
494             "y": 137.5
495           },
496           {
497             "x": 55.0,
498             "y": 67.5
499           }
500         ]
501       },
502       {
503         "pin1": {
504           "compName": "GUINandGate#2",
505           "pinName": "Y"
506         },
507         "pin2": {
508           "compName": "GUINandGate#10",
509           "pinName": "A"
510         },
511         "name": "unnamedWire#26",
512         "path": [
513           {
514             "x": 52.5,
515             "y": 112.5
516           },
517           {
518             "x": 52.5,
519             "y": 57.5
520           }
521         ]
522       },
523       {
524         "pin1": {
525           "compName": "GUINandGate#7",
526           "pinName": "Y"
527         },
528         "pin2": {
529           "compName": "GUINandGate#11",
530           "pinName": "B"
531         },
532         "name": "unnamedWire#29",
533         "path": [
534           {
535             "x": 60.0,
536             "y": 187.5
537           },
538           {
539             "x": 60.0,
540             "y": 92.5
541           }
542         ]
543       },
544       {
545         "pin1": {
546           "compName": "GUINandGate#3",
547           "pinName": "Y"
548         },
549         "pin2": {
550           "compName": "GUINandGate#11",
551           "pinName": "A"
552         },
553         "name": "unnamedWire#28",
554         "path": [
555           {
556             "x": 57.5,
557             "y": 162.5
558           },
559           {
560             "x": 57.5,
561             "y": 82.5
562           }
563         ]
564       },
565       {
566         "pin1": {
567           "compName": "_submodelinterface",
568           "pinName": "SB"
569         },
570         "pin2": {
571           "compName": "WireCrossPoint#3",
572           "pinName": ""
573         },
574         "name": "unnamedWire#9"
575       },
576       {
577         "pin1": {
578           "compName": "_submodelinterface",
579           "pinName": "SA"
580         },
581         "pin2": {
582           "compName": "WireCrossPoint#0",
583           "pinName": ""
584         },
585         "name": "unnamedWire#8"
586       },
587       {
588         "pin1": {
589           "compName": "_submodelinterface",
590           "pinName": "B4"
591         },
592         "pin2": {
593           "compName": "GUINandGate#7",
594           "pinName": "A"
595         },
596         "name": "unnamedWire#7",
597         "path": [
598           {
599             "x": 10.0,
600             "y": 237.5
601           },
602           {
603             "x": 10.0,
604             "y": 182.5
605           }
606         ]
607       },
608       {
609         "pin1": {
610           "compName": "_submodelinterface",
611           "pinName": "B3"
612         },
613         "pin2": {
614           "compName": "GUINandGate#6",
615           "pinName": "A"
616         },
617         "name": "unnamedWire#6",
618         "path": [
619           {
620             "x": 15.0,
621             "y": 212.5
622           },
623           {
624             "x": 15.0,
625             "y": 132.5
626           }
627         ]
628       },
629       {
630         "pin1": {
631           "compName": "_submodelinterface",
632           "pinName": "A2"
633         },
634         "pin2": {
635           "compName": "GUINandGate#1",
636           "pinName": "A"
637         },
638         "name": "unnamedWire#1",
639         "path": [
640           {
641             "x": 17.5,
642             "y": 87.5
643           },
644           {
645             "x": 17.5,
646             "y": 57.5
647           }
648         ]
649       },
650       {
651         "pin1": {
652           "compName": "_submodelinterface",
653           "pinName": "A1"
654         },
655         "pin2": {
656           "compName": "GUINandGate#0",
657           "pinName": "A"
658         },
659         "name": "unnamedWire#0",
660         "path": [
661           {
662             "x": 15.0,
663             "y": 62.5
664           },
665           {
666             "x": 15.0,
667             "y": 7.5
668           }
669         ]
670       },
671       {
672         "pin1": {
673           "compName": "GUINandGate#8",
674           "pinName": "Y"
675         },
676         "pin2": {
677           "compName": "_submodelinterface",
678           "pinName": "Y1"
679         },
680         "name": "unnamedWire#30",
681         "path": []
682       },
683       {
684         "pin1": {
685           "compName": "_submodelinterface",
686           "pinName": "B2"
687         },
688         "pin2": {
689           "compName": "GUINandGate#5",
690           "pinName": "A"
691         },
692         "name": "unnamedWire#5",
693         "path": [
694           {
695             "x": 12.5,
696             "y": 187.5
697           },
698           {
699             "x": 12.5,
700             "y": 82.5
701           }
702         ]
703       },
704       {
705         "pin1": {
706           "compName": "WireCrossPoint#0",
707           "pinName": ""
708         },
709         "pin2": {
710           "compName": "WireCrossPoint#1",
711           "pinName": ""
712         },
713         "name": "unnamedWire#10"
714       },
715       {
716         "pin1": {
717           "compName": "GUINandGate#10",
718           "pinName": "Y"
719         },
720         "pin2": {
721           "compName": "_submodelinterface",
722           "pinName": "Y3"
723         },
724         "name": "unnamedWire#32",
725         "path": []
726       },
727       {
728         "pin1": {
729           "compName": "_submodelinterface",
730           "pinName": "B1"
731         },
732         "pin2": {
733           "compName": "GUINandGate#4",
734           "pinName": "A"
735         },
736         "name": "unnamedWire#4",
737         "path": [
738           {
739             "x": 10.0,
740             "y": 162.5
741           },
742           {
743             "x": 10.0,
744             "y": 32.5
745           }
746         ]
747       },
748       {
749         "pin1": {
750           "compName": "GUINandGate#9",
751           "pinName": "Y"
752         },
753         "pin2": {
754           "compName": "_submodelinterface",
755           "pinName": "Y2"
756         },
757         "name": "unnamedWire#31",
758         "path": []
759       },
760       {
761         "pin1": {
762           "compName": "_submodelinterface",
763           "pinName": "A4"
764         },
765         "pin2": {
766           "compName": "GUINandGate#3",
767           "pinName": "A"
768         },
769         "name": "unnamedWire#3",
770         "path": [
771           {
772             "x": 17.5,
773             "y": 137.5
774           },
775           {
776             "x": 17.5,
777             "y": 157.5
778           }
779         ]
780       },
781       {
782         "pin1": {
783           "compName": "WireCrossPoint#1",
784           "pinName": ""
785         },
786         "pin2": {
787           "compName": "WireCrossPoint#2",
788           "pinName": ""
789         },
790         "name": "unnamedWire#12"
791       },
792       {
793         "pin1": {
794           "compName": "_submodelinterface",
795           "pinName": "A3"
796         },
797         "pin2": {
798           "compName": "GUINandGate#2",
799           "pinName": "A"
800         },
801         "name": "unnamedWire#2",
802         "path": [
803           {
804             "x": 17.5,
805             "y": 112.5
806           },
807           {
808             "x": 17.5,
809             "y": 107.5
810           }
811         ]
812       },
813       {
814         "pin1": {
815           "compName": "WireCrossPoint#0",
816           "pinName": ""
817         },
818         "pin2": {
819           "compName": "GUINandGate#0",
820           "pinName": "B"
821         },
822         "name": "unnamedWire#11"
823       },
824       {
825         "pin1": {
826           "compName": "GUINandGate#11",
827           "pinName": "Y"
828         },
829         "pin2": {
830           "compName": "_submodelinterface",
831           "pinName": "Y4"
832         },
833         "name": "unnamedWire#33",
834         "path": []
835       }
836     ]
837   },
838   "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
839   "symbolRendererParams": {
840     "centerText": "GUIsel2_4",
841     "centerTextHeight": 5.0,
842     "horizontalComponentCenter": 17.5,
843     "pinLabelHeight": 3.5,
844     "pinLabelMargin": 0.5
845   },
846   "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer"
847 }