-
Notifications
You must be signed in to change notification settings - Fork 0
/
model.interface.prs
3243 lines (3239 loc) · 195 KB
/
model.interface.prs
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
<properties>
<properties class="linked-hash-map">
<entry>
<string>statisticsProperties</string>
<table>
<format maxRecords="2147483647">
<fields>
<field description="Channel Name" keyfield="true" name="name" nullable="true" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HRxSHlx3K15eTmFtZSBtYXkgY29udGFpbiBvbmx5IExhdGluIGxldHRlcnMsIGRpZ2l0cywgYW5kIHVuZGVyc2NvcmVzHQ==</validators>
<help>This is a unique channel ID used to refer to channel data.</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Variable" extendableSelectionValues="true" icon="fi_variable" name="variable" type="S">
<help>Name of the variable whose value will be used in the statistical channel.</help>
<defaultValue/>
</field>
<field description="Enabled" name="enabled" type="B">
<help>Controls whether the channel is active and collects data. Default channels should be disabled instead of deleting them in order to prevent their recreation.</help>
<defaultValue>1</defaultValue>
</field>
<field description="Parameters" icon="var_statistics" name="parameters" nullable="true" type="T">
<help>These are parameters of statistical data collection, storage and processing.</help>
<defaultValue>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Expression" editor="expression" name="expression" type="S">
<defaultValue/>
</field>
<field description="Use Key Field" name="useKeyField" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Key Field" name="keyField" nullable="true" type="S">
<help>Autodetect if value is NULL</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="NULL Value Processing" name="nullValuesProcessing" type="I">
<selectionValues>
<option description="Discard">1</option>
<option description="Treat As Zero">2</option>
</selectionValues>
<defaultValue>1</defaultValue>
</field>
<field description="Out Of Range Value Processing" name="outOfRangeValuesHandling" type="I">
<selectionValues>
<option description="Do Nothing">0</option>
<option description="Discard">1</option>
<option description="Normalize">3</option>
</selectionValues>
<defaultValue>0</defaultValue>
</field>
<field description="Minimum Value" name="minValue" type="E">
<defaultValue>0.0</defaultValue>
</field>
<field description="Maximum Value" name="maxValue" type="E">
<defaultValue>1.0</defaultValue>
</field>
<field description="Storage" name="storage" type="I">
<selectionValues>
<option description="Standard file (Low memory usage, slow)">0</option>
<option description="Mapped file (High memory usage, fast)">1</option>
<option description="Memory (Non-persistent)">2</option>
<option description="NoSQL Storage">3</option>
</selectionValues>
<defaultValue>0</defaultValue>
</field>
<field description="Type" name="type" type="S">
<selectionValues>
<option description="Gauge">GAUGE</option>
<option description="Counter">COUNTER</option>
<option description="Derive">DERIVE</option>
<option description="Absolute">ABSOLUTE</option>
</selectionValues>
<defaultValue>GAUGE</defaultValue>
</field>
<field description="Average" name="average" type="B">
<group>Aggregation</group>
<defaultValue>1</defaultValue>
</field>
<field description="Minimum" name="minimum" type="B">
<group>Aggregation</group>
<defaultValue>1</defaultValue>
</field>
<field description="Maximum" name="maximum" type="B">
<group>Aggregation</group>
<defaultValue>1</defaultValue>
</field>
<field description="Total" name="total" type="B">
<group>Aggregation</group>
<defaultValue>0</defaultValue>
</field>
<field description="First" name="first" type="B">
<group>Aggregation</group>
<defaultValue>0</defaultValue>
</field>
<field description="Last" name="last" type="B">
<group>Aggregation</group>
<defaultValue>0</defaultValue>
</field>
<field description="Minutely" editor="period" name="minutelyStats" nullable="true" type="L">
<editorOptions>2 3</editorOptions>
<validators contentType="base64">HEweMTIwMDAwIDkyMjMzNzIwMzY4NTQ3NzU4MDcd</validators>
<group>Storage Periods</group>
<defaultValue>3600000</defaultValue>
</field>
<field description="Hourly" editor="period" name="hourlyStats" nullable="true" type="L">
<editorOptions>3 4</editorOptions>
<validators contentType="base64">HEweNzIwMDAwMCA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<group>Storage Periods</group>
<defaultValue>86400000</defaultValue>
</field>
<field description="Daily" editor="period" name="dailyStats" nullable="true" type="L">
<editorOptions>4 6</editorOptions>
<validators contentType="base64">HEweMTcyODAwMDAwIDkyMjMzNzIwMzY4NTQ3NzU4MDcd</validators>
<group>Storage Periods</group>
<defaultValue>2592000000</defaultValue>
</field>
<field description="Weekly" editor="period" name="weeklyStats" nullable="true" type="L">
<editorOptions>5 8</editorOptions>
<validators contentType="base64">HEweMTIwOTYwMDAwMCA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<group>Storage Periods</group>
<defaultValue>7776000000</defaultValue>
</field>
<field description="Monthly" editor="period" name="monthlyStats" nullable="true" type="L">
<editorOptions>6 8</editorOptions>
<validators contentType="base64">HEweNTE4NDAwMDAwMCA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<group>Storage Periods</group>
<defaultValue>31536000000</defaultValue>
</field>
<field description="Yearly" editor="period" name="yearlyStats" nullable="true" type="L">
<editorOptions>8 8</editorOptions>
<validators contentType="base64">HEweNjMwNzIwMDAwMDAgOTIyMzM3MjAzNjg1NDc3NTgwNx0=</validators>
<group>Storage Periods</group>
<defaultValue>315360000000</defaultValue>
</field>
<field description="Timestamp Expression" editor="expression" name="timestampExpression" nullable="true" type="S">
<help>Use this expression to override a default timestamp for each new variable value. The expression should evaluate to Date type.</help>
<group>Advanced Properties</group>
<defaultValue>{#timestamp}</defaultValue>
</field>
<field description="Protect Statistics" name="protectStatistics" type="B">
<help>Disable parameters that change resets statistics data</help>
<group>Advanced Properties</group>
<defaultValue>1</defaultValue>
</field>
<field description="Step" editor="period" name="step" type="L">
<editorOptions>1 1</editorOptions>
<validators contentType="base64">HEweMSA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<help>Changing this value resets statistics data</help>
<group>Advanced Properties</group>
<defaultValue>60000</defaultValue>
</field>
<field description="XFiles Factor" name="xff" type="F">
<validators contentType="base64">HEweMC4wIDAuOTk5HQ==</validators>
<help>Changing this value resets statistics data</help>
<group>Advanced Properties</group>
<defaultValue>0.9</defaultValue>
</field>
<field description="Heartbeat" editor="period" name="heartbeat" type="L">
<validators contentType="base64">HEweMCA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<help>The maximum time period that may pass between two updates of this data source before the value of the data source is assumed to be 'unknown'. '0' means automatic heartbeat.</help>
<group>Advanced Properties</group>
<defaultValue>0</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>keyField#hidden</reference>
<expression>!{useKeyField}</expression>
</binding>
<binding>
<reference>minValue#hidden</reference>
<expression>{outOfRangeValuesHandling} == 0</expression>
</binding>
<binding>
<reference>maxValue#hidden</reference>
<expression>{outOfRangeValuesHandling} == 0</expression>
</binding>
<binding>
<reference>step#enabled</reference>
<expression>!{protectStatistics}</expression>
</binding>
<binding>
<reference>xff#enabled</reference>
<expression>!{protectStatistics}</expression>
</binding>
<binding>
<reference>expression#options</reference>
<expression>hasResolver('parent') ? ({.:childInfo$type[0]} != 1 && !variableAvailable({.:},{parent/variable}) ? cell(callFunction({.:}, 'expressionEditorOptions',{.:}, {parent/variable})):expressionEditorOptions({.:}, {parent/variable}, 1)): null</expression>
</binding>
</bindings>
<validators contentType="base64">HEUeZTIxcGJsWmhiSFZsZlNBOElIdHRZWGhXWVd4MVpYMGdQeUJ1ZFd4c0lEb2dKMDFwYm1sdGRXMGdWbUZzZFdVZ2MyaHZkV3hrSUdKbA0KSUd4bGMzTmxjaUIwYUdGdUlFMWhlR2x0ZFcwZ1ZtRnNkV1VuDQod</validators>
</format>
<records>
<record>
<value name="timestampExpression">
<nullValue/>
</value>
</record>
</records>
</table>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>variable#choices</reference>
<expression>callFunction({.:}, 'variablesByMask',{.:})</expression>
</binding>
</bindings>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</entry>
<entry>
<string>childInfo</string>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Name" name="name" notReplicated="true" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXk5hbWUgbWF5IGNvbnRhaW4gb25seSBMYXRpbiBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>Name of the object and corresponding system context, required to refer to this object from other parts of the system. It should satisfy the context naming conventions. WARNING: changing name will corrupt all references to the object.</help>
<defaultValue/>
</field>
<field description="Description" name="description" notReplicated="true" type="S">
<validators contentType="base64">HEweMCAxMDAdHFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<help>The model context description (the text is displayed in the context tree).</help>
<defaultValue/>
</field>
<field description="Type" name="type" type="I">
<selectionValues>
<option description="Relative">0</option>
<option description="Absolute">1</option>
<option description="Instantiable">2</option>
</selectionValues>
<help>This option specifies the model type: Relative, Absolute or Instantiable.</help>
<defaultValue>1</defaultValue>
</field>
<field description="Validity Expression" editor="expression" name="validityExpression" type="S">
<editorOptions contentType="base64">HEYeHBxjb250ZXh0HRxTHRxGHk4dHEEeGh0cRB5EZWZhdWx0IENvbnRleHQdHRwcdGFibGUdHFQdHEYeTh0cQR4aHRxEHkRlZmF1bHQgVGFibGUdHRwccmVmZXJlbmNlcx0cVB0cRh5OHRxBHhxGHhwccmVmZXJlbmNlHRxTHRxBHh0cRB5SZWZlcmVuY2UdHRwcZGVzY3JpcHRpb24dHFMdHEEeHRxEHkRlc2NyaXB0aW9uHR0dHRxEHlJlZmVyZW5jZXMdHRwcZXhwZWN0ZWRSZXN1bHQdHFMdHEYeTh0cQR4aHRxEHkV4cGVjdGVkIFJlc3VsdB0dHBxjb250ZXh0RGVzY3JpcHRpb24dHFMdHEYeTh0cQR4aHRxEHkRlZmF1bHQgQ29udGV4dCBEZXNjcmlwdGlvbh0dHBx0YWJsZURlc2NyaXB0aW9uHRxTHRxGHk4dHEEeGh0cRB5EZWZhdWx0IFRhYmxlIERlc2NyaXB0aW9uHR0cTR4xHRxYHjEdHRxSHhwaHRwaHRwcUh4cLjojdHlwZR0cQ29udGV4dCBUeXBlHR0cUh4cLjodHENvbnRleHQgUGF0aB0dHRwaHRwaHRwaHR0=</editorOptions>
<help>Acts differently for relative and instantiable model types. For a relative model, determines which context(s) should the model attach to. For an instantiable model, determines which context(s) should model instance containers be attached to.</help>
<group>Validity</group>
<defaultValue/>
</field>
<field description="Validity Update Rules" name="validityListeners" type="T">
<help>A list of context masks and event names. If event specified by Event field of this table occurs in any of context matching to the mask specified by Mask field in the same record, Validity Expression will be recalculated for this context. This allows to make model valid or invalid for a certain context if some changes occur in it.</help>
<group>Validity</group>
<defaultValue>
<table>
<format maxRecords="2147483647">
<fields>
<field description="Context Mask" editor="contextmask" icon="fi_context" keyfield="true" name="mask" type="S">
<help>Mask of contexts to monitor events in
</help>
<defaultValue/>
</field>
<field description="Event" extendableSelectionValues="true" icon="fi_event" keyfield="true" name="event" type="S">
<help>Name of Event to listen for</help>
<defaultValue/>
</field>
<field description="Target Expression" editor="expression" icon="fi_expression" name="expression" nullable="true" type="S">
<help>If specified, points to a context those validity should be checked. If Target Expression is not specified (what is suitable in most cases), the system checks validity of context in that Event has occurred.</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>event#choices</reference>
<expression>{utilities:eventsByMask('{mask}')}</expression>
</binding>
</bindings>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
<field description="Container Type" name="containerType" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXlR5cGUgbWF5IGNvbnRhaW4gb25seSBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>This option defines the context type of the model containers. The Type string can include only English letters, numbers and underscores.</help>
<group>Instantiable Model Settings</group>
<defaultValue>objects</defaultValue>
</field>
<field description="Container Type Description" name="containerTypeDescription" type="S">
<validators contentType="base64">HEweMCAxMDAdHFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<help>This option defines a human-readable description of the model container context type.</help>
<group>Instantiable Model Settings</group>
<defaultValue>Objects</defaultValue>
</field>
<field description="Container Name" name="containerName" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXk5hbWUgbWF5IGNvbnRhaW4gb25seSBMYXRpbiBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>This option defines the context name of the model containers. It should satisfy the context naming conventions.</help>
<group>Instantiable Model Settings</group>
<defaultValue>objects</defaultValue>
</field>
<field description="Default Context" editor="context" name="defaultContext" nullable="true" type="S">
<help>Default context which is used in all internal expressions.</help>
<group>Validity</group>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Object Type" name="objectType" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXlR5cGUgbWF5IGNvbnRhaW4gb25seSBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>This option is applicable to instantiable models only. It defines the context type of the model instances. The Type string can include only English letters, numbers and underscores.</help>
<group>Instantiable Model Settings</group>
<defaultValue>object</defaultValue>
</field>
<field description="Object Type Description" name="objectTypeDescription" type="S">
<help>This option is applicable to instantiable models only. It defines a human-readable description of the model instance context type.</help>
<group>Instantiable Model Settings</group>
<defaultValue>Object</defaultValue>
</field>
<field description="Object Naming Expression" editor="expression" name="objectNamingExpression" type="S">
<help>This option is applicable to instantiable models only. It defines description of the instantiable model's context.</help>
<group>Instantiable Model Settings</group>
<defaultValue/>
</field>
<field description="Enabled" name="enabled" type="B">
<help>If this flag unchecked, the model is deactivated and doesn't perform any active binding processing. However, all variables, function and event definitions added by this model remain available if the model is disabled. Instances of a disabled instantiable model are also not hidden or removed from server context tree.</help>
<defaultValue>1</defaultValue>
</field>
<field advanced="true" description="Rule Set Call Stack Depth Threshold" name="ruleSetCallStackDepthThreshold" type="I">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<help>An Information event is generated in this model (and a record is made in the Server log) if the rule set call stack depth exceeds the value defined by this option. This can happen when a rule set is called recursively.</help>
<defaultValue>100</defaultValue>
</field>
<field description="Normal Concurrent Bindings" name="normalConcurrentBindings" type="I">
<help>This option defines the core size of the model thread pool, i.e. the standard bindings count processed simultaneously.</help>
<group>Advanced Binding Settings</group>
<defaultValue>3</defaultValue>
</field>
<field description="Maximum Concurrent Bindings" name="maximumConcurrentBindings" type="I">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<help>This option defines the maximum size of the model thread pool, i.e. the number of concurrently processed bindings allowed in case the binding queue overflows.</help>
<group>Advanced Binding Settings</group>
<defaultValue>30</defaultValue>
</field>
<field description="Maximum Unprocessed Binding Queue Length" name="maximumBindingQueueLength" type="I">
<help>This option defines how many unprocessed binding operations can be queued before the model's thread pool size exceeds its core size in relation to the maximum size.</help>
<group>Advanced Binding Settings</group>
<defaultValue>100</defaultValue>
</field>
<field description="Log Bindings Execution" name="logBindingsExecution" type="B">
<help>This option enables and disables the logging of all executed bindings.</help>
<group>Advanced Binding Settings</group>
<defaultValue>0</defaultValue>
</field>
<field hidden="true" name="protected" type="B">
<defaultValue>0</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>validityExpression#hidden</reference>
<expression>{type} == 1</expression>
</binding>
<binding>
<reference>validityListeners#hidden</reference>
<expression>{type} == 1</expression>
</binding>
<binding>
<reference>containerType#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>containerTypeDescription#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>containerName#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>objectType#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>objectTypeDescription#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>objectNamingExpression#hidden</reference>
<expression>{type} != 2</expression>
</binding>
<binding>
<reference>defaultContext#hidden</reference>
<expression>{type} != 0</expression>
</binding>
<binding>
<reference>validityExpression#options</reference>
<expression>expressionEditorOptions({type} == 0 ? {defaultContext} : {.:})</expression>
</binding>
</bindings>
<validators contentType="base64">HEUeZTIxaGVHbHRkVzFEYjI1amRYSnlaVzUwUW1sdVpHbHVaM045SUQ0OUlIdHViM0p0WVd4RGIyNWpkWEp5Wlc1MFFtbHVaR2x1WjNOOQ0KSUQ4Z2JuVnNiQ0E2SUNkTllYaHBiWFZ0SUdOdmJtTjFjbkpsYm5RZ1ltbHVaR2x1WnlCamIzVnVkQ0J0ZFhOMElHSmxJR2R5WldGMA0KWlhJZ2IzSWdaWEYxWVd3Z2RHOGdibTl5YldGc0lHTnZibU4xY25KbGJuUWdZbWx1WkdsdVp5QmpiM1Z1ZENjPQ0KHQ==</validators>
</format>
<records>
<record>
<value name="name">interface</value>
</record>
</records>
</table>
</entry>
<entry>
<string>bindings</string>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field hidden="true" name="bindingId" notReplicated="true" nullable="true" type="L">
<validators contentType="base64">HEweMCA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Target" editor="target" name="target" type="S">
<editorOptions>models</editorOptions>
<help>A reference that points to where the evaluation result of a binding Expression will be applied/stored.</help>
<defaultValue/>
</field>
<field description="Expression" editor="expression" name="expression" type="S">
<help>An expression that is evaluated every time the binding is processed. Its evaluation result is stored in binding Target.</help>
<defaultValue/>
</field>
<field description="Activator" editor="activator" name="activator" type="S">
<help>A reference that points to some event or variable (property). Occurrence of this event or change of this variable (property) triggers processing of the binding. If activator is not specified and On Event flag is set, the binding will be processed when any component of its Expression changes.</help>
<defaultValue/>
</field>
<field description="Condition" editor="expression" name="condition" type="S">
<help>An expression that is evaluated upon binding activation. The evaluation result should be a boolean that indicates whether the binding should be processed or not.</help>
<defaultValue/>
</field>
<field description="On Startup" name="onstartup" type="B">
<help>When enabled, the binding is processed once the widget is launched.</help>
<defaultValue>0</defaultValue>
</field>
<field description="On Event" name="onevent" type="B">
<help>When enabled, the binding is processed upon Activator event (or Activator state change, if activator is a property). If Activator is not specified, the binding is processed when any component of the Expression changes.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Periodically" name="periodically" type="B">
<help>When enabled, the binding will be processed periodically.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Period" editor="period" name="period" type="L">
<validators contentType="base64">HEweMSA5MjIzMzcyMDM2ODU0Nzc1ODA3HQ==</validators>
<help>Interval between periodical binding executions.</help>
<defaultValue>60000</defaultValue>
</field>
<field advanced="true" description="Queue" hidden="true" name="queue" type="S">
<validators contentType="base64">HFIeXHcqXl5OYW1lIG1heSBjb250YWluIG9ubHkgTGF0aW4gbGV0dGVycywgZGlnaXRzLCBhbmQgdW5kZXJzY29yZXMd</validators>
<help>Target operations of bindings in the same queue are guaranteed to be performed sequentially.</help>
<defaultValue/>
</field>
</fields>
<bindings>
<binding>
<reference>activator#enabled</reference>
<expression>{onevent}</expression>
</binding>
<binding>
<reference>period#enabled</reference>
<expression>{periodically}</expression>
</binding>
<binding>
<reference>bindingId</reference>
<expression>{bindingId}==null ? long(random()*9223372036854775807) : {bindingId}</expression>
</binding>
<binding>
<reference>target#options</reference>
<expression>expressionEditorOptions({childInfo$type[0]} == 0 ? {childInfo$defaultContext[0]} : {.:})</expression>
</binding>
<binding>
<reference>expression#options</reference>
<expression>expressionEditorOptions({childInfo$type[0]} == 0 ? {childInfo$defaultContext[0]} : {.:})</expression>
</binding>
<binding>
<reference>activator#options</reference>
<expression>expressionEditorOptions({childInfo$type[0]} == 0 ? {childInfo$defaultContext[0]} : {.:})</expression>
</binding>
<binding>
<reference>condition#options</reference>
<expression>expressionEditorOptions({childInfo$type[0]} == 0 ? {childInfo$defaultContext[0]} : {.:})</expression>
</binding>
</bindings>
</format>
<records>
<record>
<value name="bindingId">8421711996460734464</value>
<value name="expression">callFunction(
dc()
,"getTimeSheet"
,"user"
)</value>
</record>
</records>
</table>
</entry>
<entry>
<string>modelFunctions</string>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Name" keyfield="true" name="name" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXk5hbWUgbWF5IGNvbnRhaW4gb25seSBMYXRpbiBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>This field defines the function name.</help>
<defaultValue/>
</field>
<field description="Description" name="description" nullable="true" type="S">
<validators contentType="base64">HEweMSAxMDAdHFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<help>This field is used to set a human-readable function description.</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Input Format" name="inputformat" type="T">
<help>This field is used to define the function input format.</help>
<defaultValue>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Minimal Record Count" name="minRecords" type="I">
<validators contentType="base64">HEweMCAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue>0</defaultValue>
</field>
<field description="Maximal Record Count" extendableSelectionValues="true" name="maxRecords" type="I">
<validators contentType="base64">HEweMCAyMTQ3NDgzNjQ3HQ==</validators>
<selectionValues>
<option description="Not limited">2147483647</option>
</selectionValues>
<defaultValue>2147483647</defaultValue>
</field>
<field description="Fields" name="fields" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field hidden="true" name="oldname" type="S">
<defaultValue/>
</field>
<field description="Name" keyfield="true" name="name" type="S">
<validators contentType="base64">HFIeXHcrXl5OYW1lIG1heSBjb250YWluIG9ubHkgTGF0aW4gbGV0dGVycywgZGlnaXRzLCBhbmQgdW5kZXJzY29yZXMd</validators>
<defaultValue/>
</field>
<field description="Type" name="type" type="S">
<selectionValues>
<option description="Integer">I</option>
<option description="String">S</option>
<option description="Boolean">B</option>
<option description="Long">L</option>
<option description="Float">F</option>
<option description="Double">E</option>
<option description="Date">D</option>
<option description="Data Table">T</option>
<option description="Color">C</option>
<option description="Data Block">A</option>
</selectionValues>
<defaultValue>I</defaultValue>
</field>
<field description="Description" name="description" nullable="true" type="S">
<validators contentType="base64">HFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Default" name="defaultValue" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Read-only" name="readonly" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Nullable" name="nullable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Key" name="key" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Selection Values" name="selvals" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Value" keyfield="true" name="value" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Description" name="description" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
</fields>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
<field description="Extendable Selection Values" name="extselvals" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Hidden" name="hidden" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Inline" name="inline" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Encrypted" name="encrypted" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Help" editor="textarea" name="help" nullable="true" type="S">
<validators contentType="base64">HFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Editor/Viewer" extendableSelectionValues="true" name="editor" nullable="true" type="S">
<selectionValues>
<option description="Default">
<nullValue/>
</option>
<option description="List">list</option>
<option description="Date">date</option>
<option description="Time">time</option>
<option description="Bar">bar</option>
<option description="Bytes">bytes</option>
<option description="Class Instance">instance</option>
<option description="Time Period">period</option>
<option description="Foreign Class Instance">foreignInstance</option>
<option description="Expression">expression</option>
<option description="Function Selector">functionselector</option>
<option description="Password">password</option>
<option description="Text Editor">text</option>
<option description="HTML">html</option>
<option description="Text Area">textarea</option>
<option description="Embedded Text Area">etextarea</option>
<option description="Context">context</option>
<option description="Context Mask">contextmask</option>
<option description="Font">font</option>
<option description="IP Address">ip</option>
<option description="Box">box</option>
<option description="Image">image</option>
<option description="Sound">sound</option>
<option description="Hex">hex</option>
<option description="Reference">reference</option>
<option description="Activator">activator</option>
<option description="Code Editor">code</option>
<option description="Spinner">spinner</option>
<option description="Event Level">eventLevel</option>
</selectionValues>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Editor Options" name="editorOptions" nullable="true" type="T">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Validators" name="validators" nullable="true" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Type" name="validator" nullable="true" type="S">
<selectionValues>
<option description="Default">
<nullValue/>
</option>
<option description="ID Validator">I</option>
<option description="Limits Validator">L</option>
<option description="Non-Null Validator">N</option>
<option description="Regex Validator">R</option>
<option description="Expression Validator">E</option>
</selectionValues>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Options" name="options" type="S">
<defaultValue/>
</field>
</fields>
</format>
</table>
</defaultValue>
</field>
<field description="Group" name="group" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>editorOptions</reference>
<expression>callFunction("utilities", "editorOptions", {type}, {editor}, {editorOptions})</expression>
</binding>
<binding>
<reference>editor#choices</reference>
<expression>{utilities:editors('{type}')}</expression>
</binding>
</bindings>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
<field description="Reorderable" name="reorderable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Unresizable" name="unresizable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Bindings" name="bindings" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Target" name="target" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
<field description="Expression" editor="expression" name="expression" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
</fields>
</format>
</table>
</defaultValue>
</field>
<field description="Encoded" editor="textarea" name="encoded" readonly="true" type="S">
<help>Encoded table format</help>
<defaultValue/>
</field>
<field description="Naming Expression" editor="expression" name="namingExpression" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<validators contentType="base64">HEUeZTIxcGJsSmxZMjl5WkhOOUlEdzlJSHR0WVhoU1pXTnZjbVJ6ZlNBL0lHNTFiR3dnT2lBblRXRjRhVzFoYkNCdWRXMWlaWElnYjJZZw0KY21WamIzSmtjeUJqWVc1dWIzUWdZbVVnYkdWemN5QjBhR1Z1SUcxcGJtbHRZV3duDQod</validators>
</format>
<records>
<record/>
</records>
</table>
</defaultValue>
</field>
<field description="Output Format" name="outputformat" type="T">
<help>This field is used to define the function output format.</help>
<defaultValue>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Minimal Record Count" name="minRecords" type="I">
<validators contentType="base64">HEweMCAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue>0</defaultValue>
</field>
<field description="Maximal Record Count" extendableSelectionValues="true" name="maxRecords" type="I">
<validators contentType="base64">HEweMCAyMTQ3NDgzNjQ3HQ==</validators>
<selectionValues>
<option description="Not limited">2147483647</option>
</selectionValues>
<defaultValue>2147483647</defaultValue>
</field>
<field description="Fields" name="fields" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field hidden="true" name="oldname" type="S">
<defaultValue/>
</field>
<field description="Name" keyfield="true" name="name" type="S">
<validators contentType="base64">HFIeXHcrXl5OYW1lIG1heSBjb250YWluIG9ubHkgTGF0aW4gbGV0dGVycywgZGlnaXRzLCBhbmQgdW5kZXJzY29yZXMd</validators>
<defaultValue/>
</field>
<field description="Type" name="type" type="S">
<selectionValues>
<option description="Integer">I</option>
<option description="String">S</option>
<option description="Boolean">B</option>
<option description="Long">L</option>
<option description="Float">F</option>
<option description="Double">E</option>
<option description="Date">D</option>
<option description="Data Table">T</option>
<option description="Color">C</option>
<option description="Data Block">A</option>
</selectionValues>
<defaultValue>I</defaultValue>
</field>
<field description="Description" name="description" nullable="true" type="S">
<validators contentType="base64">HFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Default" name="defaultValue" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Read-only" name="readonly" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Nullable" name="nullable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Key" name="key" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Selection Values" name="selvals" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Value" keyfield="true" name="value" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Description" name="description" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
</fields>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
<field description="Extendable Selection Values" name="extselvals" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Hidden" name="hidden" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Inline" name="inline" type="B">
<defaultValue>0</defaultValue>
</field>
<field advanced="true" description="Encrypted" name="encrypted" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Help" editor="textarea" name="help" nullable="true" type="S">
<validators contentType="base64">HFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Editor/Viewer" extendableSelectionValues="true" name="editor" nullable="true" type="S">
<selectionValues>
<option description="Default">
<nullValue/>
</option>
<option description="List">list</option>
<option description="Date">date</option>
<option description="Time">time</option>
<option description="Bar">bar</option>
<option description="Bytes">bytes</option>
<option description="Class Instance">instance</option>
<option description="Time Period">period</option>
<option description="Foreign Class Instance">foreignInstance</option>
<option description="Expression">expression</option>
<option description="Function Selector">functionselector</option>
<option description="Password">password</option>
<option description="Text Editor">text</option>
<option description="HTML">html</option>
<option description="Text Area">textarea</option>
<option description="Embedded Text Area">etextarea</option>
<option description="Context">context</option>
<option description="Context Mask">contextmask</option>
<option description="Font">font</option>
<option description="IP Address">ip</option>
<option description="Box">box</option>
<option description="Image">image</option>
<option description="Sound">sound</option>
<option description="Hex">hex</option>
<option description="Reference">reference</option>
<option description="Activator">activator</option>
<option description="Code Editor">code</option>
<option description="Spinner">spinner</option>
<option description="Event Level">eventLevel</option>
</selectionValues>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Editor Options" name="editorOptions" nullable="true" type="T">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Validators" name="validators" nullable="true" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Type" name="validator" nullable="true" type="S">
<selectionValues>
<option description="Default">
<nullValue/>
</option>
<option description="ID Validator">I</option>
<option description="Limits Validator">L</option>
<option description="Non-Null Validator">N</option>
<option description="Regex Validator">R</option>
<option description="Expression Validator">E</option>
</selectionValues>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Options" name="options" type="S">
<defaultValue/>
</field>
</fields>
</format>
</table>
</defaultValue>
</field>
<field description="Group" name="group" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>editorOptions</reference>
<expression>callFunction("utilities", "editorOptions", {type}, {editor}, {editorOptions})</expression>
</binding>
<binding>
<reference>editor#choices</reference>
<expression>{utilities:editors('{type}')}</expression>
</binding>
</bindings>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
<field description="Reorderable" name="reorderable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Unresizable" name="unresizable" type="B">
<defaultValue>0</defaultValue>
</field>
<field description="Bindings" name="bindings" type="T">
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Target" name="target" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
<field description="Expression" editor="expression" name="expression" type="S">
<validators contentType="base64">HEweMSAyMTQ3NDgzNjQ3HQ==</validators>
<defaultValue/>
</field>
</fields>
</format>
</table>
</defaultValue>
</field>
<field description="Encoded" editor="textarea" name="encoded" readonly="true" type="S">
<help>Encoded table format</help>
<defaultValue/>
</field>
<field description="Naming Expression" editor="expression" name="namingExpression" nullable="true" type="S">
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<validators contentType="base64">HEUeZTIxcGJsSmxZMjl5WkhOOUlEdzlJSHR0WVhoU1pXTnZjbVJ6ZlNBL0lHNTFiR3dnT2lBblRXRjRhVzFoYkNCdWRXMWlaWElnYjJZZw0KY21WamIzSmtjeUJqWVc1dWIzUWdZbVVnYkdWemN5QjBhR1Z1SUcxcGJtbHRZV3duDQod</validators>
</format>
<records>
<record/>
</records>
</table>
</defaultValue>
</field>
<field description="Help" name="help" nullable="true" type="S">
<help>This field is used to specify the detailed function description.</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
<field description="Group" name="group" nullable="true" type="S">
<help>This field defines the current function group. It can be NULL if the function does not belong to any group.</help>
<defaultValue>