-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathPMmodul.templ.xml
More file actions
1467 lines (1458 loc) · 127 KB
/
PMmodul.templ.xml
File metadata and controls
1467 lines (1458 loc) · 127 KB
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" encoding="utf-8"?>
<?xml-model href="../../Organization/knxprod-support/knx_project_14/knx-editor.xsd" type="application/xml" schematypens="http://www.w3.org/2001/XMLSchema"?>
<KNX xmlns:op="http://github.com/OpenKNX/OpenKNXproducer" xmlns="http://knx.org/xml/project/14" CreatedBy="KNX MT" ToolVersion="5.1.255.16695">
<ManufacturerData>
<Manufacturer RefId="M-00FA">
<ApplicationPrograms>
<ApplicationProgram Id="%AID%" ProgramType="ApplicationProgram" MaskVersion="MV-07B0" Name="WP-Presence-Logic-Develop" LoadProcedureStyle="MergedProcedure" PeiType="0" DefaultLanguage="de" DynamicTableManagement="false" Linkable="true" MinEtsVersion="4.0" ApplicationNumber="0" ApplicationVersion="0" ReplacesVersions="0">
<op:part href="PMModul.parts.xml" name="PHASE" instances="4">
<op:param name="%ParamOffset%" value="58" increment="20" />
<op:param name="%Pl%" value="0" asLetter="true" increment="1" />
<op:param name="%Pn%" value="1" increment="1" />
<op:param name="%PPP%" value="100" increment="100" digits="3" />
<op:param name="%TRef%" value="26" increment="1" digits="2" />
</op:part>
<!-- <op:part href="PMModul.parts.xml" name="PHASE-1">
<op:param name="%ParamOffset%" value="58" />
<op:param name="%Pl%" value="A" />
<op:param name="%Pn%" value="1" />
<op:param name="%PPP%" value="100" />
<op:param name="%TRef%" value="26" digits="2" />
</op:part>
<op:part href="PMModul.parts.xml" name="PHASE-2">
<op:param name="%ParamOffset%" value="78" />
<op:param name="%Pl%" value="B" />
<op:param name="%Pn%" value="2" />
<op:param name="%PPP%" value="200" />
<op:param name="%TRef%" value="27" digits="2" />
</op:part>
<op:part href="PMModul.parts.xml" name="PHASE-3">
<op:param name="%ParamOffset%" value="98" />
<op:param name="%Pl%" value="C" />
<op:param name="%Pn%" value="3" />
<op:param name="%PPP%" value="300" />
<op:param name="%TRef%" value="28" digits="2" />
</op:part>
<op:part href="PMModul.parts.xml" name="PHASE-4">
<op:param name="%ParamOffset%" value="118" />
<op:param name="%Pl%" value="D" />
<op:param name="%Pn%" value="4" />
<op:param name="%PPP%" value="400" />
<op:param name="%TRef%" value="29" digits="2" />
</op:part> -->
<Static>
<Parameters>
<Parameter Id="%AID%_P-%TT%%CC%000" Name="p%C%Name" ParameterType="%AID%_PT-Text40Byte" Text="Beschreibung des PM" Value="" />
<!-- Bitfield settings (once per channel) -->
<Union SizeInBit="48">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="0" BitOffset="0" />
<Parameter Id="%AID%_UP-%TT%%CC%900" Name="p%C%PresenceInputs" Offset="0" BitOffset="0" ParameterType="%AID%_PT-PresenceInputs" Text="Eingänge für externen Melder" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%901" Name="p%C%PresenceType" Offset="0" BitOffset="3" ParameterType="%AID%_PT-PresenceType" Text="Eingang Präsenz" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%902" Name="p%C%MoveType" Offset="0" BitOffset="4" ParameterType="%AID%_PT-PresenceType" Text="Eingang Bewegung" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%004" Name="p%C%PhaseBool" Offset="0" BitOffset="5" ParameterType="%AID%_PT-OnOffYesNo" Text="Tagesphasen über Tag-/Nacht-Objekt verfügbar machen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%005" Name="p%C%PhaseCount" Offset="0" BitOffset="6" ParameterType="%AID%_PT-PhaseCount" Text="Anzahl Tagesphasen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%006" Name="p%C%Output1Type" Offset="1" BitOffset="0" ParameterType="%AID%_PT-OutputType" Text="Ausgang 1 ist vom Typ" Value="1" />
<Parameter Id="%AID%_UP-%TT%%CC%007" Name="p%C%Output2Type" Offset="1" BitOffset="3" ParameterType="%AID%_PT-OutputType" Text="Ausgang 2 ist vom Typ" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%008" Name="p%C%ChannelActive" Offset="1" BitOffset="6" ParameterType="%AID%_PT-ChannelActive" Text="Kanalaktivität" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%009" Name="p%C%BrightnessIndependent" Offset="2" BitOffset="0" ParameterType="%AID%_PT-OnOffYesNoInverted" Text="Kanal ist Helligkeitsabhängig" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%034" Name="p%C%BrightnessIntern" Offset="2" BitOffset="1" ParameterType="%AID%_PT-OnOffYesNo" Text="Eingebauten Helligkeitssensor verwenden?" Value="0" />
<!-- 1-Bit free -->
<Parameter Id="%AID%_UP-%TT%%CC%012" Name="p%C%LockType" Offset="2" BitOffset="3" ParameterType="%AID%_PT-LockType" Text="Sperrobjekt" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%013" Name="p%C%LockActive" Offset="2" BitOffset="5" ParameterType="%AID%_PT-LockActive" Text="Sperraktivität" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%014" Name="p%C%LockOn" Offset="2" BitOffset="6" ParameterType="%AID%_PT-LockOn" Text="Beim EINschalten wird" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%015" Name="p%C%LockOff" Offset="3" BitOffset="0" ParameterType="%AID%_PT-LockOff" Text="Beim AUSschalten wird" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%016" Name="p%C%LockFallback" Offset="3" BitOffset="2" ParameterType="%AID%_PT-OnOffYesNo" Text="Mit Rückfallzeit?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%017" Name="p%C%PhaseChange" Offset="3" BitOffset="3" ParameterType="%AID%_PT-PhaseChange" Text="Neue Tagesphase übernehmen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%035" Name="p%C%PresenceUsage" Offset="3" BitOffset="4" ParameterType="%AID%_PT-PresenceUsage" Text="Eingebauten Präsenzsensor verwenden?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%036" Name="p%C%PresenceUsagePIR" Offset="3" BitOffset="4" ParameterType="%AID%_PT-PresenceUsagePIR" Text="Eingebauten Präsenzsensor verwenden?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%039" Name="p%C%AutoOffIsLeave" Offset="3" BitOffset="6" ParameterType="%AID%_PT-OnOffYesNo" Text="'Automatik übersteuern'=AUS heißt 'Raum verlassen'" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%060" Name="p%C%ManualModeKeyCount" Offset="3" BitOffset="7" ParameterType="%AID%_PT-KeyCount" Text="Tastenmodus für 'Manuell übersteuern'" Value="1" />
<Parameter Id="%AID%_UP-%TT%%CC%063" Name="p%C%BrightnessRead" Offset="4" BitOffset="0" ParameterType="%AID%_PT-OnOffYesNo" Text="Nach Totzeit Lesetelegramm senden?" Value="1" />
<Parameter Id="%AID%_UP-%TT%%CC%086" Name="p%C%StartReadLux" Offset="4" BitOffset="1" ParameterType="%AID%_PT-CheckBox" Text="Helligkeit nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%087" Name="p%C%StartReadPresence1" Offset="4" BitOffset="2" ParameterType="%AID%_PT-CheckBox" Text="Präsenz A nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%088" Name="p%C%StartReadPresence2" Offset="4" BitOffset="3" ParameterType="%AID%_PT-CheckBox" Text="Präsenz B nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%089" Name="p%C%StartReadAktorState" Offset="4" BitOffset="4" ParameterType="%AID%_PT-CheckBox" Text="Aktorstatus nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%090" Name="p%C%StartReadLock" Offset="4" BitOffset="5" ParameterType="%AID%_PT-CheckBox" Text="Sperre nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%091" Name="p%C%StartReadDayPhase" Offset="4" BitOffset="6" ParameterType="%AID%_PT-CheckBox" Text="Tagesphase nach Neustart vom Bus lesen?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%092" Name="p%C%StartReadScene" Offset="4" BitOffset="7" ParameterType="%AID%_PT-CheckBox" Text="Steuerszene nach Neustart vom Bus lesen?" Value="0" />
<!-- ist is intended that the below 3 overlay each other -->
<Parameter Id="%AID%_UP-%TT%%CC%097" Name="p%C%LeaveRoomModeAll" Offset="5" BitOffset="0" ParameterType="%AID%_PT-LeaveRoomModeAll" Text="Modus für Raum verlassen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%098" Name="p%C%LeaveRoomModeMove" Offset="5" BitOffset="0" ParameterType="%AID%_PT-LeaveRoomModeMove" Text="Modus für Raum verlassen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%099" Name="p%C%LeaveRoomModeReset" Offset="5" BitOffset="0" ParameterType="%AID%_PT-LeaveRoomModeReset" Text="Modus für Raum verlassen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%093" Name="p%C%ExternalSupportsReset" Offset="5" BitOffset="3" ParameterType="%AID%_PT-SupportsReset" Text="Externer PM kann über Bus zurückgesetzt werden?" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%903" Name="p%C%PresenceKeepAlive" Offset="5" BitOffset="5" ParameterType="%AID%_PT-CheckBox" Text=" Eingang kann nicht einschalten, aber bestehende Präsenz verlängern" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%904" Name="p%C%MoveKeepAlive" Offset="5" BitOffset="6" ParameterType="%AID%_PT-CheckBox" Text=" Eingang kann nicht einschalten, aber bestehende Präsenz verlängern" Value="0" />
<!-- 1 Bit free -->
</Union>
<!-- Delay patterns (once per channel) -->
<Union SizeInBit="64">
<!-- Channel Delay -->
<Memory CodeSegment="%AID%_RS-04-00000" Offset="6" BitOffset="0" />
<Parameter Id="%AID%_UP-%TT%%CC%018" Name="p%C%ChannelDelayBase" ParameterType="%AID%_PT-DelayBase" Offset="0" BitOffset="0" Text="Startverzögerung für diesen Kanal" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%019" Name="p%C%ChannelDelayTime" ParameterType="%AID%_PT-DelayTime" Offset="0" BitOffset="2" Text="Startverzögerung für diesen Kanal" Value="1" />
<!-- Lock Fallback Delay -->
<Parameter Id="%AID%_UP-%TT%%CC%024" Name="p%C%LockFallbackBase" ParameterType="%AID%_PT-DelayBase" Offset="2" BitOffset="0" Text="Rückfall nach" Value="2" />
<Parameter Id="%AID%_UP-%TT%%CC%025" Name="p%C%LockFallbackTime" ParameterType="%AID%_PT-DelayTime" Offset="2" BitOffset="2" Text="Rückfall nach" Value="12" />
<!-- DowntimeOff Delay -->
<Parameter Id="%AID%_UP-%TT%%CC%037" Name="p%C%DowntimeOffBase" ParameterType="%AID%_PT-DelayBase" Offset="4" BitOffset="0" Text="Totzeit nach Raum verlassen" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%038" Name="p%C%DowntimeOffTime" ParameterType="%AID%_PT-DelayTime" Offset="4" BitOffset="2" Text="Totzeit nach Raum verlassen" Value="0" />
<!-- Brightness Adaptive Calculation Delay -->
<Parameter Id="%AID%_UP-%TT%%CC%061" Name="p%C%AdaptiveDelayBase" ParameterType="%AID%_PT-DelayBase10" Offset="6" BitOffset="0" Text="Totzeit bis zur Helligkeitsanpassung" Value="1" />
<Parameter Id="%AID%_UP-%TT%%CC%062" Name="p%C%AdaptiveDelayTime" ParameterType="%AID%_PT-DelayTime" Offset="6" BitOffset="2" Text="Totzeit bis zur Helligkeitsanpassung" Value="1" />
<!-- Cyclic Output 2 send -->
<!-- <Parameter Id="%AID%_UP-%TT%%CC%022" Name="p%C%Output2CyclicBase" ParameterType="%AID%_PT-DelayBase" Offset="10" BitOffset="0" Text="Zeitbasis" Value="1" /> -->
<!-- <Parameter Id="%AID%_UP-%TT%%CC%023" Name="p%C%Output2CyclicTime" ParameterType="%AID%_PT-DelayTime" Offset="10" BitOffset="2" Text="Zeit" Value="5" /> -->
</Union>
<!-- Day phasees (once per channel) -->
<Parameter Id="%AID%_P-%TT%%CC%026" Name="p%C%Phase1Name" ParameterType="%AID%_PT-Text40Byte" Text="Name" Value="Tag" />
<Parameter Id="%AID%_P-%TT%%CC%027" Name="p%C%Phase2Name" ParameterType="%AID%_PT-Text40Byte" Text="Name" Value="Nacht" />
<Parameter Id="%AID%_P-%TT%%CC%028" Name="p%C%Phase3Name" ParameterType="%AID%_PT-Text40Byte" Text="Name" Value="Morgen" />
<Parameter Id="%AID%_P-%TT%%CC%029" Name="p%C%Phase4Name" ParameterType="%AID%_PT-Text40Byte" Text="Name" Value="Abend" />
<Union SizeInBit="32">
<!-- keep them always in one unit in ordered sequence-->
<Memory CodeSegment="%AID%_RS-04-00000" Offset="14" BitOffset="0" />
<Parameter Id="%AID%_UP-%TT%%CC%030" Name="p%C%Phase1Scene" Offset="0" BitOffset="0" ParameterType="%AID%_PT-ValueSceneOut" Text="Szene Phase 1" Value="1" />
<Parameter Id="%AID%_UP-%TT%%CC%031" Name="p%C%Phase2Scene" Offset="1" BitOffset="0" ParameterType="%AID%_PT-ValueSceneOut" Text="Szene Phase 2" Value="2" />
<Parameter Id="%AID%_UP-%TT%%CC%032" Name="p%C%Phase3Scene" Offset="2" BitOffset="0" ParameterType="%AID%_PT-ValueSceneOut" Text="Szene Phase 3" Value="3" />
<Parameter Id="%AID%_UP-%TT%%CC%033" Name="p%C%Phase4Scene" Offset="3" BitOffset="0" ParameterType="%AID%_PT-ValueSceneOut" Text="Szene Phase 4" Value="4" />
</Union>
<Union SizeInBit="160">
<!-- Scene definitions-->
<Memory CodeSegment="%AID%_RS-04-00000" Offset="18" BitOffset="0" />
<Parameter Id="%AID%_UP-%TT%%CC%040" Name="p%C%Scene0" Offset="0" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene0" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%041" Name="p%C%Scene1" Offset="1" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene1" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%042" Name="p%C%Scene2" Offset="2" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene2" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%043" Name="p%C%Scene3" Offset="3" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene3" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%044" Name="p%C%Scene4" Offset="4" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene4" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%045" Name="p%C%Scene5" Offset="5" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene5" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%046" Name="p%C%Scene6" Offset="6" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene6" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%047" Name="p%C%Scene7" Offset="7" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene7" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%048" Name="p%C%Scene8" Offset="8" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene8" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%049" Name="p%C%Scene9" Offset="9" BitOffset="0" ParameterType="%AID%_PT-ValueSceneIn" Text="Szene9" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%050" Name="p%C%SceneAction0" Offset="10" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction0" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%051" Name="p%C%SceneAction1" Offset="11" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction1" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%052" Name="p%C%SceneAction2" Offset="12" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction2" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%053" Name="p%C%SceneAction3" Offset="13" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction3" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%054" Name="p%C%SceneAction4" Offset="14" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction4" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%055" Name="p%C%SceneAction5" Offset="15" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction5" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%056" Name="p%C%SceneAction6" Offset="16" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction6" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%057" Name="p%C%SceneAction7" Offset="17" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction7" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%058" Name="p%C%SceneAction8" Offset="18" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction8" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%059" Name="p%C%SceneAction9" Offset="19" BitOffset="0" ParameterType="%AID%_PT-SceneAction" Text="SzeneAction9" Value="0" />
</Union>
<!-- Internal inputs -->
<!-- there is a dependancy in the order of internal input parameters and KO enabled for internal input -->
<!-- any changes here should be also included in coding!!!! -->
<Union SizeInBit="160">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="38" BitOffset="0" />
<Parameter Id="%AID%_UP-%TT%%CC%064" Name="p%C%IntLux" ParameterType="%AID%_PT-KOInput" Offset="0" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%065" Name="p%C%NumLux" ParameterType="%AID%_PT-KONumber" Offset="0" BitOffset="1" Text="Nummer vom internen KO" Value="%K0%" />
<Parameter Id="%AID%_UP-%TT%%CC%066" Name="p%C%IntPresence1" ParameterType="%AID%_PT-KOInput" Offset="2" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%067" Name="p%C%NumPresence1" ParameterType="%AID%_PT-KONumber" Offset="2" BitOffset="1" Text="Nummer vom internen KO" Value="%K1%" />
<Parameter Id="%AID%_UP-%TT%%CC%068" Name="p%C%IntPresence2" ParameterType="%AID%_PT-KOInput" Offset="4" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%069" Name="p%C%NumPresence2" ParameterType="%AID%_PT-KONumber" Offset="4" BitOffset="1" Text="Nummer vom internen KO" Value="%K2%" />
<Parameter Id="%AID%_UP-%TT%%CC%070" Name="p%C%IntSetAuto" ParameterType="%AID%_PT-KOInput" Offset="6" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%071" Name="p%C%NumSetAuto" ParameterType="%AID%_PT-KONumber" Offset="6" BitOffset="1" Text="Nummer vom internen KO" Value="%K3%" />
<Parameter Id="%AID%_UP-%TT%%CC%072" Name="p%C%IntSetManual" ParameterType="%AID%_PT-KOInput" Offset="8" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%073" Name="p%C%NumSetManual" ParameterType="%AID%_PT-KONumber" Offset="8" BitOffset="1" Text="Nummer vom internen KO" Value="%K4%" />
<Parameter Id="%AID%_UP-%TT%%CC%074" Name="p%C%IntActorState" ParameterType="%AID%_PT-KOInput" Offset="10" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%075" Name="p%C%NumActorState" ParameterType="%AID%_PT-KONumber" Offset="10" BitOffset="1" Text="Nummer vom internen KO" Value="%K5%" />
<Parameter Id="%AID%_UP-%TT%%CC%076" Name="p%C%IntLock" ParameterType="%AID%_PT-KOInput" Offset="12" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%077" Name="p%C%NumLock" ParameterType="%AID%_PT-KONumber" Offset="12" BitOffset="1" Text="Nummer vom internen KO" Value="%K6%" />
<Parameter Id="%AID%_UP-%TT%%CC%078" Name="p%C%IntReset" ParameterType="%AID%_PT-KOInput" Offset="14" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%079" Name="p%C%NumReset" ParameterType="%AID%_PT-KONumber" Offset="14" BitOffset="1" Text="Nummer vom internen KO" Value="%K7%" />
<Parameter Id="%AID%_UP-%TT%%CC%080" Name="p%C%IntDayPhase" ParameterType="%AID%_PT-KOInput" Offset="16" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%081" Name="p%C%NumDayPhase" ParameterType="%AID%_PT-KONumber" Offset="16" BitOffset="1" Text="Nummer vom internen KO" Value="%K8%" />
<Parameter Id="%AID%_UP-%TT%%CC%082" Name="p%C%IntScene" ParameterType="%AID%_PT-KOInput" Offset="18" BitOffset="0" Text="Neues oder internes KO" Value="0" />
<Parameter Id="%AID%_UP-%TT%%CC%083" Name="p%C%NumScene" ParameterType="%AID%_PT-KONumber" Offset="18" BitOffset="1" Text="Nummer vom internen KO" Value="%K12%" />
</Union>
<!-- KO enablement (for internal KO, once per channel, just ets local and invisible) -->
<Parameter Id="%AID%_P-%TT%%CC%084" Name="p%C%EnableLux" ParameterType="%AID%_PT-CheckBox" Text="Lux" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%085" Name="p%C%EnableDayPhase" ParameterType="%AID%_PT-ValueDpt5" Text="DayPhase" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%095" Name="p%C%InternalHardwareInUse" ParameterType="%AID%_PT-CheckBox" Text="Internal Hardware" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%096" Name="p%C%LeaveRoom" ParameterType="%AID%_PT-ValueDpt5" Text="Leave room possible - with mode" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%003" Name="p%C%LeaveRoomModeChosen" ParameterType="%AID%_PT-ValueDpt5" Text="Leave room mode chosen" Value="0" />
<!-- Calculate existence of move or presence signal -->
<Parameter Id="%AID%_P-%TT%%CC%001" Name="p%C%SignalMove" ParameterType="%AID%_PT-CheckBox" Text="Move signal exists" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%002" Name="p%C%SignalPresence" ParameterType="%AID%_PT-CheckBox" Text="Presence signal exists" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%010" Name="p%C%ExternalSignalMove" ParameterType="%AID%_PT-CheckBox" Text="External move signal exists" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%011" Name="p%C%ExternalSignalPresence" ParameterType="%AID%_PT-CheckBox" Text="External presence signal exists" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%020" Name="p%C%HardwareSignalMove" ParameterType="%AID%_PT-CheckBox" Text="External move signal exists" Value="0" />
<Parameter Id="%AID%_P-%TT%%CC%021" Name="p%C%HardwareSignalPresence" ParameterType="%AID%_PT-CheckBox" Text="External presence signal exists" Value="0" />
<!-- Phase 1 - 4 -->
<op:usePart name="PHASE" xpath="//Parameters/*" />
<!-- Phase 2 -->
<!-- <op:usePart name="PHASE" xpath="//Parameters/*" /> -->
<!-- Phase 3 -->
<!-- <op:usePart name="PHASE" xpath="//Parameters/*" /> -->
<!-- Phase 4 -->
<!-- <op:usePart name="PHASE" xpath="//Parameters/*" /> -->
</Parameters>
<ParameterRefs>
<ParameterRef Id="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" RefId="%AID%_P-%TT%%CC%000" />
<ParameterRef Id="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" RefId="%AID%_P-%TT%%CC%001" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" RefId="%AID%_P-%TT%%CC%002" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%003_R-%TT%%CC%00301" RefId="%AID%_P-%TT%%CC%003" Access="None" />
<ParameterRef Id="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401" RefId="%AID%_UP-%TT%%CC%004" />
<ParameterRef Id="%AID%_UP-%TT%%CC%005_R-%TT%%CC%00501" RefId="%AID%_UP-%TT%%CC%005" />
<ParameterRef Id="%AID%_UP-%TT%%CC%006_R-%TT%%CC%00601" RefId="%AID%_UP-%TT%%CC%006" />
<ParameterRef Id="%AID%_UP-%TT%%CC%007_R-%TT%%CC%00701" RefId="%AID%_UP-%TT%%CC%007" />
<ParameterRef Id="%AID%_UP-%TT%%CC%008_R-%TT%%CC%00801" RefId="%AID%_UP-%TT%%CC%008" />
<ParameterRef Id="%AID%_UP-%TT%%CC%009_R-%TT%%CC%00901" RefId="%AID%_UP-%TT%%CC%009" />
<ParameterRef Id="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" RefId="%AID%_P-%TT%%CC%010" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" RefId="%AID%_P-%TT%%CC%011" Access="None" />
<ParameterRef Id="%AID%_UP-%TT%%CC%012_R-%TT%%CC%01201" RefId="%AID%_UP-%TT%%CC%012" />
<ParameterRef Id="%AID%_UP-%TT%%CC%013_R-%TT%%CC%01301" RefId="%AID%_UP-%TT%%CC%013" />
<ParameterRef Id="%AID%_UP-%TT%%CC%014_R-%TT%%CC%01401" RefId="%AID%_UP-%TT%%CC%014" />
<ParameterRef Id="%AID%_UP-%TT%%CC%015_R-%TT%%CC%01501" RefId="%AID%_UP-%TT%%CC%015" />
<ParameterRef Id="%AID%_UP-%TT%%CC%016_R-%TT%%CC%01601" RefId="%AID%_UP-%TT%%CC%016" />
<ParameterRef Id="%AID%_UP-%TT%%CC%017_R-%TT%%CC%01701" RefId="%AID%_UP-%TT%%CC%017" />
<ParameterRef Id="%AID%_UP-%TT%%CC%018_R-%TT%%CC%01801" RefId="%AID%_UP-%TT%%CC%018" />
<ParameterRef Id="%AID%_UP-%TT%%CC%019_R-%TT%%CC%01901" RefId="%AID%_UP-%TT%%CC%019" />
<ParameterRef Id="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" RefId="%AID%_P-%TT%%CC%020" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" RefId="%AID%_P-%TT%%CC%021" Access="None" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%022_R-%TT%%CC%02201" RefId="%AID%_UP-%TT%%CC%022" /> -->
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%023_R-%TT%%CC%02301" RefId="%AID%_UP-%TT%%CC%023" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%024_R-%TT%%CC%02401" RefId="%AID%_UP-%TT%%CC%024" />
<ParameterRef Id="%AID%_UP-%TT%%CC%025_R-%TT%%CC%02501" RefId="%AID%_UP-%TT%%CC%025" />
<ParameterRef Id="%AID%_P-%TT%%CC%026_R-%TT%%CC%02601" RefId="%AID%_P-%TT%%CC%026" />
<ParameterRef Id="%AID%_P-%TT%%CC%027_R-%TT%%CC%02701" RefId="%AID%_P-%TT%%CC%027" />
<ParameterRef Id="%AID%_P-%TT%%CC%028_R-%TT%%CC%02801" RefId="%AID%_P-%TT%%CC%028" />
<ParameterRef Id="%AID%_P-%TT%%CC%029_R-%TT%%CC%02901" RefId="%AID%_P-%TT%%CC%029" />
<ParameterRef Id="%AID%_UP-%TT%%CC%030_R-%TT%%CC%03001" RefId="%AID%_UP-%TT%%CC%030" />
<ParameterRef Id="%AID%_UP-%TT%%CC%031_R-%TT%%CC%03101" RefId="%AID%_UP-%TT%%CC%031" />
<ParameterRef Id="%AID%_UP-%TT%%CC%032_R-%TT%%CC%03201" RefId="%AID%_UP-%TT%%CC%032" />
<ParameterRef Id="%AID%_UP-%TT%%CC%033_R-%TT%%CC%03301" RefId="%AID%_UP-%TT%%CC%033" />
<ParameterRef Id="%AID%_UP-%TT%%CC%034_R-%TT%%CC%03401" RefId="%AID%_UP-%TT%%CC%034" />
<ParameterRef Id="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501" RefId="%AID%_UP-%TT%%CC%035" />
<ParameterRef Id="%AID%_UP-%TT%%CC%036_R-%TT%%CC%03601" RefId="%AID%_UP-%TT%%CC%036" />
<ParameterRef Id="%AID%_UP-%TT%%CC%037_R-%TT%%CC%03701" RefId="%AID%_UP-%TT%%CC%037" />
<ParameterRef Id="%AID%_UP-%TT%%CC%038_R-%TT%%CC%03801" RefId="%AID%_UP-%TT%%CC%038" />
<ParameterRef Id="%AID%_UP-%TT%%CC%039_R-%TT%%CC%03901" RefId="%AID%_UP-%TT%%CC%039" />
<ParameterRef Id="%AID%_UP-%TT%%CC%040_R-%TT%%CC%04001" RefId="%AID%_UP-%TT%%CC%040" />
<ParameterRef Id="%AID%_UP-%TT%%CC%041_R-%TT%%CC%04101" RefId="%AID%_UP-%TT%%CC%041" />
<ParameterRef Id="%AID%_UP-%TT%%CC%042_R-%TT%%CC%04201" RefId="%AID%_UP-%TT%%CC%042" />
<ParameterRef Id="%AID%_UP-%TT%%CC%043_R-%TT%%CC%04301" RefId="%AID%_UP-%TT%%CC%043" />
<ParameterRef Id="%AID%_UP-%TT%%CC%044_R-%TT%%CC%04401" RefId="%AID%_UP-%TT%%CC%044" />
<ParameterRef Id="%AID%_UP-%TT%%CC%045_R-%TT%%CC%04501" RefId="%AID%_UP-%TT%%CC%045" />
<ParameterRef Id="%AID%_UP-%TT%%CC%046_R-%TT%%CC%04601" RefId="%AID%_UP-%TT%%CC%046" />
<ParameterRef Id="%AID%_UP-%TT%%CC%047_R-%TT%%CC%04701" RefId="%AID%_UP-%TT%%CC%047" />
<ParameterRef Id="%AID%_UP-%TT%%CC%048_R-%TT%%CC%04801" RefId="%AID%_UP-%TT%%CC%048" />
<ParameterRef Id="%AID%_UP-%TT%%CC%049_R-%TT%%CC%04901" RefId="%AID%_UP-%TT%%CC%049" />
<ParameterRef Id="%AID%_UP-%TT%%CC%050_R-%TT%%CC%05001" RefId="%AID%_UP-%TT%%CC%050" />
<ParameterRef Id="%AID%_UP-%TT%%CC%051_R-%TT%%CC%05101" RefId="%AID%_UP-%TT%%CC%051" />
<ParameterRef Id="%AID%_UP-%TT%%CC%052_R-%TT%%CC%05201" RefId="%AID%_UP-%TT%%CC%052" />
<ParameterRef Id="%AID%_UP-%TT%%CC%053_R-%TT%%CC%05301" RefId="%AID%_UP-%TT%%CC%053" />
<ParameterRef Id="%AID%_UP-%TT%%CC%054_R-%TT%%CC%05401" RefId="%AID%_UP-%TT%%CC%054" />
<ParameterRef Id="%AID%_UP-%TT%%CC%055_R-%TT%%CC%05501" RefId="%AID%_UP-%TT%%CC%055" />
<ParameterRef Id="%AID%_UP-%TT%%CC%056_R-%TT%%CC%05601" RefId="%AID%_UP-%TT%%CC%056" />
<ParameterRef Id="%AID%_UP-%TT%%CC%057_R-%TT%%CC%05701" RefId="%AID%_UP-%TT%%CC%057" />
<ParameterRef Id="%AID%_UP-%TT%%CC%058_R-%TT%%CC%05801" RefId="%AID%_UP-%TT%%CC%058" />
<ParameterRef Id="%AID%_UP-%TT%%CC%059_R-%TT%%CC%05901" RefId="%AID%_UP-%TT%%CC%059" />
<ParameterRef Id="%AID%_UP-%TT%%CC%060_R-%TT%%CC%06001" RefId="%AID%_UP-%TT%%CC%060" />
<ParameterRef Id="%AID%_UP-%TT%%CC%061_R-%TT%%CC%06101" RefId="%AID%_UP-%TT%%CC%061" />
<ParameterRef Id="%AID%_UP-%TT%%CC%062_R-%TT%%CC%06201" RefId="%AID%_UP-%TT%%CC%062" />
<ParameterRef Id="%AID%_UP-%TT%%CC%063_R-%TT%%CC%06301" RefId="%AID%_UP-%TT%%CC%063" />
<ParameterRef Id="%AID%_UP-%TT%%CC%064_R-%TT%%CC%06401" RefId="%AID%_UP-%TT%%CC%064" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%065_R-%TT%%CC%06501" RefId="%AID%_UP-%TT%%CC%065" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%065_R-%TT%%CC%06502" RefId="%AID%_UP-%TT%%CC%065" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%066_R-%TT%%CC%06601" RefId="%AID%_UP-%TT%%CC%066" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%067_R-%TT%%CC%06701" RefId="%AID%_UP-%TT%%CC%067" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%067_R-%TT%%CC%06702" RefId="%AID%_UP-%TT%%CC%067" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%068_R-%TT%%CC%06801" RefId="%AID%_UP-%TT%%CC%068" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%069_R-%TT%%CC%06901" RefId="%AID%_UP-%TT%%CC%069" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%069_R-%TT%%CC%06902" RefId="%AID%_UP-%TT%%CC%069" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%070_R-%TT%%CC%07001" RefId="%AID%_UP-%TT%%CC%070" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%071_R-%TT%%CC%07101" RefId="%AID%_UP-%TT%%CC%071" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%071_R-%TT%%CC%07102" RefId="%AID%_UP-%TT%%CC%071" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%072_R-%TT%%CC%07201" RefId="%AID%_UP-%TT%%CC%072" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%073_R-%TT%%CC%07301" RefId="%AID%_UP-%TT%%CC%073" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%073_R-%TT%%CC%07302" RefId="%AID%_UP-%TT%%CC%073" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%074_R-%TT%%CC%07401" RefId="%AID%_UP-%TT%%CC%074" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%075_R-%TT%%CC%07501" RefId="%AID%_UP-%TT%%CC%075" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%075_R-%TT%%CC%07502" RefId="%AID%_UP-%TT%%CC%075" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%076_R-%TT%%CC%07601" RefId="%AID%_UP-%TT%%CC%076" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%077_R-%TT%%CC%07701" RefId="%AID%_UP-%TT%%CC%077" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%077_R-%TT%%CC%07702" RefId="%AID%_UP-%TT%%CC%077" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%078_R-%TT%%CC%07801" RefId="%AID%_UP-%TT%%CC%078" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%079_R-%TT%%CC%07901" RefId="%AID%_UP-%TT%%CC%079" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%079_R-%TT%%CC%07902" RefId="%AID%_UP-%TT%%CC%079" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%080_R-%TT%%CC%08001" RefId="%AID%_UP-%TT%%CC%080" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%081_R-%TT%%CC%08101" RefId="%AID%_UP-%TT%%CC%081" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%081_R-%TT%%CC%08102" RefId="%AID%_UP-%TT%%CC%081" Value="1" />
<ParameterRef Id="%AID%_UP-%TT%%CC%082_R-%TT%%CC%08201" RefId="%AID%_UP-%TT%%CC%082" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%083_R-%TT%%CC%08301" RefId="%AID%_UP-%TT%%CC%083" Access="Read" /> -->
<ParameterRef Id="%AID%_UP-%TT%%CC%083_R-%TT%%CC%08302" RefId="%AID%_UP-%TT%%CC%083" Value="1" />
<ParameterRef Id="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401" RefId="%AID%_P-%TT%%CC%084" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%085_R-%TT%%CC%08501" RefId="%AID%_P-%TT%%CC%085" Access="None" />
<ParameterRef Id="%AID%_UP-%TT%%CC%086_R-%TT%%CC%08601" RefId="%AID%_UP-%TT%%CC%086" />
<ParameterRef Id="%AID%_UP-%TT%%CC%087_R-%TT%%CC%08701" RefId="%AID%_UP-%TT%%CC%087" />
<ParameterRef Id="%AID%_UP-%TT%%CC%088_R-%TT%%CC%08801" RefId="%AID%_UP-%TT%%CC%088" />
<ParameterRef Id="%AID%_UP-%TT%%CC%089_R-%TT%%CC%08901" RefId="%AID%_UP-%TT%%CC%089" />
<ParameterRef Id="%AID%_UP-%TT%%CC%090_R-%TT%%CC%09001" RefId="%AID%_UP-%TT%%CC%090" />
<ParameterRef Id="%AID%_UP-%TT%%CC%091_R-%TT%%CC%09101" RefId="%AID%_UP-%TT%%CC%091" />
<ParameterRef Id="%AID%_UP-%TT%%CC%092_R-%TT%%CC%09201" RefId="%AID%_UP-%TT%%CC%092" />
<ParameterRef Id="%AID%_UP-%TT%%CC%093_R-%TT%%CC%09301" RefId="%AID%_UP-%TT%%CC%093" />
<!-- <ParameterRef Id="%AID%_UP-%TT%%CC%094_R-%TT%%CC%09401" RefId="%AID%_UP-%TT%%CC%094" /> -->
<ParameterRef Id="%AID%_P-%TT%%CC%095_R-%TT%%CC%09501" RefId="%AID%_P-%TT%%CC%095" Access="None" />
<ParameterRef Id="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" RefId="%AID%_P-%TT%%CC%096" Access="None" />
<ParameterRef Id="%AID%_UP-%TT%%CC%097_R-%TT%%CC%09701" RefId="%AID%_UP-%TT%%CC%097" />
<ParameterRef Id="%AID%_UP-%TT%%CC%098_R-%TT%%CC%09801" RefId="%AID%_UP-%TT%%CC%098" />
<ParameterRef Id="%AID%_UP-%TT%%CC%099_R-%TT%%CC%09901" RefId="%AID%_UP-%TT%%CC%099" />
<ParameterRef Id="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001" RefId="%AID%_UP-%TT%%CC%900" />
<ParameterRef Id="%AID%_UP-%TT%%CC%901_R-%TT%%CC%90101" RefId="%AID%_UP-%TT%%CC%901" />
<ParameterRef Id="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90201" RefId="%AID%_UP-%TT%%CC%902" />
<ParameterRef Id="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90202" RefId="%AID%_UP-%TT%%CC%902" Text="Eingang weitere Präsenz" />
<ParameterRef Id="%AID%_UP-%TT%%CC%903_R-%TT%%CC%90301" RefId="%AID%_UP-%TT%%CC%903" />
<ParameterRef Id="%AID%_UP-%TT%%CC%904_R-%TT%%CC%90401" RefId="%AID%_UP-%TT%%CC%904" />
<!-- Phase 1 -->
<op:usePart name="PHASE" xpath="//ParameterRefs/*" instanceFrom="1" instanceTo="4" />
<!-- Phase 2 -->
<!-- <op:usePart name="PHASE" xpath="//ParameterRefs/*" /> -->
<!-- Phase 3 -->
<!-- <op:usePart name="PHASE" xpath="//ParameterRefs/*" /> -->
<!-- Phase 4 -->
<!-- <op:usePart name="PHASE" xpath="//ParameterRefs/*" /> -->
</ParameterRefs>
<ComObjectTable>
<ComObject Id="%AID%_O-%TT%%CC%000" Name="KOp%C%Lux" Number="%K0%" Text="Helligkeit extern" ObjectSize="2 Bytes" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-9-4" />
<ComObject Id="%AID%_O-%TT%%CC%001" Name="KOp%C%Presence1" Number="%K1%" Text="Präsenz" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%002" Name="KOp%C%Presence2" Number="%K2%" Text="Bewegung" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%003" Name="KOp%C%SetAuto" Number="%K3%" Text="Automatik übersteuern" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%004" Name="KOp%C%SetManual" Number="%K4%" Text="Manuell übersteuern" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%005" Name="KOp%C%AktorState" Number="%K5%" Text="Aktorstatus" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%007" Name="KOp%C%Lock" Number="%K6%" Text="Zwangsführung" ObjectSize="2 Bit" FunctionText="PM %C%, Ein-/Ausgang" ReadFlag="Enabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-2-1" />
<ComObject Id="%AID%_O-%TT%%CC%008" Name="KOp%C%Reset" Number="%K7%" Text="Reset" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang, Trigger" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-15" />
<ComObject Id="%AID%_O-%TT%%CC%009" Name="KOp%C%DayPhase" Number="%K8%" Text="Tagesphase" ObjectSize="1 Byte" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-17-1" />
<ComObject Id="%AID%_O-%TT%%CC%010" Name="KOp%C%LuxOn" Number="%K9%" Text="Einschalt-Helligkeitsschwelle" ObjectSize="2 Bytes" FunctionText="PM %C%, Ein-/Ausgang" ReadFlag="Enabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-9-4" />
<ComObject Id="%AID%_O-%TT%%CC%006" Name="KOp%C%LuxOff" Number="%K10%" Text="Ausschalt-Helligkeitsschwelle" ObjectSize="2 Bytes" FunctionText="PM %C%, Ausgang" ReadFlag="Enabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-9-4" />
<ComObject Id="%AID%_O-%TT%%CC%011" Name="KOp%C%PresenceDelay" Number="%K11%" Text="Nachlaufzeit" ObjectSize="2 Bytes" FunctionText="PM %C%, Ein-/Ausgang" ReadFlag="Enabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-7-5" />
<ComObject Id="%AID%_O-%TT%%CC%012" Name="KOp%C%Scene" Number="%K12%" Text="PM über Szene steuern" ObjectSize="1 Byte" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-17-1" />
<ComObject Id="%AID%_O-%TT%%CC%013" Name="KOp%C%Output" Number="%K13%" Text="Wert 1" ObjectSize="1 Byte" FunctionText="PM %C%, Ausgang 1" ReadFlag="Enabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-5" />
<ComObject Id="%AID%_O-%TT%%CC%014" Name="KOp%C%Output2" Number="%K14%" Text="Wert 2" ObjectSize="1 Byte" FunctionText="PM %C%, Ausgang 2" ReadFlag="Enabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-5" />
<ComObject Id="%AID%_O-%TT%%CC%015" Name="KOp%C%IsManual" Number="%K15%" Text="Status Manuell(1)/Automatik(0)" ObjectSize="1 Bit" FunctionText="PM %C%, Ausgang" ReadFlag="Enabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%016" Name="KOp%C%ChangeDimRel" Number="%K16%" Text="Änderung relativ dimmen" ObjectSize="4 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-3-7" />
<ComObject Id="%AID%_O-%TT%%CC%017" Name="KOp%C%ChangeDimAbs" Number="%K17%" Text="Änderung absolut dimmen" ObjectSize="1 Byte" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-1" />
<ComObject Id="%AID%_O-%TT%%CC%018" Name="KOp%C%ChangeSwitch" Number="%K18%" Text="Änderung schalten" ObjectSize="1 Bit" FunctionText="PM %C%, Eingang" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-%TT%%CC%019" Name="KOp%C%ResetExternalPM" Number="%K19%" Text="Externen PM zurücksetzen" ObjectSize="1 Bit" FunctionText="PM %C%, Ausgang, Trigger" ReadFlag="Disabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-15" />
</ComObjectTable>
<ComObjectRefs>
<ComObjectRef Id="%AID%_O-%TT%%CC%000_R-%TT%%CC%00001" RefId="%AID%_O-%TT%%CC%000" Text="{{0:PM %C%}}: Helligkeit extern" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%001_R-%TT%%CC%00101" RefId="%AID%_O-%TT%%CC%001" Text="{{0:PM %C%}}: Präsenz" FunctionText="PM %C%, Eingang" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Enabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%001_R-%TT%%CC%00102" RefId="%AID%_O-%TT%%CC%001" Text="{{0:PM %C%}}: Präsenz" FunctionText="PM %C%, Eingang, Trigger" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Disabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%002_R-%TT%%CC%00201" RefId="%AID%_O-%TT%%CC%002" Text="{{0:PM %C%}}: Bewegung" FunctionText="PM %C%, Eingang" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Enabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%002_R-%TT%%CC%00202" RefId="%AID%_O-%TT%%CC%002" Text="{{0:PM %C%}}: Weitere Präsenz" FunctionText="PM %C%, Eingang" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Enabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%002_R-%TT%%CC%00203" RefId="%AID%_O-%TT%%CC%002" Text="{{0:PM %C%}}: Bewegung" FunctionText="PM %C%, Eingang, Trigger" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Disabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%002_R-%TT%%CC%00204" RefId="%AID%_O-%TT%%CC%002" Text="{{0:PM %C%}}: Weitere Präsenz" FunctionText="PM %C%, Eingang, Trigger" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" UpdateFlag="Disabled" />
<ComObjectRef Id="%AID%_O-%TT%%CC%003_R-%TT%%CC%00301" RefId="%AID%_O-%TT%%CC%003" Text="{{0:PM %C%}}: Automatik übersteuern" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%004_R-%TT%%CC%00401" RefId="%AID%_O-%TT%%CC%004" Text="{{0:PM %C%}}: Manuell übersteuern" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%005_R-%TT%%CC%00501" RefId="%AID%_O-%TT%%CC%005" Text="{{0:PM %C%}}: Aktorstatus" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%006_R-%TT%%CC%00601" RefId="%AID%_O-%TT%%CC%006" Text="{{0:PM %C%}}: Ausschalt-Helligkeitsschwelle" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%007_R-%TT%%CC%00701" RefId="%AID%_O-%TT%%CC%007" Text="{{0:PM %C%}}: Sperre" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" ObjectSize="1 Bit" DatapointType="DPST-1-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%007_R-%TT%%CC%00702" RefId="%AID%_O-%TT%%CC%007" Text="{{0:PM %C%}}: Zwangsführung" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" ObjectSize="2 Bit" DatapointType="DPST-2-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%008_R-%TT%%CC%00801" RefId="%AID%_O-%TT%%CC%008" Text="{{0:PM %C%}}: Reset" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%009_R-%TT%%CC%00901" RefId="%AID%_O-%TT%%CC%009" Text="{{0:PM %C%}}: Tagesphase" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" ObjectSize="1 Byte" DatapointType="DPST-17-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%009_R-%TT%%CC%00902" RefId="%AID%_O-%TT%%CC%009" Text="{{0:PM %C%}}: Tag/Nacht" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" ObjectSize="1 Bit" DatapointType="DPST-1-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%010_R-%TT%%CC%01001" RefId="%AID%_O-%TT%%CC%010" Text="{{0:PM %C%}}: Einschalt-Helligkeitsschwelle" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%011_R-%TT%%CC%01101" RefId="%AID%_O-%TT%%CC%011" Text="{{0:PM %C%}}: Nachlaufzeit" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%012_R-%TT%%CC%01201" RefId="%AID%_O-%TT%%CC%012" Text="{{0:PM %C%}}: PM über Szene steuern" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%013_R-%TT%%CC%01301" RefId="%AID%_O-%TT%%CC%013" Text="{{0:PM %C%}}: Schalten 1" ObjectSize="1 Bit" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-1-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%013_R-%TT%%CC%01302" RefId="%AID%_O-%TT%%CC%013" Text="{{0:PM %C%}}: Wert 1" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-5-5" />
<ComObjectRef Id="%AID%_O-%TT%%CC%013_R-%TT%%CC%01303" RefId="%AID%_O-%TT%%CC%013" Text="{{0:PM %C%}}: Szene 1" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-17-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%013_R-%TT%%CC%01304" RefId="%AID%_O-%TT%%CC%013" Text="{{0:PM %C%}}: Dimmen 1" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-5-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%014_R-%TT%%CC%01401" RefId="%AID%_O-%TT%%CC%014" Text="{{0:PM %C%}}: Schalten 2" ObjectSize="1 Bit" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-1-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%014_R-%TT%%CC%01402" RefId="%AID%_O-%TT%%CC%014" Text="{{0:PM %C%}}: Wert 2" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-5-5" />
<ComObjectRef Id="%AID%_O-%TT%%CC%014_R-%TT%%CC%01403" RefId="%AID%_O-%TT%%CC%014" Text="{{0:PM %C%}}: Szene 2" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-17-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%014_R-%TT%%CC%01404" RefId="%AID%_O-%TT%%CC%014" Text="{{0:PM %C%}}: Dimmen 2" ObjectSize="1 Byte" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" DatapointType="DPST-5-1" />
<ComObjectRef Id="%AID%_O-%TT%%CC%015_R-%TT%%CC%01501" RefId="%AID%_O-%TT%%CC%015" Text="{{0:PM %C%}}: Status Manuell(1)/Automatik(0)" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%016_R-%TT%%CC%01601" RefId="%AID%_O-%TT%%CC%016" Text="{{0:PM %C%}}: Änderung relativ dimmen" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%017_R-%TT%%CC%01701" RefId="%AID%_O-%TT%%CC%017" Text="{{0:PM %C%}}: Änderung absolut dimmen" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%018_R-%TT%%CC%01801" RefId="%AID%_O-%TT%%CC%018" Text="{{0:PM %C%}}: Änderung schalten" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
<ComObjectRef Id="%AID%_O-%TT%%CC%019_R-%TT%%CC%01901" RefId="%AID%_O-%TT%%CC%019" Text="{{0:PM %C%}}: Externen PM zurücksetzen" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" />
</ComObjectRefs>
</Static>
<Dynamic>
<ChannelIndependentBlock>
<choose ParamRefId="%AID%_UP-%TT%00020_R-%TT%0002001">
<when test=">=%C%">
<ParameterBlock Id="%AID%_PB-%C%1" Name="PM%C%Page" Text="PM %C%: {{0: ...}}" TextParameterRefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" Icon="sphere" HelpContext="Empty" ShowInComObjectTree="true">
<!-- hidden, but necessary -->
<!-- Enable external brightness -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401" /> -->
<!-- Determine Tagespahase-KO or Tag/Nacht-KO -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%085_R-%TT%%CC%08501" /> -->
<!-- Leave Room variants -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" /> -->
<!-- Move exists -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" /> -->
<!-- Presence exists -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" /> -->
<!-- checked Calculated leave room mode -->
<ParameterRefRef RefId="%AID%_P-%TT%%CC%003_R-%TT%%CC%00301" />
<!-- move and presence calculation helper -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" /> -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" /> -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" /> -->
<!-- checked <ParameterRefRef RefId="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" /> -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Kanaldefinition" UIHint="Headline" />
<!-- Channel name -->
<ParameterRefRef RefId="%AID%_P-%TT%%CC%000_R-%TT%%CC%00001" HelpContext="%DOC%" IndentLevel="1" />
<!-- Delay pattern: Channel delay -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%ChannelDelay" Inline="true" Layout="Grid" HelpContext="PM-Startverzoegerung-fuer-diesen-Kanal">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="Row1" />
</Rows>
<Columns>
<Column Id="%AID%_PB-nnn_C-1" Name="Col1" Width="1%" />
<Column Id="%AID%_PB-nnn_C-2" Name="Col2" Width="44%" />
<Column Id="%AID%_PB-nnn_C-3" Name="Col3" Width="15%" />
<Column Id="%AID%_PB-nnn_C-4" Name="Col4" Width="20%" />
</Columns>
<ParameterSeparator Id="%AID%_PS-nnn" Text=" Startverzögerung für diesen Kanal" Cell="1,2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%019_R-%TT%%CC%01901" Cell="1,3" HelpContext="%DOC%" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%018_R-%TT%%CC%01801" Cell="1,4" HelpContext="%DOC%" />
</ParameterBlock>
<!-- end of delay pattern -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%008_R-%TT%%CC%00801" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%008_R-%TT%%CC%00801">
<when test="2">
<ParameterSeparator Id="%AID%_PS-nnn" Text="Wenn ein Kanal funktionslos geschaltet wird, bleiben alle Parameter und GA-Zuweisungen erhalten, ohne dass der Kanal etwas macht. Dies kann bei einer Fehlersuche sinnvoll sein." />
</when>
<when test=">0">
<!-- KO which are always visible -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%011_R-%TT%%CC%01101" />
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%015_R-%TT%%CC%01501" />
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%016_R-%TT%%CC%01601" />
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%017_R-%TT%%CC%01701" />
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%018_R-%TT%%CC%01801" />
<!-- followed by the ones which are hidden, if they are internal KO -->
<choose ParamRefId="%AID%_UP-%TT%%CC%070_R-%TT%%CC%07001">
<when test="0">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%003_R-%TT%%CC%00301" />
</when>
</choose>
<choose ParamRefId="%AID%_UP-%TT%%CC%072_R-%TT%%CC%07201">
<when test="0">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%004_R-%TT%%CC%00401" />
</when>
</choose>
<choose ParamRefId="%AID%_UP-%TT%%CC%074_R-%TT%%CC%07401">
<when test="0">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%005_R-%TT%%CC%00501" />
</when>
</choose>
<choose ParamRefId="%AID%_UP-%TT%%CC%078_R-%TT%%CC%07801">
<when test="0">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%008_R-%TT%%CC%00801" />
</when>
</choose>
<choose ParamRefId="%AID%_UP-%TT%%CC%082_R-%TT%%CC%08201">
<when test="0">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%012_R-%TT%%CC%01201" />
</when>
</choose>
<ParameterSeparator Id="%AID%_PS-nnn" Text="" UIHint="HorizontalRuler" />
<!-- lux settings -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Helligkeit" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%009_R-%TT%%CC%00901" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%009_R-%TT%%CC%00901">
<when test="0">
<!-- is lux dependent -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%010_R-%TT%%CC%01001" />
<!-- check for hardware lux -->
<choose ParamRefId="%AID%_UP-%TT%00007_R-%TT%0000701">
<when test="0">
<!-- there is no hardware sensor, we use external brightness -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401" Value="1" />
</when>
<when test="!=0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%034_R-%TT%%CC%03401" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%034_R-%TT%%CC%03401">
<when test="0">
<!-- the user don't want to use hardware sensor, we use external brightness -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401" Value="1" />
</when>
<when test="!=0">
<!-- Reset external brightness -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401" Value="0" />
</when>
</choose>
</when>
</choose>
<choose ParamRefId="%AID%_P-%TT%%CC%084_R-%TT%%CC%08401">
<when test="1">
<!-- we use external brightness -->
<choose ParamRefId="%AID%_UP-%TT%%CC%064_R-%TT%%CC%06401">
<when test="0">
<!-- but only if there is no internal KO connected -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%000_R-%TT%%CC%00001" />
</when>
</choose>
</when>
</choose>
<ParameterSeparator Id="%AID%_PS-nnn" Text="Die folgenden Einstellungen sind nur wichtig, wenn in den Tagesphasen das Ausschalten über adaptive Helligkeitsschwelle gewählt wird." />
<!-- Delay pattern brightness off -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%BrightnessOffDelay4" Inline="true" Layout="Grid" HelpContext="PM-Totzeit-bis-zur-Helligkeitsanpassung">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="Row1" />
</Rows>
<Columns>
<Column Id="%AID%_PB-nnn_C-1" Name="Col1" Width="1%" />
<Column Id="%AID%_PB-nnn_C-2" Name="Col2" Width="44%" />
<Column Id="%AID%_PB-nnn_C-3" Name="Col3" Width="15%" />
<Column Id="%AID%_PB-nnn_C-4" Name="Col4" Width="25%" />
</Columns>
<ParameterSeparator Id="%AID%_PS-nnn" Text=" Totzeit bis zur Helligkeitsanpassung" Cell="1,2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%062_R-%TT%%CC%06201" Cell="1,3" HelpContext="%DOC%" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%061_R-%TT%%CC%06101" Cell="1,4" HelpContext="%DOC%" />
</ParameterBlock>
<!-- end of delay pattern -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%063_R-%TT%%CC%06301" HelpContext="%DOC%" IndentLevel="1" />
</when>
</choose>
<ParameterSeparator Id="%AID%_PS-nnn" Text="" UIHint="HorizontalRuler" />
<!-- Presence input settings -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Präsenzeingänge" UIHint="Headline" />
<!-- is there also HF presence hardware -->
<choose ParamRefId="%AID%_UP-%TT%00006_R-%TT%0000601">
<when test="0">
<!-- is there also PIR presence hardware -->
<choose ParamRefId="%AID%_UP-%TT%00022_R-%TT%0002201">
<when test=">0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%036_R-%TT%%CC%03601" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%036_R-%TT%%CC%03601">
<when test="!=0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%095_R-%TT%%CC%09501" Value="1" />
</when>
</choose>
</when>
</choose>
</when>
<when test="!=0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501">
<when test=">0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%095_R-%TT%%CC%09501" Value="1" />
</when>
</choose>
</when>
</choose>
<!-- external PM -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001">
<when test="1">
<!-- Presence input exists -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%901_R-%TT%%CC%90101" HelpContext="PM-Eingang" IndentLevel="1" />
<!-- is there also presence hardware, so we allow just keep alive mode -->
<choose ParamRefId="%AID%_P-%TT%%CC%095_R-%TT%%CC%09501">
<when test="1">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%903_R-%TT%%CC%90301" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
</when>
</choose>
</when>
<when test="2">
<!-- Move input exists -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90201" HelpContext="PM-Eingang" IndentLevel="1" />
<!-- is there also presence hardware, so we allow just keep alive mode -->
<choose ParamRefId="%AID%_P-%TT%%CC%095_R-%TT%%CC%09501">
<when test="1">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%904_R-%TT%%CC%90401" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
</when>
</choose>
</when>
<when test="3">
<!-- Presence and Move input exists -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%901_R-%TT%%CC%90101" HelpContext="PM-Eingang" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%903_R-%TT%%CC%90301" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90201" HelpContext="PM-Eingang" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%904_R-%TT%%CC%90401" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
</when>
<when test="4">
<!-- Presence and additional Presence input exists -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%901_R-%TT%%CC%90101" HelpContext="PM-Eingang" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%903_R-%TT%%CC%90301" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90202" HelpContext="PM-Eingang" IndentLevel="1" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%904_R-%TT%%CC%90401" HelpContext="PM-kann-nicht-einschalten" IndentLevel="1" />
</when>
<when test="1 3 4">
<!-- we use external presence input 1 -->
<choose ParamRefId="%AID%_UP-%TT%%CC%066_R-%TT%%CC%06601">
<when test="0">
<!-- but only, if it is not connected internally -->
<choose ParamRefId="%AID%_UP-%TT%%CC%901_R-%TT%%CC%90101">
<when test="0">
<!-- Input as switching input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%001_R-%TT%%CC%00101" />
</when>
<when test="1">
<!-- Input as triggering input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%001_R-%TT%%CC%00102" />
</when>
</choose>
</when>
</choose>
</when>
<when test="2 3 4">
<!-- we use external presence input 2 -->
<choose ParamRefId="%AID%_UP-%TT%%CC%068_R-%TT%%CC%06801">
<when test="0">
<!-- but only, if it is not connected internally -->
<choose ParamRefId="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001">
<when test="4">
<!-- input is additional presence -->
<choose ParamRefId="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90202">
<when test="0">
<!-- Input as switching input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00202" />
</when>
<when test="1">
<!-- Input as triggering input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00204" />
</when>
</choose>
</when>
<when test="2 3">
<!-- input is move -->
<choose ParamRefId="%AID%_UP-%TT%%CC%902_R-%TT%%CC%90201">
<when test="0">
<!-- Input as switching input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00201" />
</when>
<when test="1">
<!-- Input as triggering input -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00203" />
</when>
</choose>
</when>
</choose>
</when>
</choose>
</when>
</choose>
<!-- calculate reset-ability and if leave room is possible -->
<choose ParamRefId="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001">
<when test="0">
<!-- without external PM, we check for PIR-Sensor to allow "Leave room" -->
<choose ParamRefId="%AID%_UP-%TT%%CC%036_R-%TT%%CC%03601">
<!-- <when test="0"> -->
<!-- reset "leave room" -->
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="0" /> -->
<!-- </when> -->
<when test=">0">
<!-- and allow "Leave room" wth mode all -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="3" />
</when>
</choose>
<!-- without external PM, we check for HF-Sensor to allow "Leave room" -->
<choose ParamRefId="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501">
<!-- <when test="0"> -->
<!-- reset "leave room" -->
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="0" /> -->
<!-- </when> -->
<when test=">0">
<!-- and allow "Leave room" wth mode move -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="2" />
</when>
</choose>
</when>
<when test=">0">
<!-- If an external PM is used, we check if it can be resetted -->
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%093_R-%TT%%CC%09301" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%093_R-%TT%%CC%09301">
<when test="1 2">
<!-- we activate reset output -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%019_R-%TT%%CC%01901" />
</when>
</choose>
</when>
<!-- check if second input is move input -->
<when test="2 3">
<!-- check if it is also reset -->
<choose ParamRefId="%AID%_UP-%TT%%CC%093_R-%TT%%CC%09301">
<when test="1 2">
<!-- we allow "Leave room" wth mode all -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="3" />
</when>
<when test="0">
<!-- else we allow "Leave room" wth mode move -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="2" />
</when>
</choose>
</when>
<when test="1 4">
<!-- check if it is also reset -->
<choose ParamRefId="%AID%_UP-%TT%%CC%093_R-%TT%%CC%09301">
<when test="1 2">
<!-- we allow "Leave room" wth mode reset -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="1" />
</when>
<!-- <when test="0"> -->
<!-- else reset "Leave room" -->
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="0" /> -->
<!-- </when> -->
<!-- reset "leave room" -->
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%096_R-%TT%%CC%09601" Value="0" /> -->
</choose>
</when>
</choose>
<!-- calculate, if move and presence signal is available -->
<!-- initialize -->
<!-- <choose ParamRefId="%AID%_UP-%TT%00006_R-%TT%0000601">
<when default="true">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" Value="0" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" Value="0" />
</when>
</choose> -->
<!-- if internal hf sensor is used, we take this into account -->
<choose ParamRefId="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501">
<!-- <when test="0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" Value="0" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" Value="0" />
</when> -->
<when test="2">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" Value="1" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" Value="1" />
</when>
<when test="3">
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" Value="0" /> -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" Value="1" />
</when>
</choose>
<!-- if internal PIR sensor is used, we take this into account -->
<choose ParamRefId="%AID%_UP-%TT%%CC%036_R-%TT%%CC%03601">
<!-- <when test="0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" Value="0" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" Value="0" />
</when> -->
<when test="1">
<choose ParamRefId="%AID%_UP-%TT%%CC%035_R-%TT%%CC%03501">
<when test="0">
<!-- this case means: NOT 2 3 of hf sensor !!! (just a commend for future changes) -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001" Value="1" />
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101" Value="0" /> -->
</when>
</choose>
</when>
</choose>
<!-- if externals sensors are used, we take this into account -->
<choose ParamRefId="%AID%_UP-%TT%%CC%900_R-%TT%%CC%90001">
<!-- <when test="0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" Value="0" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" Value="0" />
</when> -->
<when test="1 4">
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" Value="0" /> -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" Value="1" />
</when>
<when test="2">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" Value="1" />
<!-- <Assign TargetParamRefRef="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" Value="0" /> -->
</when>
<when test="3">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001" Value="1" />
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101" Value="1" />
</when>
</choose>
<!-- Now we create an OR of Hardware- and External-Signals -->
<!-- Move-External -->
<choose ParamRefId="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001">
<when test="1">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" Value="1" />
</when>
</choose>
<!-- OR Move-Hardware -->
<choose ParamRefId="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001">
<when test="1">
<choose ParamRefId="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001">
<when test="1" />
<when default="true">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" Value="1" />
</when>
</choose>
</when>
</choose>
<!-- reset Move-External -->
<!-- <choose ParamRefId="%AID%_P-%TT%%CC%010_R-%TT%%CC%01001">
<when test="0">
<choose ParamRefId="%AID%_P-%TT%%CC%020_R-%TT%%CC%02001">
<when test="0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%001_R-%TT%%CC%00101" Value="0" />
</when>
</choose>
</when>
</choose> -->
<!-- Presence-External -->
<choose ParamRefId="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101">
<when test="1">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" Value="1" />
</when>
</choose>
<!-- OR Presence-Hardware -->
<choose ParamRefId="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101">
<when test="1">
<choose ParamRefId="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101">
<when default="true">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" Value="1" />
</when>
</choose>
</when>
</choose>
<!-- reset Presence-Hardware -->
<!-- <choose ParamRefId="%AID%_P-%TT%%CC%011_R-%TT%%CC%01101">
<when test="0">
<choose ParamRefId="%AID%_P-%TT%%CC%021_R-%TT%%CC%02101">
<when test="0">
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%002_R-%TT%%CC%00201" Value="0" />
</when>
</choose>
</when>
</choose> -->
<!-- End of OR -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="" UIHint="HorizontalRuler" />
<!-- General output settings -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Ausgänge" UIHint="Headline" />
<ParameterSeparator Id="%AID%_PS-nnn" Text="Hier erfolgen die allgemeinen Einstellungen zu den Ausgängen. In den Tagesphasen wird eingestellt, welche konkreten Werte gesendet werden. " />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%006_R-%TT%%CC%00601" HelpContext="PM-Ausgang-ist-vom-Typ" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%006_R-%TT%%CC%00601">
<when test="1">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%013_R-%TT%%CC%01301" />
</when>
<when test="2">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%013_R-%TT%%CC%01302" />
</when>
<when test="3">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%013_R-%TT%%CC%01303" />
</when>
<when test="4">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%013_R-%TT%%CC%01304" />
</when>
</choose>
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%007_R-%TT%%CC%00701" HelpContext="PM-Ausgang-ist-vom-Typ" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%007_R-%TT%%CC%00701">
<when test="1">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%014_R-%TT%%CC%01401" />
</when>
<when test="2">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%014_R-%TT%%CC%01402" />
</when>
<when test="3">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%014_R-%TT%%CC%01403" />
</when>
<when test="4">
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%014_R-%TT%%CC%01404" />
</when>
</choose>
<ParameterSeparator Id="%AID%_PS-nnn" Text="" UIHint="HorizontalRuler" />
<!-- Lock -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Sperre" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%012_R-%TT%%CC%01201" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%012_R-%TT%%CC%01201">
<when test="1">
<!-- Zwangsführung -->
<choose ParamRefId="%AID%_UP-%TT%%CC%076_R-%TT%%CC%07601">
<when test="0">
<!-- but only if it is not connected internally -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%007_R-%TT%%CC%00702" />
</when>
</choose>
</when>
<when test="2">
<!-- Lock -->
<choose ParamRefId="%AID%_UP-%TT%%CC%076_R-%TT%%CC%07601">
<when test="0">
<!-- but only if it is not connected internally -->
<ComObjectRefRef RefId="%AID%_O-%TT%%CC%007_R-%TT%%CC%00701" />
</when>
</choose>
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%013_R-%TT%%CC%01301" HelpContext="%DOC%" IndentLevel="2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%014_R-%TT%%CC%01401" HelpContext="%DOC%" IndentLevel="2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%015_R-%TT%%CC%01501" HelpContext="%DOC%" IndentLevel="2" />
</when>
<when test=">0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%016_R-%TT%%CC%01601" HelpContext="%DOC%" IndentLevel="2" />
<choose ParamRefId="%AID%_UP-%TT%%CC%016_R-%TT%%CC%01601">
<when test="1">
<!-- Delay pattern: Lock Fallback Delay -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%LockFallback" Inline="true" Layout="Grid" HelpContext="PM-Rueckfall-nach">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="Row1" />
</Rows>
<Columns>
<Column Id="%AID%_PB-nnn_C-1" Name="Col1" Width="4%" />
<Column Id="%AID%_PB-nnn_C-2" Name="Col2" Width="40%" />
<Column Id="%AID%_PB-nnn_C-3" Name="Col3" Width="15%" />
<Column Id="%AID%_PB-nnn_C-4" Name="Col4" Width="20%" />
</Columns>
<ParameterSeparator Id="%AID%_PS-nnn" Text="Rückfall nach" Cell="1,2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%025_R-%TT%%CC%02501" Cell="1,3" HelpContext="%DOC%" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%024_R-%TT%%CC%02401" Cell="1,4" HelpContext="%DOC%" />
</ParameterBlock>
<!-- end of delay pattern -->
</when>
</choose>
</when>
</choose>
<ParameterSeparator Id="%AID%_PS-nnn" Text="" UIHint="HorizontalRuler" />
<!-- Day phases -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Tagesphasen" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%005_R-%TT%%CC%00501" HelpContext="%DOC%" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%005_R-%TT%%CC%00501">
<when test="0">
<!-- 1 Phase -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%Phase1Settings" Inline="true" Layout="Grid" HelpContext="PM-Tagesphasentabelle">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="RowHeader" />
<Row Id="%AID%_PB-nnn_R-2" Name="Row1" />
<Row Id="%AID%_PB-nnn_R-3" Name="Row2" />
</Rows>
<Columns>
<Column Id="%AID%_PB-nnn_C-1" Name="Col1" Width="45%" />
<Column Id="%AID%_PB-nnn_C-2" Name="Col2" Width="10%" />
<Column Id="%AID%_PB-nnn_C-3" Name="Col3" Width="25%" />
<Column Id="%AID%_PB-nnn_C-4" Name="Col4" Width="20%" />
</Columns>
<!-- Header -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Phase" Cell="1,2" UIHint="Headline" />
<ParameterSeparator Id="%AID%_PS-nnn" Text="Name" Cell="1,3" UIHint="Headline" />
<ParameterSeparator Id="%AID%_PS-nnn" Text="Szene" Cell="1,4" UIHint="Headline" />
<!-- Phase 1 -->
<ParameterSeparator Id="%AID%_PS-nnn" Text=" 1" Cell="2,2" />
<ParameterRefRef RefId="%AID%_P-%TT%%CC%026_R-%TT%%CC%02601" Cell="2,3" HelpContext="PM-Tagesphasentabelle" />
<ParameterSeparator Id="%AID%_PS-nnn" Text="nicht aktiv" Cell="2,4" />
</ParameterBlock>
</when>
<when test=">0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%017_R-%TT%%CC%01701" HelpContext="%DOC%" IndentLevel="1" />
</when>
<when test="1">
<ParameterSeparator Id="%AID%_PS-nnn" Text="Bei 2 Tagesphasen könen diese über Szenen oder über ein Tag-/Nacht-Objekt angewählt werden. Bei Tag-/Nacht-Objekt gilt: 0=Phase 1, 1=Phase 2" />
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401" HelpContext="PM-Tag-Nacht-Objekt" IndentLevel="1" />
<choose ParamRefId="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401">
<when test="0">
<!-- Tagesphasen-KO -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%085_R-%TT%%CC%08501" Value="1" />
</when>
<when test="1">
<!-- Tag/Nacht-KO -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%085_R-%TT%%CC%08501" Value="2" />
</when>
</choose>
<!-- 2 Phasen -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%Phase2Settings" Inline="true" Layout="Grid" HelpContext="PM-Tagesphasentabelle">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="RowHeader" />
<Row Id="%AID%_PB-nnn_R-2" Name="Row1" />
<Row Id="%AID%_PB-nnn_R-3" Name="Row2" />
</Rows>
<Columns>
<Column Id="%AID%_PB-nnn_C-1" Name="Col1" Width="45%" />
<Column Id="%AID%_PB-nnn_C-2" Name="Col2" Width="10%" />
<Column Id="%AID%_PB-nnn_C-3" Name="Col3" Width="25%" />
<Column Id="%AID%_PB-nnn_C-4" Name="Col4" Width="20%" />
</Columns>
<!-- Header -->
<ParameterSeparator Id="%AID%_PS-nnn" Text="Phase" Cell="1,2" UIHint="Headline" />
<ParameterSeparator Id="%AID%_PS-nnn" Text="Name" Cell="1,3" UIHint="Headline" />
<choose ParamRefId="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401">
<when test="0">
<ParameterSeparator Id="%AID%_PS-nnn" Text="Szene" Cell="1,4" UIHint="Headline" />
</when>
<when test="1">
<ParameterSeparator Id="%AID%_PS-nnn" Text="Tag/Nacht" Cell="1,4" UIHint="Headline" />
</when>
</choose>
<!-- Phase 1 -->
<ParameterSeparator Id="%AID%_PS-nnn" Text=" 1" Cell="2,2" />
<ParameterRefRef RefId="%AID%_P-%TT%%CC%026_R-%TT%%CC%02601" Cell="2,3" HelpContext="PM-Tagesphasentabelle" />
<choose ParamRefId="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401">
<when test="0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%030_R-%TT%%CC%03001" Cell="2,4" HelpContext="PM-Tagesphasentabelle" />
</when>
<when test="1">
<ParameterSeparator Id="%AID%_PS-nnn" Text="AUS (0)" Cell="2,4" />
</when>
</choose>
<!-- Phase 2 -->
<ParameterSeparator Id="%AID%_PS-nnn" Text=" 2" Cell="3,2" />
<ParameterRefRef RefId="%AID%_P-%TT%%CC%027_R-%TT%%CC%02701" Cell="3,3" HelpContext="PM-Tagesphasentabelle" />
<choose ParamRefId="%AID%_UP-%TT%%CC%004_R-%TT%%CC%00401">
<when test="0">
<ParameterRefRef RefId="%AID%_UP-%TT%%CC%031_R-%TT%%CC%03101" Cell="3,4" HelpContext="PM-Tagesphasentabelle" />
</when>
<when test="1">
<ParameterSeparator Id="%AID%_PS-nnn" Text="EIN (1)" Cell="3,4" />
</when>
</choose>
</ParameterBlock>
</when>
<when test=">1">
<!-- 3 oder mehr Phasen -> Tagesphase-KO -->
<Assign TargetParamRefRef="%AID%_P-%TT%%CC%085_R-%TT%%CC%08501" Value="1" />
</when>
<when test="2">
<!-- 3 Phasen -->
<ParameterBlock Id="%AID%_PB-nnn" Name="p%C%Phase3Settings" Inline="true" Layout="Grid" HelpContext="PM-Tagesphasentabelle">
<Rows>
<Row Id="%AID%_PB-nnn_R-1" Name="RowHeader" />
<Row Id="%AID%_PB-nnn_R-2" Name="Row1" />
<Row Id="%AID%_PB-nnn_R-3" Name="Row2" />