-
Notifications
You must be signed in to change notification settings - Fork 2
/
defaultComponentCollection.abd
19230 lines (17869 loc) · 751 KB
/
defaultComponentCollection.abd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?><componentTypes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <componentType id="asterics.AnalogOut"
canonical_name="eu.asterics.component.actuator.analogout.AnalogOutInstance">
<type subtype="Generic Control Output">actuator</type>
<singleton>false</singleton>
<description>Digital-to-Analog (DAC-CIM) actuator interface, enables analog control outputs</description>
<ports>
<inputPort id="out1">
<description>desired value for DAC channel 1</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<inputPort id="out2">
<description>desired value for DAC channel 2</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<inputPort id="out3">
<description>desired value for DAC channel 3</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<inputPort id="out4">
<description>desired value for DAC channel 4</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
</ports>
</componentType>
<componentType id="asterics.AndroidPhoneControl"
canonical_name="eu.asterics.component.actuator.androidphonecontrol.AndroidPhoneControlInstance">
<type subtype="Phone Interface">actuator</type>
<singleton>true</singleton>
<description>Control Android phone with AsTeRICS application running</description>
<ports>
<inputPort id="PhoneID">
<description>Phone number for the call</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<inputPort id="SMSContent">
<description>SMS for send</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<inputPort id="action">
<description>Command port for action strings</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<outputPort id="RemotePhoneID">
<description>The number of the remote phone.</description>
<dataType>string</dataType>
</outputPort>
<outputPort id="ReceivedSMS">
<description>Received SMS</description>
<dataType>string</dataType>
</outputPort>
<outputPort id="ErrorNumber">
<description>Number of the error</description>
<dataType>integer</dataType>
</outputPort>
</ports>
<events>
<eventListenerPort id="SendSMS">
<description>Send SMS</description>
</eventListenerPort>
<eventListenerPort id="MakePhoneCall">
<description>Make phone call</description>
</eventListenerPort>
<eventListenerPort id="AcceptPhoneCall">
<description>Accept phone call</description>
</eventListenerPort>
<eventListenerPort id="DropPhoneCall">
<description>Drop phone call</description>
</eventListenerPort>
<eventTriggererPort id="idleState">
<description>Phone is in the idle state</description>
</eventTriggererPort>
<eventTriggererPort id="ringState">
<description>Ring state</description>
</eventTriggererPort>
<eventTriggererPort id="connectedState">
<description>Phone is connected</description>
</eventTriggererPort>
<eventTriggererPort id="newSMS">
<description>There is a new message</description>
</eventTriggererPort>
<eventTriggererPort id="error">
<description>Error event</description>
</eventTriggererPort>
</events>
<properties>
<property name="connectionType"
type="integer"
value="0"
combobox="server//client"
description="Type of the connection for this plugin: server or client"/>
<property name="IP"
type="string"
value="localhost"
description="IP of the remote server"/>
<property name="port"
type="integer"
value="21111"
description="Port used in IP/TCP connection"/>
<property name="defaultPhoneID"
type="string"
value=""
description="Default phone number"/>
</properties>
</componentType>
<componentType id="asterics.AngularCursorControl"
canonical_name="eu.asterics.component.actuator.angularcursorcontrol.AngularCursorControlInstance">
<type subtype="Input Device Emulation">actuator</type>
<singleton>true</singleton>
<description>cursor position control via angular direction</description>
<ports>
<inputPort id="angle">
<description>angle for movement direction</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
<inputPort id="move">
<description>cursor movement</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
<outputPort id="outX">
<description>the current x-position of the angular arrow (use it e.g. to move the mouse)</description>
<dataType>double</dataType>
</outputPort>
<outputPort id="outY">
<description>the current y-position of the angular arrow (use it e.g. to move the mouse)</description>
<dataType>double</dataType>
</outputPort>
</ports>
<events>
<eventListenerPort id="enablePlugin">
<description>enables the functionality of this plugin</description>
</eventListenerPort>
<eventListenerPort id="disablePlugin">
<description>disables all functionality of this plugin</description>
</eventListenerPort>
<eventListenerPort id="startMoveForward">
<description>starts automatic movement backward, accelerated by property acceleration</description>
</eventListenerPort>
<eventListenerPort id="startMoveBackward">
<description>starts automatic movement forward, accelerated by property acceleration</description>
</eventListenerPort>
<eventListenerPort id="startAngleLeft">
<description>starts automatic angle rotation to the left (counterclockwise), accelerated by property accelerationAngle</description>
</eventListenerPort>
<eventListenerPort id="startAngleRight">
<description>starts automatic angle rotation to the right (clockwise), accelerated by property accelerationAngle</description>
</eventListenerPort>
<eventListenerPort id="stopMoveForward">
<description>stops automatic movement backward</description>
</eventListenerPort>
<eventListenerPort id="stopMoveBackward">
<description>stops automatic movement forward</description>
</eventListenerPort>
<eventListenerPort id="stopAngleLeft">
<description>stops automatic angle rotation to the left (counterclockwise)</description>
</eventListenerPort>
<eventListenerPort id="stopAngleRight">
<description>stops automatic angle rotation to the right (clockwise)</description>
</eventListenerPort>
<eventListenerPort id="stopMove">
<description>stops any automatic movement</description>
</eventListenerPort>
<eventTriggererPort id="clickEvent">
<description>etp description</description>
</eventTriggererPort>
</events>
<properties>
<property name="enabled"
type="boolean"
value="true"
description="if true, the plugin is enabled, if false the plugin does nothing"/>
<property name="absoluteAngle"
type="boolean"
value="false"
description="if true, angle input port values are absolute values, else changes of current angle"/>
<property name="wrapAround"
type="boolean"
value="false"
description="if true, movement continues on other side of the screen, if screen end reached"/>
<property name="clickEventTime"
type="integer"
value="1000"
description="if not zero, a click indicator is shown and the click event is created after n millseconds inactivity"/>
<property name="arrowWidth"
type="integer"
value="10"
description="length of the arrow indicator"/>
<property name="arrowLength"
type="integer"
value="100"
description="length of the arrow indicator"/>
<property name="acceleration"
type="integer"
value="100"
description="cursor movement acceleration in px/second per second (0 to deactive acceleration)"/>
<property name="baseVelocity"
type="integer"
value="30"
description="base movement velocity in px per second"/>
<property name="maxVelocity"
type="integer"
value="1000"
description="maximum mouse movement velocity in px per second"/>
<property name="accelerationAngle"
type="integer"
value="30"
description="angle movement acceleration in degrees/second per second (0 to deactive acceleration)"/>
<property name="baseVelocityAngle"
type="integer"
value="20"
description="base angle movement velocity in degrees per second"/>
<property name="maxVelocityAngle"
type="integer"
value="180"
description="maximum angle movement velocity in degrees per second"/>
</properties>
</componentType>
<componentType id="asterics.ApplicationLauncher"
canonical_name="eu.asterics.component.actuator.applicationlauncher.ApplicationLauncherInstance">
<type subtype="File System">actuator</type>
<singleton>false</singleton>
<description>starts external software applications via path and filename (.exe)</description>
<ports>
<inputPort id="filename">
<description>File name of executable file which shall be started without arguments. The application is started automatically, if onlyByEvent is false.</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<inputPort id="arguments">
<description>Sets the arguments of the command. The application is started automatically, if onlyByEvent is false.</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<inputPort id="stdIn">
<description>Sends the incoming string to the standard input stream of the started process.</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
<outputPort id="stdOut">
<description>The standard output stream of the started process.</description>
<dataType>string</dataType>
</outputPort>
<outputPort id="stdErr">
<description>The standard error stream of the started process.</description>
<dataType>string</dataType>
</outputPort>
<outputPort id="exitValue">
<description>The exit value of the started process.</description>
<dataType>integer</dataType>
</outputPort>
</ports>
<events>
<eventListenerPort id="launchNow">
<description>an incoming event launches the application</description>
</eventListenerPort>
<eventListenerPort id="closeNow">
<description>an incoming event closes a launched application</description>
</eventListenerPort>
<eventTriggererPort id="startedSuccessfully">
<description>The process started successfully.</description>
</eventTriggererPort>
<eventTriggererPort id="startedWithError">
<description>The process started with error.</description>
</eventTriggererPort>
</events>
<properties>
<property name="executeOnPlatform"
type="string"
value="ALL"
combobox="ALL//WINDOWS//LINUX//MACOSX"
description="If != ALL, the application will only be launched if the ARE runs on the defined platform."/>
<property name="executionMode"
type="string"
value="START_APPLICATION"
combobox="START_APPLICATION//OPEN_URL"
description="If START_APPLICATION, the command defined in defaultApplication will be launched with the given arguments. If OPEN_URL, the URL defined in arguments will be launched with the platform default browser. The platform-specific browser launch commands are configurable in the file areProperties."/>
<property name="defaultApplication"
type="string"
value="c:\windows\notepad.exe"
description="Default application file name (including path)"/>
<property name="arguments"
type="string"
value=""
description="arguments for default application"/>
<property name="workingDirectory"
type="string"
value="."
description="working directory for application"/>
<property name="closeCmd"
type="string"
value=""
description="Optional close cmd, e.g. if started cmd has forked processes (e.g. OSKA) use: taskkill.exe /IM "OSKA Keyboard.exe" /T"/>
<property name="autoLaunch"
type="boolean"
value="false"
description="Launch the default application immediately at model startup"/>
<property name="autoClose"
type="boolean"
value="true"
description="if true, a launched application is closed when the model is stopped or switched"/>
<property name="onlyByEvent"
type="boolean"
value="false"
description="if true, an incoming filename at the input port is not lauched before the launchNow event is triggered"/>
</properties>
</componentType>
<componentType id="asterics.AREWindow"
canonical_name="eu.asterics.component.actuator.arewindow.AREWindowInstance">
<type subtype="Graphical User Interface">actuator</type>
<singleton>false</singleton>
<description>provides basic ARE Window manipulation</description>
<ports>
<inputPort id="xPos">
<description>desired X position</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<inputPort id="yPos">
<description>desired Y position</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
</ports>
<events>
<eventListenerPort id="moveToTop">
<description>moves Window to top of the screen</description>
</eventListenerPort>
<eventListenerPort id="moveToBottom">
<description>moves Window to bottom of the screen</description>
</eventListenerPort>
<eventListenerPort id="moveToLeft">
<description>moves Window to left side of the screen</description>
</eventListenerPort>
<eventListenerPort id="moveToRight">
<description>moves Window to right side of the screen</description>
</eventListenerPort>
<eventListenerPort id="moveToCenter">
<description>moves Window to center of the screen</description>
</eventListenerPort>
<eventListenerPort id="minimize">
<description>moves Window to right side of the screen</description>
</eventListenerPort>
<eventListenerPort id="restore">
<description>moves Window to right side of the screen</description>
</eventListenerPort>
<eventListenerPort id="bringToFront">
<description>set the ARE Window to foreground</description>
</eventListenerPort>
<eventListenerPort id="setWindowFocusalbe">
<description>makes the ARE Window focusable</description>
</eventListenerPort>
<eventListenerPort id="setWindowNotFocusalbe">
<description>ARE Window is not focusable</description>
</eventListenerPort>
</events>
<properties>
<property name="xPos"
type="integer"
value="0"
description="offset for x Position"/>
<property name="yPos"
type="integer"
value="0"
description="offset for y Position"/>
<property name="autoSetPosition"
type="boolean"
value="false"
description="if true, ARE window will be moved automatically after model is started or when new position values come in"/>
<property name="allowWindowModification"
type="boolean"
value="true"
description="if true, ARE window decoration and control panel can be activated / deactivated via mouse clicks"/>
</properties>
</componentType>
<componentType id="asterics.BarDisplay"
canonical_name="eu.asterics.component.actuator.bardisplay.BardisplayInstance">
<type subtype="Graphical User Interface">actuator</type>
<singleton>false</singleton>
<description>Bar-display</description>
<ports>
<inputPort id="input">
<description>Input port for signal</description>
<mustBeConnected>true</mustBeConnected>
<dataType>double</dataType>
</inputPort>
</ports>
<properties>
<property name="displayBuffer"
type="integer"
value="0"
description="How many values will be buffered before redraw of bargraph"/>
<property name="min"
type="double"
value="0"
description="minimum value"/>
<property name="max"
type="double"
value="1000"
description="maximum value"/>
<property name="threshold"
type="double"
value="500"
description="threshold value"/>
<property name="displayThreshold"
type="boolean"
value="false"
description="display marker for threshold value ?"/>
<property name="integerDisplay"
type="boolean"
value="false"
description="round double values to integral type ?"/>
<property name="mode"
type="integer"
value="1"
combobox="clip to min and max//autoupdate min and max"
description="how to deal with values exceeding min or max"/>
<property name="gridColor"
type="integer"
value="0"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="color of the grid"/>
<property name="barColor"
type="integer"
value="8"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="color of bar display"/>
<property name="backgroundColor"
type="integer"
value="11"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="background color"/>
<property name="fontSize"
type="integer"
value="14"
description="font size of bardisplay captions"/>
<property name="caption"
type="string"
value="bar-graph"
description="caption of the bar graph"/>
<property name="displayGUI"
type="boolean"
value="true"
description="if selected, the GUI window will be shown"/>
</properties>
<gui>
<width>1000</width>
<height>3000</height>
</gui>
</componentType>
<componentType id="asterics.CrosshairCursorControl"
canonical_name="eu.asterics.component.actuator.crosshaircursorcontrol.CrosshairCursorControlInstance">
<type subtype="Input Device Emulation">actuator</type>
<singleton>true</singleton>
<description>cursor position control via crosshair movement</description>
<ports>
<inputPort id="x">
<description>cursor movement x direction</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
<inputPort id="y">
<description>cursor movement y direction</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
<inputPort id="accelerationH">
<description>horizontal movement acceleration, increasing px/second per second</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<inputPort id="accelerationV">
<description>vertical movement acceleration, increasing px/second per second</description>
<mustBeConnected>false</mustBeConnected>
<dataType>integer</dataType>
</inputPort>
<outputPort id="outX">
<description>the current x-position of the crosshair (use it e.g. to move the mouse)</description>
<dataType>double</dataType>
</outputPort>
<outputPort id="outY">
<description>the current y-position of the crosshair (use it e.g. to move the mouse)</description>
<dataType>double</dataType>
</outputPort>
</ports>
<events>
<eventListenerPort id="enablePlugin">
<description>enables the functionality of this plugin</description>
</eventListenerPort>
<eventListenerPort id="disablePlugin">
<description>disables all functionality of this plugin</description>
</eventListenerPort>
<eventListenerPort id="startMoveLeft">
<description>starts movement to the left</description>
</eventListenerPort>
<eventListenerPort id="startMoveRight">
<description>starts movement to the right</description>
</eventListenerPort>
<eventListenerPort id="startMoveUp">
<description>starts movement up</description>
</eventListenerPort>
<eventListenerPort id="startMoveDown">
<description>starts movement down</description>
</eventListenerPort>
<eventListenerPort id="stopMoveLeft">
<description>stops movement to the left</description>
</eventListenerPort>
<eventListenerPort id="stopMoveRight">
<description>stops movement to the right</description>
</eventListenerPort>
<eventListenerPort id="stopMoveUp">
<description>stops movement up</description>
</eventListenerPort>
<eventListenerPort id="stopMoveDown">
<description>stops movement down</description>
</eventListenerPort>
<eventListenerPort id="stopMoveAll">
<description>stops all automatic movement</description>
</eventListenerPort>
<eventListenerPort id="moveToLastStable">
<description>moves to last stable x/y cursor position without movement</description>
</eventListenerPort>
<eventListenerPort id="highlightXAxis">
<description>highlights the X-Axis in red color, disables highlight for Y-Axis and sets property autoColorAxis to false</description>
</eventListenerPort>
<eventListenerPort id="highlightYAxis">
<description>highlights the Y-Axis in red color, disables highlight for Y-Axis and sets property autoColorAxis to false</description>
</eventListenerPort>
<eventListenerPort id="toggleAxisHighlight">
<description>toggles the highlighting for the X- and Y-Axis, sets property autoColorAxis to false</description>
</eventListenerPort>
<eventListenerPort id="click">
<description>manually triggers the click event and highlights the X/Y-axis if highlightClick is enabled</description>
</eventListenerPort>
<eventTriggererPort id="clickEvent">
<description>this event is generated after an inactivity of clickEventTime milliseconds</description>
</eventTriggererPort>
</events>
<properties>
<property name="enabled"
type="boolean"
value="true"
description="if true, the plugin is enabled, if false the plugin does nothing"/>
<property name="absoluteValues"
type="boolean"
value="false"
description="if true, x/y input port values are absolute coordinates, else relative coordinates"/>
<property name="autoColorAxis"
type="boolean"
value="true"
description="if true, the axis are colored automatically according to the current movement"/>
<property name="highlightClick"
type="boolean"
value="true"
description="if true, the axis are shortly colored green for indicating the clickEvent"/>
<property name="wrapAround"
type="boolean"
value="false"
description="if true, movement continues on other side of the screen, if screen end reached"/>
<property name="taskbarOffset"
type="boolean"
value="true"
description="if true, the size of the crosshairs (x/y) is calculated from screen size minus any taskbar sizes."/>
<property name="clickEventTime"
type="integer"
value="1000"
description="if not zero, the click event is created after n millseconds inactivity"/>
<property name="lineWidth"
type="integer"
value="10"
description="width of the crosshair indicator"/>
<property name="baseVelocity"
type="integer"
value="10"
description="base movement velocity in px per second"/>
<property name="accelerationH"
type="integer"
value="100"
description="horizontal movement acceleration, increasing px/second per second"/>
<property name="accelerationV"
type="integer"
value="100"
description="vertical movement acceleration, increasing px/second per second"/>
<property name="maxVelocity"
type="integer"
value="100"
description="maximum movement velocity in px per second"/>
</properties>
</componentType>
<componentType id="asterics.DialogBox"
canonical_name="eu.asterics.component.actuator.dialogbox.DialogBoxInstance">
<type subtype="Graphical User Interface">actuator</type>
<singleton>false</singleton>
<description>creates a dialog box to display information</description>
<ports>
<inputPort id="setText">
<description>updates the text to be displayed</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
</ports>
<events>
<eventTriggererPort id="button1">
<description>Button 1 pressed</description>
</eventTriggererPort>
<eventTriggererPort id="button2">
<description>Button 2 pressed</description>
</eventTriggererPort>
<eventTriggererPort id="button3">
<description>Button 3 pressed</description>
</eventTriggererPort>
<eventTriggererPort id="button4">
<description>Button 4 pressed</description>
</eventTriggererPort>
<eventTriggererPort id="button5">
<description>Button 5 pressed</description>
</eventTriggererPort>
<eventListenerPort id="displayBox">
<description>displays the dialog box</description>
</eventListenerPort>
<eventListenerPort id="hideBox">
<description>hides the dialog box</description>
</eventListenerPort>
</events>
<properties>
<property name="caption"
type="string"
value="info"
description="the caption of the dialog box"/>
<property name="text"
type="string"
value="this is an information"
description="the text message of the dialog box"/>
<property name="alwaysOnTop"
type="boolean"
value="true"
description="if true, dialog stays on top, no matter if other windows are put to front."/>
<property name="messageType"
type="integer"
value="0"
description="the message type of the dialog box"
combobox="plain//information//question//warning//error"/>
<property name="buttonText1"
type="string"
value="OK"/>
<property name="buttonText2"
type="string"
value=""/>
<property name="buttonText3"
type="string"
value=""/>
<property name="buttonText4"
type="string"
value=""/>
<property name="buttonText5"
type="string"
value=""/>
</properties>
</componentType>
<componentType id="asterics.DigitalOut"
canonical_name="eu.asterics.component.actuator.digitalout.DigitalOutInstance">
<type subtype="Generic Control Output">actuator</type>
<singleton>true</singleton>
<description>Digital Output control of GPIO-CIM</description>
<ports>
<inputPort id="action">
<description>Commands for switching outputs, Examples: @GPIO:set,1/@GPIO:clear,2/@GPIO:toggle,1/@GPIO:press,4</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
</ports>
<events>
<eventListenerPort id="setOutput1">
<description>Switches Output1 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput2">
<description>Switches Output2 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput3">
<description>Switches Output3 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput4">
<description>Switches Output4 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput5">
<description>Switches Output5 to high level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput1">
<description>Switches Output1 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput2">
<description>Switches Output2 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput3">
<description>Switches Output3 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput4">
<description>Switches Output4 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput5">
<description>Switches Output5 to low level</description>
</eventListenerPort>
<eventListenerPort id="toggleOutput1">
<description>Toggles the state of Output1</description>
</eventListenerPort>
<eventListenerPort id="toggleOutput2">
<description>Toggles the state of Output2</description>
</eventListenerPort>
<eventListenerPort id="toggleOutput3">
<description>Toggles the state of Output3</description>
</eventListenerPort>
<eventListenerPort id="toggleOutput4">
<description>Toggles the state of Output4</description>
</eventListenerPort>
<eventListenerPort id="toggleOutput5">
<description>Toggles the state of Output5</description>
</eventListenerPort>
<eventListenerPort id="pressOutput1">
<description>Presses Output1: Clears the state and after 500ms sets the state to high</description>
</eventListenerPort>
<eventListenerPort id="pressOutput2">
<description>Presses Output2: Clears the state and after 500ms sets the state to high</description>
</eventListenerPort>
<eventListenerPort id="pressOutput3">
<description>Presses Output3: Clears the state and after 500ms sets the state to high</description>
</eventListenerPort>
<eventListenerPort id="pressOutput4">
<description>Presses Output4: Clears the state and after 500ms sets the state to high</description>
</eventListenerPort>
<eventListenerPort id="pressOutput5">
<description>Presses Output5: Clears the state and after 500ms sets the state to high</description>
</eventListenerPort>
</events>
<properties>
<property name="pullupStateOut3"
type="boolean"
value="false"
description="Sets pull up state for output 3, true enables pull up"/>
<property name="pullupStateOut4"
type="boolean"
value="false"
description="Sets pull up state for output 4, true enables pull up"/>
<property name="pullupStateOut5"
type="boolean"
value="false"
description="Sets pull up state for output 5, true enables pull up"/>
<property name="uniqueID"
type="string"
value="not used"
getStringList="true"
description="ID (if more than one devices of this kind are connected)"/>
</properties>
</componentType>
<componentType id="asterics.LegacyDigitalOut"
canonical_name="eu.asterics.component.actuator.digitalout.DigitalOutInstance">
<type subtype="Generic Control Output">actuator</type>
<singleton>true</singleton>
<description>Digital Output control of GPIO-CIM</description>
<ports>
<inputPort id="action">
<description>Commands for switching outputs, Examples: @GPIO:set,1/@GPIO:clear,2/@GPIO:toggle,1/@GPIO:press,4</description>
<mustBeConnected>false</mustBeConnected>
<dataType>string</dataType>
</inputPort>
</ports>
<events>
<eventListenerPort id="setOutput1">
<description>An incoming event switches Output1 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput2">
<description>An incoming event switches Output2 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput3">
<description>An incoming event switches Output3 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput4">
<description>An incoming event switches Output4 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput5">
<description>An incoming event switches Output5 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput6">
<description>An incoming event switches Output6 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput7">
<description>An incoming event switches Output7 to high level</description>
</eventListenerPort>
<eventListenerPort id="setOutput8">
<description>An incoming event switches Output8 to high level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput1">
<description>An incoming event switches Output1 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput2">
<description>An incoming event switches Output2 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput3">
<description>An incoming event switches Output3 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput4">
<description>An incoming event switches Output4 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput5">
<description>An incoming event switches Output5 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput6">
<description>An incoming event switches Output6 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput7">
<description>An incoming event switches Output7 to low level</description>
</eventListenerPort>
<eventListenerPort id="clearOutput8">
<description>An incoming event switches Output8 to low level</description>
</eventListenerPort>
</events>
<properties>
<property name="pullupStateOut1"
type="boolean"
value="false"
description="Sets pull up state for output 1, true enables pull up"/>
<property name="pullupStateOut2"
type="boolean"
value="false"
description="Sets pull up state for output 2, true enables pull up"/>
<property name="pullupStateOut3"
type="boolean"
value="false"
description="Sets pull up state for output 3, true enables pull up"/>
<property name="pullupStateOut4"
type="boolean"
value="false"
description="Sets pull up state for output 4, true enables pull up"/>
<property name="uniqueID"
type="string"
value="not used"
getStringList="true"
description="ID (if more than one devices of this kind are connected)"/>
</properties>
</componentType>
<componentType id="asterics.DotMeter"
canonical_name="eu.asterics.component.actuator.dotmeter.DotmeterInstance">
<type subtype="Graphical User Interface">actuator</type>
<singleton>false</singleton>
<description>DotMeter</description>
<ports>
<inputPort id="x">
<description>Input port for x-position</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
<inputPort id="y">
<description>Input port for y-position</description>
<mustBeConnected>false</mustBeConnected>
<dataType>double</dataType>
</inputPort>
</ports>
<events>
<eventListenerPort id="dotOn">
<description>display the dot</description>
</eventListenerPort>
<eventListenerPort id="dotOff">
<description>hide the dot</description>
</eventListenerPort>
</events>
<properties>
<property name="xMin"
type="double"
value="0"
description="minimum X value"/>
<property name="xMax"
type="double"
value="1000"
description="maximum X value"/>
<property name="yMin"
type="double"
value="0"
description="minimum Y value"/>
<property name="yMax"
type="double"
value="1000"
description="maximum Y value"/>
<property name="mode"
type="integer"
value="1"
combobox="clip to min and max//autoupdate min and max"
description="how to deal with values exceeding min or max"/>
<property name="dotSize"
type="integer"
value="10"
description="size of the dot"/>
<property name="centerLine"
type="boolean"
value="true"
description="draw line to center?"/>
<property name="displayDot"
type="boolean"
value="true"
description="display dot at startup?"/>
<property name="displayCaptions"
type="boolean"
value="true"
description="display meter captions?"/>
<property name="gridColor"
type="integer"
value="0"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="color of the grid"/>
<property name="dotColor"
type="integer"
value="8"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="color of bar display"/>
<property name="backgroundColor"
type="integer"
value="11"
combobox="black//blue//cyan//darkgray//gray//green//lightgray//magenta//orange//pink//red//white//yellow"
description="background color"/>
<property name="fontSize"
type="integer"
value="14"
description="font size of dotmeter captions"/>
<property name="caption"
type="string"
value="dotMeter"
description="caption of the meter"/>
<property name="displayGUI"
type="boolean"
value="true"
description="if selected, the GUI window will be shown"/>
</properties>
<gui>
<width>3000</width>
<height>3000</height>
</gui>
</componentType>