@dialecte/plc 0.0.19 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config-u6VfSAPM.js +14066 -0
- package/dist/tc6-v201/definition/constants.generated.d.ts +836 -189
- package/dist/tc6-v201/definition/constants.generated.d.ts.map +1 -1
- package/dist/tc6-v201/definition/definition.generated.d.ts +9076 -834
- package/dist/tc6-v201/definition/definition.generated.d.ts.map +1 -1
- package/dist/tc6-v201/definition/types.generated.d.ts +947 -1
- package/dist/tc6-v201/definition/types.generated.d.ts.map +1 -1
- package/dist/v1/config/dialecte.config.d.ts +7875 -924
- package/dist/v1/config/dialecte.config.d.ts.map +1 -1
- package/dist/v1/config/hydrated.types.d.ts +3 -2
- package/dist/v1/config/hydrated.types.d.ts.map +1 -1
- package/dist/v1/definition/constants.generated.d.ts +631 -117
- package/dist/v1/definition/constants.generated.d.ts.map +1 -1
- package/dist/v1/definition/definition.generated.d.ts +7254 -811
- package/dist/v1/definition/definition.generated.d.ts.map +1 -1
- package/dist/v1/definition/types.generated.d.ts +695 -1
- package/dist/v1/definition/types.generated.d.ts.map +1 -1
- package/dist/v1/index.js +1 -1
- package/dist/v1/test/assert-valid-xml.d.ts +3 -0
- package/dist/v1/test/assert-valid-xml.d.ts.map +1 -0
- package/dist/v1/test/hydrated-test.d.ts +15788 -1879
- package/dist/v1/test/hydrated-test.d.ts.map +1 -1
- package/dist/v1/test.js +23 -11
- package/package.json +4 -4
- package/dist/config-C8Rbm6N8.js +0 -6571
|
@@ -16,6 +16,17 @@ export type AttributesAccessVars = {
|
|
|
16
16
|
retain?: string;
|
|
17
17
|
'xsi:type'?: 'VarListWithAccessSpec' | (string & {});
|
|
18
18
|
};
|
|
19
|
+
export type AttributesAccessVarsInConfiguration = {
|
|
20
|
+
globalId?: string;
|
|
21
|
+
pragma?: string;
|
|
22
|
+
};
|
|
23
|
+
export type AttributesAccessVarsInProgram = {
|
|
24
|
+
constant?: string;
|
|
25
|
+
globalId?: string;
|
|
26
|
+
non_retain?: string;
|
|
27
|
+
pragma?: string;
|
|
28
|
+
retain?: string;
|
|
29
|
+
};
|
|
19
30
|
export type AttributesAction = {
|
|
20
31
|
globalId?: string;
|
|
21
32
|
name: string;
|
|
@@ -40,15 +51,51 @@ export type AttributesAddress = {
|
|
|
40
51
|
size?: 'X' | 'B' | 'W' | 'D' | 'L' | (string & {});
|
|
41
52
|
'xsi:type'?: 'AddressExpression' | (string & {});
|
|
42
53
|
};
|
|
54
|
+
export type AttributesAddressInConfigVariable = {
|
|
55
|
+
address?: string;
|
|
56
|
+
globalId?: string;
|
|
57
|
+
location?: 'I' | 'Q' | 'M' | (string & {});
|
|
58
|
+
pragma?: string;
|
|
59
|
+
size?: 'X' | 'B' | 'W' | 'D' | 'L' | (string & {});
|
|
60
|
+
};
|
|
61
|
+
export type AttributesAddressInMember = {
|
|
62
|
+
address?: string;
|
|
63
|
+
globalId?: string;
|
|
64
|
+
location?: 'I' | 'Q' | 'M' | (string & {});
|
|
65
|
+
notYetFixed?: string;
|
|
66
|
+
pragma?: string;
|
|
67
|
+
size?: 'X' | 'B' | 'W' | 'D' | 'L' | (string & {});
|
|
68
|
+
};
|
|
69
|
+
export type AttributesAddressInVariable = {
|
|
70
|
+
address?: string;
|
|
71
|
+
globalId?: string;
|
|
72
|
+
location?: 'I' | 'Q' | 'M' | (string & {});
|
|
73
|
+
notYetFixed?: string;
|
|
74
|
+
pragma?: string;
|
|
75
|
+
size?: 'X' | 'B' | 'W' | 'D' | 'L' | (string & {});
|
|
76
|
+
};
|
|
43
77
|
export type AttributesArrayValue = {};
|
|
44
78
|
export type AttributesBaseType = {};
|
|
79
|
+
export type AttributesBaseTypeInInstantlyDefinedType = {};
|
|
80
|
+
export type AttributesBaseTypeInUserDefinedTypeSpec = {};
|
|
45
81
|
export type AttributesBody = {
|
|
46
82
|
globalId?: string;
|
|
47
83
|
pragma?: string;
|
|
48
84
|
};
|
|
85
|
+
export type AttributesBodyInAction = {
|
|
86
|
+
globalId?: string;
|
|
87
|
+
pragma?: string;
|
|
88
|
+
};
|
|
89
|
+
export type AttributesBodyInMethod = {
|
|
90
|
+
globalId?: string;
|
|
91
|
+
pragma?: string;
|
|
92
|
+
};
|
|
49
93
|
export type AttributesBodyContent = {
|
|
50
94
|
'xsi:type'?: 'FBD' | 'IL' | 'LD' | 'SFC' | 'ST' | (string & {});
|
|
51
95
|
};
|
|
96
|
+
export type AttributesBodyContentInBody = {};
|
|
97
|
+
export type AttributesBodyContentInInline = {};
|
|
98
|
+
export type AttributesBodyContentInMainBody = {};
|
|
52
99
|
export type AttributesClass = {
|
|
53
100
|
abstract?: string;
|
|
54
101
|
final?: string;
|
|
@@ -65,7 +112,15 @@ export type AttributesCommonObject = {
|
|
|
65
112
|
export type AttributesComplexOperand = {
|
|
66
113
|
'xsi:type'?: 'AccessSpecifiers' | 'EdgeModifierType' | (string & {});
|
|
67
114
|
};
|
|
68
|
-
export type AttributesCondition = {
|
|
115
|
+
export type AttributesCondition = {
|
|
116
|
+
globalId?: string;
|
|
117
|
+
pragma?: string;
|
|
118
|
+
};
|
|
119
|
+
export type AttributesConditionInSfcObject = {};
|
|
120
|
+
export type AttributesConditionInTransition = {
|
|
121
|
+
globalId?: string;
|
|
122
|
+
pragma?: string;
|
|
123
|
+
};
|
|
69
124
|
export type AttributesConfigVariable = {
|
|
70
125
|
globalId?: string;
|
|
71
126
|
instancePathAndName: string;
|
|
@@ -92,6 +147,31 @@ export type AttributesConnectionPointIn = {
|
|
|
92
147
|
export type AttributesConnectionPointOut = {
|
|
93
148
|
connectionPointOutId: string;
|
|
94
149
|
globalId?: string;
|
|
150
|
+
priority?: string;
|
|
151
|
+
};
|
|
152
|
+
export type AttributesConnectionPointOutInCommonObject = {
|
|
153
|
+
connectionPointOutId: string;
|
|
154
|
+
globalId?: string;
|
|
155
|
+
};
|
|
156
|
+
export type AttributesConnectionPointOutInFbdObject = {
|
|
157
|
+
connectionPointOutId: string;
|
|
158
|
+
globalId?: string;
|
|
159
|
+
};
|
|
160
|
+
export type AttributesConnectionPointOutInInOutVariable = {
|
|
161
|
+
connectionPointOutId: string;
|
|
162
|
+
globalId?: string;
|
|
163
|
+
};
|
|
164
|
+
export type AttributesConnectionPointOutInLdObject = {
|
|
165
|
+
connectionPointOutId: string;
|
|
166
|
+
globalId?: string;
|
|
167
|
+
};
|
|
168
|
+
export type AttributesConnectionPointOutInOutputVariable = {
|
|
169
|
+
connectionPointOutId: string;
|
|
170
|
+
globalId?: string;
|
|
171
|
+
};
|
|
172
|
+
export type AttributesConnectionPointOutInSfcObject = {
|
|
173
|
+
connectionPointOutId: string;
|
|
174
|
+
globalId?: string;
|
|
95
175
|
};
|
|
96
176
|
export type AttributesConnectionPointOutAction = {
|
|
97
177
|
connectionPointOutId: string;
|
|
@@ -131,6 +211,11 @@ export type AttributesDocumentation = {
|
|
|
131
211
|
};
|
|
132
212
|
export type AttributesEnumerator = {
|
|
133
213
|
name: string;
|
|
214
|
+
value?: string;
|
|
215
|
+
};
|
|
216
|
+
export type AttributesEnumeratorInUserDefinedTypeSpec = {
|
|
217
|
+
name: string;
|
|
218
|
+
value: string;
|
|
134
219
|
};
|
|
135
220
|
export type AttributesExtends = {};
|
|
136
221
|
export type AttributesExternalVars = {
|
|
@@ -227,6 +312,10 @@ export type AttributesInfo = {
|
|
|
227
312
|
export type AttributesInitialValue = {
|
|
228
313
|
'xsi:type'?: 'AccessSpecifiers' | 'EdgeModifierType' | (string & {});
|
|
229
314
|
};
|
|
315
|
+
export type AttributesInitialValueInConfigVariable = {};
|
|
316
|
+
export type AttributesInitialValueInMember = {};
|
|
317
|
+
export type AttributesInitialValueInUserDefinedTypeSpec = {};
|
|
318
|
+
export type AttributesInitialValueInVariable = {};
|
|
230
319
|
export type AttributesInline = {
|
|
231
320
|
globalId?: string;
|
|
232
321
|
pragma?: string;
|
|
@@ -277,12 +366,33 @@ export type AttributesMainBody = {
|
|
|
277
366
|
globalId?: string;
|
|
278
367
|
pragma?: string;
|
|
279
368
|
};
|
|
369
|
+
export type AttributesMainBodyInFunction = {
|
|
370
|
+
globalId?: string;
|
|
371
|
+
pragma?: string;
|
|
372
|
+
};
|
|
373
|
+
export type AttributesMainBodyInFunctionBlock = {
|
|
374
|
+
globalId?: string;
|
|
375
|
+
pragma?: string;
|
|
376
|
+
};
|
|
377
|
+
export type AttributesMainBodyInProgram = {
|
|
378
|
+
globalId?: string;
|
|
379
|
+
pragma?: string;
|
|
380
|
+
};
|
|
280
381
|
export type AttributesMember = {
|
|
281
382
|
globalId?: string;
|
|
282
383
|
name: string;
|
|
283
384
|
pragma?: string;
|
|
284
385
|
};
|
|
285
386
|
export type AttributesMethod = {
|
|
387
|
+
abstract?: string;
|
|
388
|
+
accessSpecifier?: 'private' | 'protected' | 'internal' | 'public' | (string & {});
|
|
389
|
+
final?: string;
|
|
390
|
+
globalId?: string;
|
|
391
|
+
name: string;
|
|
392
|
+
override?: string;
|
|
393
|
+
pragma?: string;
|
|
394
|
+
};
|
|
395
|
+
export type AttributesMethodInClass = {
|
|
286
396
|
abstract?: string;
|
|
287
397
|
accessSpecifier: 'private' | 'protected' | 'internal' | 'public' | (string & {});
|
|
288
398
|
final?: string;
|
|
@@ -291,6 +401,20 @@ export type AttributesMethod = {
|
|
|
291
401
|
override?: string;
|
|
292
402
|
pragma?: string;
|
|
293
403
|
};
|
|
404
|
+
export type AttributesMethodInFunctionBlock = {
|
|
405
|
+
abstract?: string;
|
|
406
|
+
accessSpecifier: 'private' | 'protected' | 'internal' | 'public' | (string & {});
|
|
407
|
+
final?: string;
|
|
408
|
+
globalId?: string;
|
|
409
|
+
name: string;
|
|
410
|
+
override?: string;
|
|
411
|
+
pragma?: string;
|
|
412
|
+
};
|
|
413
|
+
export type AttributesMethodInInterface = {
|
|
414
|
+
globalId?: string;
|
|
415
|
+
name: string;
|
|
416
|
+
pragma?: string;
|
|
417
|
+
};
|
|
294
418
|
export type AttributesNamespaceDecl = {
|
|
295
419
|
globalId?: string;
|
|
296
420
|
internal?: string;
|
|
@@ -415,6 +539,11 @@ export type AttributesTransition = {
|
|
|
415
539
|
pragma?: string;
|
|
416
540
|
};
|
|
417
541
|
export type AttributesType = {};
|
|
542
|
+
export type AttributesTypeInAccessVariable = {};
|
|
543
|
+
export type AttributesTypeInConfigVariable = {};
|
|
544
|
+
export type AttributesTypeInLdObject = {};
|
|
545
|
+
export type AttributesTypeInMember = {};
|
|
546
|
+
export type AttributesTypeInVariable = {};
|
|
418
547
|
export type AttributesTypeName = {
|
|
419
548
|
'xsi:type'?: 'AccessSpecifiers' | 'EdgeModifierType' | (string & {});
|
|
420
549
|
};
|
|
@@ -428,13 +557,66 @@ export type AttributesUsingDirective = {
|
|
|
428
557
|
};
|
|
429
558
|
export type AttributesValue = {
|
|
430
559
|
repetitionValue?: string;
|
|
560
|
+
member?: string;
|
|
561
|
+
};
|
|
562
|
+
export type AttributesValueInArrayValue = {
|
|
563
|
+
repetitionValue?: string;
|
|
564
|
+
};
|
|
565
|
+
export type AttributesValueInStructValue = {
|
|
566
|
+
member: string;
|
|
431
567
|
};
|
|
432
568
|
export type AttributesVariable = {
|
|
569
|
+
edgeDetection?: 'none' | 'falling' | 'rising' | (string & {});
|
|
433
570
|
globalId?: string;
|
|
434
571
|
name: string;
|
|
572
|
+
orderWithinParamSet?: string;
|
|
435
573
|
pragma?: string;
|
|
436
574
|
'xsi:type'?: 'VariableDecl' | (string & {});
|
|
437
575
|
};
|
|
576
|
+
export type AttributesVariableInAccessVars = {
|
|
577
|
+
globalId?: string;
|
|
578
|
+
name: string;
|
|
579
|
+
pragma?: string;
|
|
580
|
+
};
|
|
581
|
+
export type AttributesVariableInExternalVars = {
|
|
582
|
+
globalId?: string;
|
|
583
|
+
name: string;
|
|
584
|
+
pragma?: string;
|
|
585
|
+
};
|
|
586
|
+
export type AttributesVariableInGlobalVars = {
|
|
587
|
+
globalId?: string;
|
|
588
|
+
name: string;
|
|
589
|
+
pragma?: string;
|
|
590
|
+
};
|
|
591
|
+
export type AttributesVariableInInoutVars = {
|
|
592
|
+
globalId?: string;
|
|
593
|
+
name: string;
|
|
594
|
+
orderWithinParamSet: string;
|
|
595
|
+
pragma?: string;
|
|
596
|
+
};
|
|
597
|
+
export type AttributesVariableInInputVars = {
|
|
598
|
+
edgeDetection?: 'none' | 'falling' | 'rising' | (string & {});
|
|
599
|
+
globalId?: string;
|
|
600
|
+
name: string;
|
|
601
|
+
orderWithinParamSet: string;
|
|
602
|
+
pragma?: string;
|
|
603
|
+
};
|
|
604
|
+
export type AttributesVariableInOutputVars = {
|
|
605
|
+
globalId?: string;
|
|
606
|
+
name: string;
|
|
607
|
+
orderWithinParamSet: string;
|
|
608
|
+
pragma?: string;
|
|
609
|
+
};
|
|
610
|
+
export type AttributesVariableInTempVars = {
|
|
611
|
+
globalId?: string;
|
|
612
|
+
name: string;
|
|
613
|
+
pragma?: string;
|
|
614
|
+
};
|
|
615
|
+
export type AttributesVariableInVars = {
|
|
616
|
+
globalId?: string;
|
|
617
|
+
name: string;
|
|
618
|
+
pragma?: string;
|
|
619
|
+
};
|
|
438
620
|
export type AttributesVariableLength = {};
|
|
439
621
|
export type AttributesVars = {
|
|
440
622
|
accessSpecifier: 'private' | 'protected' | 'internal' | 'public' | (string & {});
|
|
@@ -552,6 +734,518 @@ export type AttributesMap = {
|
|
|
552
734
|
Vars: AttributesVars;
|
|
553
735
|
};
|
|
554
736
|
export type AttributesOf<T extends AvailableElement> = AttributesMap[T];
|
|
737
|
+
/**
|
|
738
|
+
* The attributes of a child AS DECLARED UNDER each parent. An element declared once has the
|
|
739
|
+
* same type under every parent; a homonym has the type of its declaration under each. Read
|
|
740
|
+
* through the dialecte's `AttributesOf<Element, Parent>`; the constant `ATTRIBUTES.byParent`
|
|
741
|
+
* is checked against this map.
|
|
742
|
+
*/
|
|
743
|
+
export type AttributesByParent = {
|
|
744
|
+
AccessVariable: {
|
|
745
|
+
Documentation: AttributesDocumentation;
|
|
746
|
+
AddData: AttributesAddData;
|
|
747
|
+
UsingDirective: AttributesUsingDirective;
|
|
748
|
+
Type: AttributesTypeInAccessVariable;
|
|
749
|
+
};
|
|
750
|
+
AccessVars: {
|
|
751
|
+
Documentation: AttributesDocumentation;
|
|
752
|
+
AddData: AttributesAddData;
|
|
753
|
+
UsingDirective: AttributesUsingDirective;
|
|
754
|
+
Variable: AttributesVariableInAccessVars;
|
|
755
|
+
AccessVariable: AttributesAccessVariable;
|
|
756
|
+
};
|
|
757
|
+
Action: {
|
|
758
|
+
Documentation: AttributesDocumentation;
|
|
759
|
+
AddData: AttributesAddData;
|
|
760
|
+
UsingDirective: AttributesUsingDirective;
|
|
761
|
+
Body: AttributesBodyInAction;
|
|
762
|
+
};
|
|
763
|
+
ActionBlock: {
|
|
764
|
+
Documentation: AttributesDocumentation;
|
|
765
|
+
AddData: AttributesAddData;
|
|
766
|
+
RelPosition: AttributesRelPosition;
|
|
767
|
+
Size: AttributesSize;
|
|
768
|
+
ActionQualifier: AttributesActionQualifier;
|
|
769
|
+
Inline: AttributesInline;
|
|
770
|
+
ComplexOperand: AttributesComplexOperand;
|
|
771
|
+
ReferenceName: AttributesReferenceName;
|
|
772
|
+
};
|
|
773
|
+
AddData: {
|
|
774
|
+
Data: AttributesData;
|
|
775
|
+
};
|
|
776
|
+
AddDataInfo: {
|
|
777
|
+
Info: AttributesInfo;
|
|
778
|
+
};
|
|
779
|
+
Address: {
|
|
780
|
+
Documentation: AttributesDocumentation;
|
|
781
|
+
AddData: AttributesAddData;
|
|
782
|
+
UsingDirective: AttributesUsingDirective;
|
|
783
|
+
};
|
|
784
|
+
ArrayValue: {
|
|
785
|
+
Value: AttributesValueInArrayValue;
|
|
786
|
+
};
|
|
787
|
+
BaseType: {
|
|
788
|
+
TypeName: AttributesTypeName;
|
|
789
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
790
|
+
};
|
|
791
|
+
Body: {
|
|
792
|
+
Documentation: AttributesDocumentation;
|
|
793
|
+
AddData: AttributesAddData;
|
|
794
|
+
UsingDirective: AttributesUsingDirective;
|
|
795
|
+
BodyContent: AttributesBodyContentInBody;
|
|
796
|
+
};
|
|
797
|
+
BodyContent: {
|
|
798
|
+
Network: AttributesNetwork;
|
|
799
|
+
IL: AttributesIL;
|
|
800
|
+
Rung: AttributesRung;
|
|
801
|
+
CommonObject: AttributesCommonObject;
|
|
802
|
+
LdObject: AttributesLdObject;
|
|
803
|
+
FbdObject: AttributesFbdObject;
|
|
804
|
+
SfcObject: AttributesSfcObject;
|
|
805
|
+
ST: AttributesST;
|
|
806
|
+
};
|
|
807
|
+
Class: {
|
|
808
|
+
Documentation: AttributesDocumentation;
|
|
809
|
+
AddData: AttributesAddData;
|
|
810
|
+
UsingDirective: AttributesUsingDirective;
|
|
811
|
+
Extends: AttributesExtends;
|
|
812
|
+
Implements: AttributesImplements;
|
|
813
|
+
ExternalVars: AttributesExternalVars;
|
|
814
|
+
Vars: AttributesVars;
|
|
815
|
+
Method: AttributesMethodInClass;
|
|
816
|
+
};
|
|
817
|
+
CommonObject: {
|
|
818
|
+
Documentation: AttributesDocumentation;
|
|
819
|
+
AddData: AttributesAddData;
|
|
820
|
+
RelPosition: AttributesRelPosition;
|
|
821
|
+
Size: AttributesSize;
|
|
822
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
823
|
+
ActionBlock: AttributesActionBlock;
|
|
824
|
+
Content: AttributesContent;
|
|
825
|
+
ConnectionPointOut: AttributesConnectionPointOutInCommonObject;
|
|
826
|
+
};
|
|
827
|
+
Condition: {
|
|
828
|
+
Reference: AttributesReference;
|
|
829
|
+
GraphicalPredicate: AttributesGraphicalPredicate;
|
|
830
|
+
TextualPredicate: AttributesTextualPredicate;
|
|
831
|
+
Documentation: AttributesDocumentation;
|
|
832
|
+
AddData: AttributesAddData;
|
|
833
|
+
UsingDirective: AttributesUsingDirective;
|
|
834
|
+
PredicateContent: AttributesPredicateContent;
|
|
835
|
+
};
|
|
836
|
+
ConfigVariable: {
|
|
837
|
+
Documentation: AttributesDocumentation;
|
|
838
|
+
AddData: AttributesAddData;
|
|
839
|
+
UsingDirective: AttributesUsingDirective;
|
|
840
|
+
Type: AttributesTypeInConfigVariable;
|
|
841
|
+
InitialValue: AttributesInitialValueInConfigVariable;
|
|
842
|
+
Address: AttributesAddressInConfigVariable;
|
|
843
|
+
};
|
|
844
|
+
ConfigVars: {
|
|
845
|
+
Documentation: AttributesDocumentation;
|
|
846
|
+
AddData: AttributesAddData;
|
|
847
|
+
UsingDirective: AttributesUsingDirective;
|
|
848
|
+
ConfigVariable: AttributesConfigVariable;
|
|
849
|
+
};
|
|
850
|
+
Configuration: {
|
|
851
|
+
Documentation: AttributesDocumentation;
|
|
852
|
+
AddData: AttributesAddData;
|
|
853
|
+
UsingDirective: AttributesUsingDirective;
|
|
854
|
+
Resource: AttributesResource;
|
|
855
|
+
GlobalVars: AttributesGlobalVars;
|
|
856
|
+
AccessVars: AttributesAccessVarsInConfiguration;
|
|
857
|
+
ConfigVars: AttributesConfigVars;
|
|
858
|
+
};
|
|
859
|
+
Connection: {
|
|
860
|
+
Documentation: AttributesDocumentation;
|
|
861
|
+
AddData: AttributesAddData;
|
|
862
|
+
RelPosition: AttributesRelPosition;
|
|
863
|
+
};
|
|
864
|
+
ConnectionPointIn: {
|
|
865
|
+
Documentation: AttributesDocumentation;
|
|
866
|
+
AddData: AttributesAddData;
|
|
867
|
+
RelPosition: AttributesRelPosition;
|
|
868
|
+
Connection: AttributesConnection;
|
|
869
|
+
FeedbackConnection: AttributesFeedbackConnection;
|
|
870
|
+
};
|
|
871
|
+
ConnectionPointOut: {
|
|
872
|
+
Documentation: AttributesDocumentation;
|
|
873
|
+
AddData: AttributesAddData;
|
|
874
|
+
RelPosition: AttributesRelPosition;
|
|
875
|
+
};
|
|
876
|
+
ConnectionPointOutAction: {
|
|
877
|
+
Documentation: AttributesDocumentation;
|
|
878
|
+
AddData: AttributesAddData;
|
|
879
|
+
RelPosition: AttributesRelPosition;
|
|
880
|
+
};
|
|
881
|
+
ContentHeader: {
|
|
882
|
+
CoordinateInfo: AttributesCoordinateInfo;
|
|
883
|
+
AddDataInfo: AttributesAddDataInfo;
|
|
884
|
+
AddData: AttributesAddData;
|
|
885
|
+
};
|
|
886
|
+
CoordinateInfo: {
|
|
887
|
+
FbdScaling: AttributesFbdScaling;
|
|
888
|
+
LdScaling: AttributesLdScaling;
|
|
889
|
+
SfcScaling: AttributesSfcScaling;
|
|
890
|
+
};
|
|
891
|
+
DataTypeDecl: {
|
|
892
|
+
Documentation: AttributesDocumentation;
|
|
893
|
+
AddData: AttributesAddData;
|
|
894
|
+
UsingDirective: AttributesUsingDirective;
|
|
895
|
+
UserDefinedTypeSpec: AttributesUserDefinedTypeSpec;
|
|
896
|
+
};
|
|
897
|
+
DimensionSpec: {
|
|
898
|
+
IndexRange: AttributesIndexRange;
|
|
899
|
+
VariableLength: AttributesVariableLength;
|
|
900
|
+
};
|
|
901
|
+
Enumerator: {
|
|
902
|
+
Documentation: AttributesDocumentation;
|
|
903
|
+
};
|
|
904
|
+
Extends: {
|
|
905
|
+
TypeName: AttributesTypeName;
|
|
906
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
907
|
+
};
|
|
908
|
+
ExternalVars: {
|
|
909
|
+
Documentation: AttributesDocumentation;
|
|
910
|
+
AddData: AttributesAddData;
|
|
911
|
+
UsingDirective: AttributesUsingDirective;
|
|
912
|
+
Variable: AttributesVariableInExternalVars;
|
|
913
|
+
};
|
|
914
|
+
FbdObject: {
|
|
915
|
+
Documentation: AttributesDocumentation;
|
|
916
|
+
AddData: AttributesAddData;
|
|
917
|
+
RelPosition: AttributesRelPosition;
|
|
918
|
+
Size: AttributesSize;
|
|
919
|
+
InOutVariables: AttributesInOutVariables;
|
|
920
|
+
InputVariables: AttributesInputVariables;
|
|
921
|
+
OutputVariables: AttributesOutputVariables;
|
|
922
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
923
|
+
ConnectionPointOut: AttributesConnectionPointOutInFbdObject;
|
|
924
|
+
};
|
|
925
|
+
FeedbackConnection: {
|
|
926
|
+
Documentation: AttributesDocumentation;
|
|
927
|
+
AddData: AttributesAddData;
|
|
928
|
+
RelPosition: AttributesRelPosition;
|
|
929
|
+
};
|
|
930
|
+
FileHeader: {
|
|
931
|
+
AddData: AttributesAddData;
|
|
932
|
+
};
|
|
933
|
+
Function: {
|
|
934
|
+
Documentation: AttributesDocumentation;
|
|
935
|
+
AddData: AttributesAddData;
|
|
936
|
+
UsingDirective: AttributesUsingDirective;
|
|
937
|
+
ResultType: AttributesResultType;
|
|
938
|
+
Parameters: AttributesParameters;
|
|
939
|
+
ExternalVars: AttributesExternalVars;
|
|
940
|
+
TempVars: AttributesTempVars;
|
|
941
|
+
MainBody: AttributesMainBodyInFunction;
|
|
942
|
+
};
|
|
943
|
+
FunctionBlock: {
|
|
944
|
+
Documentation: AttributesDocumentation;
|
|
945
|
+
AddData: AttributesAddData;
|
|
946
|
+
UsingDirective: AttributesUsingDirective;
|
|
947
|
+
Extends: AttributesExtends;
|
|
948
|
+
Implements: AttributesImplements;
|
|
949
|
+
Parameters: AttributesParameters;
|
|
950
|
+
ExternalVars: AttributesExternalVars;
|
|
951
|
+
Vars: AttributesVars;
|
|
952
|
+
TempVars: AttributesTempVars;
|
|
953
|
+
Method: AttributesMethodInFunctionBlock;
|
|
954
|
+
MainBody: AttributesMainBodyInFunctionBlock;
|
|
955
|
+
Action: AttributesAction;
|
|
956
|
+
Transition: AttributesTransition;
|
|
957
|
+
};
|
|
958
|
+
GlobalNamespace: {
|
|
959
|
+
Documentation: AttributesDocumentation;
|
|
960
|
+
AddData: AttributesAddData;
|
|
961
|
+
UsingDirective: AttributesUsingDirective;
|
|
962
|
+
NamespaceDecl: AttributesNamespaceDecl;
|
|
963
|
+
DataTypeDecl: AttributesDataTypeDecl;
|
|
964
|
+
Program: AttributesProgram;
|
|
965
|
+
FunctionBlock: AttributesFunctionBlock;
|
|
966
|
+
Class: AttributesClass;
|
|
967
|
+
Function: AttributesFunction;
|
|
968
|
+
Interface: AttributesInterface;
|
|
969
|
+
};
|
|
970
|
+
GlobalVars: {
|
|
971
|
+
Documentation: AttributesDocumentation;
|
|
972
|
+
AddData: AttributesAddData;
|
|
973
|
+
UsingDirective: AttributesUsingDirective;
|
|
974
|
+
Variable: AttributesVariableInGlobalVars;
|
|
975
|
+
};
|
|
976
|
+
GraphicalExpression: {
|
|
977
|
+
Documentation: AttributesDocumentation;
|
|
978
|
+
AddData: AttributesAddData;
|
|
979
|
+
RelPosition: AttributesRelPosition;
|
|
980
|
+
Size: AttributesSize;
|
|
981
|
+
CommonObject: AttributesCommonObject;
|
|
982
|
+
FbdObject: AttributesFbdObject;
|
|
983
|
+
LdObject: AttributesLdObject;
|
|
984
|
+
};
|
|
985
|
+
GraphicalPredicate: {
|
|
986
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
987
|
+
GraphicalExpression: AttributesGraphicalExpression;
|
|
988
|
+
};
|
|
989
|
+
Implements: {
|
|
990
|
+
TypeName: AttributesTypeName;
|
|
991
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
992
|
+
};
|
|
993
|
+
InOutVariable: {
|
|
994
|
+
Documentation: AttributesDocumentation;
|
|
995
|
+
AddData: AttributesAddData;
|
|
996
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
997
|
+
ConnectionPointOut: AttributesConnectionPointOutInInOutVariable;
|
|
998
|
+
};
|
|
999
|
+
InOutVariables: {
|
|
1000
|
+
InOutVariable: AttributesInOutVariable;
|
|
1001
|
+
};
|
|
1002
|
+
Info: {
|
|
1003
|
+
Description: AttributesDescription;
|
|
1004
|
+
};
|
|
1005
|
+
InitialValue: {
|
|
1006
|
+
SimpleValue: AttributesSimpleValue;
|
|
1007
|
+
ArrayValue: AttributesArrayValue;
|
|
1008
|
+
StructValue: AttributesStructValue;
|
|
1009
|
+
};
|
|
1010
|
+
Inline: {
|
|
1011
|
+
Documentation: AttributesDocumentation;
|
|
1012
|
+
AddData: AttributesAddData;
|
|
1013
|
+
UsingDirective: AttributesUsingDirective;
|
|
1014
|
+
BodyContent: AttributesBodyContentInInline;
|
|
1015
|
+
};
|
|
1016
|
+
InoutVars: {
|
|
1017
|
+
Variable: AttributesVariableInInoutVars;
|
|
1018
|
+
};
|
|
1019
|
+
InputVariable: {
|
|
1020
|
+
Documentation: AttributesDocumentation;
|
|
1021
|
+
AddData: AttributesAddData;
|
|
1022
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
1023
|
+
};
|
|
1024
|
+
InputVariables: {
|
|
1025
|
+
InputVariable: AttributesInputVariable;
|
|
1026
|
+
};
|
|
1027
|
+
InputVars: {
|
|
1028
|
+
Variable: AttributesVariableInInputVars;
|
|
1029
|
+
};
|
|
1030
|
+
Instances: {
|
|
1031
|
+
Configuration: AttributesConfiguration;
|
|
1032
|
+
};
|
|
1033
|
+
InstantlyDefinedType: {
|
|
1034
|
+
BaseType: AttributesBaseTypeInInstantlyDefinedType;
|
|
1035
|
+
DimensionSpec: AttributesDimensionSpec;
|
|
1036
|
+
AddData: AttributesAddData;
|
|
1037
|
+
ReferenceTo: AttributesReferenceTo;
|
|
1038
|
+
};
|
|
1039
|
+
Interface: {
|
|
1040
|
+
Documentation: AttributesDocumentation;
|
|
1041
|
+
AddData: AttributesAddData;
|
|
1042
|
+
UsingDirective: AttributesUsingDirective;
|
|
1043
|
+
Extends: AttributesExtends;
|
|
1044
|
+
Method: AttributesMethodInInterface;
|
|
1045
|
+
};
|
|
1046
|
+
LdObject: {
|
|
1047
|
+
Documentation: AttributesDocumentation;
|
|
1048
|
+
AddData: AttributesAddData;
|
|
1049
|
+
RelPosition: AttributesRelPosition;
|
|
1050
|
+
Size: AttributesSize;
|
|
1051
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
1052
|
+
ConnectionPointOut: AttributesConnectionPointOutInLdObject;
|
|
1053
|
+
Type: AttributesTypeInLdObject;
|
|
1054
|
+
};
|
|
1055
|
+
MainBody: {
|
|
1056
|
+
Documentation: AttributesDocumentation;
|
|
1057
|
+
AddData: AttributesAddData;
|
|
1058
|
+
UsingDirective: AttributesUsingDirective;
|
|
1059
|
+
BodyContent: AttributesBodyContentInMainBody;
|
|
1060
|
+
};
|
|
1061
|
+
Member: {
|
|
1062
|
+
Documentation: AttributesDocumentation;
|
|
1063
|
+
AddData: AttributesAddData;
|
|
1064
|
+
UsingDirective: AttributesUsingDirective;
|
|
1065
|
+
Type: AttributesTypeInMember;
|
|
1066
|
+
InitialValue: AttributesInitialValueInMember;
|
|
1067
|
+
Address: AttributesAddressInMember;
|
|
1068
|
+
};
|
|
1069
|
+
Method: {
|
|
1070
|
+
Documentation: AttributesDocumentation;
|
|
1071
|
+
AddData: AttributesAddData;
|
|
1072
|
+
UsingDirective: AttributesUsingDirective;
|
|
1073
|
+
ResultType: AttributesResultType;
|
|
1074
|
+
Parameters: AttributesParameters;
|
|
1075
|
+
TempVars: AttributesTempVars;
|
|
1076
|
+
Body: AttributesBodyInMethod;
|
|
1077
|
+
};
|
|
1078
|
+
NamespaceDecl: {
|
|
1079
|
+
Documentation: AttributesDocumentation;
|
|
1080
|
+
AddData: AttributesAddData;
|
|
1081
|
+
UsingDirective: AttributesUsingDirective;
|
|
1082
|
+
NamespaceDecl: AttributesNamespaceDecl;
|
|
1083
|
+
DataTypeDecl: AttributesDataTypeDecl;
|
|
1084
|
+
Program: AttributesProgram;
|
|
1085
|
+
FunctionBlock: AttributesFunctionBlock;
|
|
1086
|
+
Class: AttributesClass;
|
|
1087
|
+
Function: AttributesFunction;
|
|
1088
|
+
Interface: AttributesInterface;
|
|
1089
|
+
};
|
|
1090
|
+
Network: {
|
|
1091
|
+
Documentation: AttributesDocumentation;
|
|
1092
|
+
AddData: AttributesAddData;
|
|
1093
|
+
RelPosition: AttributesRelPosition;
|
|
1094
|
+
Size: AttributesSize;
|
|
1095
|
+
CommonObject: AttributesCommonObject;
|
|
1096
|
+
FbdObject: AttributesFbdObject;
|
|
1097
|
+
};
|
|
1098
|
+
OutputVariable: {
|
|
1099
|
+
Documentation: AttributesDocumentation;
|
|
1100
|
+
AddData: AttributesAddData;
|
|
1101
|
+
ConnectionPointOut: AttributesConnectionPointOutInOutputVariable;
|
|
1102
|
+
};
|
|
1103
|
+
OutputVariables: {
|
|
1104
|
+
OutputVariable: AttributesOutputVariable;
|
|
1105
|
+
};
|
|
1106
|
+
OutputVars: {
|
|
1107
|
+
Variable: AttributesVariableInOutputVars;
|
|
1108
|
+
};
|
|
1109
|
+
Parameters: {
|
|
1110
|
+
InoutVars: AttributesInoutVars;
|
|
1111
|
+
InputVars: AttributesInputVars;
|
|
1112
|
+
OutputVars: AttributesOutputVars;
|
|
1113
|
+
};
|
|
1114
|
+
PredicateContent: {
|
|
1115
|
+
Network: AttributesNetwork;
|
|
1116
|
+
IL: AttributesIL;
|
|
1117
|
+
Rung: AttributesRung;
|
|
1118
|
+
ST: AttributesST;
|
|
1119
|
+
};
|
|
1120
|
+
Program: {
|
|
1121
|
+
Documentation: AttributesDocumentation;
|
|
1122
|
+
AddData: AttributesAddData;
|
|
1123
|
+
UsingDirective: AttributesUsingDirective;
|
|
1124
|
+
AccessVars: AttributesAccessVarsInProgram;
|
|
1125
|
+
GlobalVars: AttributesGlobalVars;
|
|
1126
|
+
Parameters: AttributesParameters;
|
|
1127
|
+
ExternalVars: AttributesExternalVars;
|
|
1128
|
+
Vars: AttributesVars;
|
|
1129
|
+
TempVars: AttributesTempVars;
|
|
1130
|
+
MainBody: AttributesMainBodyInProgram;
|
|
1131
|
+
Action: AttributesAction;
|
|
1132
|
+
Transition: AttributesTransition;
|
|
1133
|
+
};
|
|
1134
|
+
ProgramInstance: {
|
|
1135
|
+
Documentation: AttributesDocumentation;
|
|
1136
|
+
AddData: AttributesAddData;
|
|
1137
|
+
UsingDirective: AttributesUsingDirective;
|
|
1138
|
+
InputAssignment: AttributesInputAssignment;
|
|
1139
|
+
OutputAssignment: AttributesOutputAssignment;
|
|
1140
|
+
InOutAssignment: AttributesInOutAssignment;
|
|
1141
|
+
FbInstTaskAssociation: AttributesFbInstTaskAssociation;
|
|
1142
|
+
};
|
|
1143
|
+
Project: {
|
|
1144
|
+
FileHeader: AttributesFileHeader;
|
|
1145
|
+
ContentHeader: AttributesContentHeader;
|
|
1146
|
+
Types: AttributesTypes;
|
|
1147
|
+
Instances: AttributesInstances;
|
|
1148
|
+
AddData: AttributesAddData;
|
|
1149
|
+
Documentation: AttributesDocumentation;
|
|
1150
|
+
};
|
|
1151
|
+
ReferenceTo: {
|
|
1152
|
+
TypeName: AttributesTypeName;
|
|
1153
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
1154
|
+
};
|
|
1155
|
+
Resource: {
|
|
1156
|
+
Documentation: AttributesDocumentation;
|
|
1157
|
+
AddData: AttributesAddData;
|
|
1158
|
+
UsingDirective: AttributesUsingDirective;
|
|
1159
|
+
GlobalVars: AttributesGlobalVars;
|
|
1160
|
+
Task: AttributesTask;
|
|
1161
|
+
ProgramInstance: AttributesProgramInstance;
|
|
1162
|
+
};
|
|
1163
|
+
ResultType: {
|
|
1164
|
+
TypeName: AttributesTypeName;
|
|
1165
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
1166
|
+
};
|
|
1167
|
+
Rung: {
|
|
1168
|
+
Documentation: AttributesDocumentation;
|
|
1169
|
+
AddData: AttributesAddData;
|
|
1170
|
+
RelPosition: AttributesRelPosition;
|
|
1171
|
+
Size: AttributesSize;
|
|
1172
|
+
CommonObject: AttributesCommonObject;
|
|
1173
|
+
LdObject: AttributesLdObject;
|
|
1174
|
+
FbdObject: AttributesFbdObject;
|
|
1175
|
+
};
|
|
1176
|
+
SfcObject: {
|
|
1177
|
+
Documentation: AttributesDocumentation;
|
|
1178
|
+
AddData: AttributesAddData;
|
|
1179
|
+
RelPosition: AttributesRelPosition;
|
|
1180
|
+
Size: AttributesSize;
|
|
1181
|
+
ConnectionPointIn: AttributesConnectionPointIn;
|
|
1182
|
+
ConnectionPointOut: AttributesConnectionPointOutInSfcObject;
|
|
1183
|
+
ConnectionPointOutAction: AttributesConnectionPointOutAction;
|
|
1184
|
+
Condition: AttributesConditionInSfcObject;
|
|
1185
|
+
};
|
|
1186
|
+
StructValue: {
|
|
1187
|
+
Value: AttributesValueInStructValue;
|
|
1188
|
+
};
|
|
1189
|
+
Task: {
|
|
1190
|
+
Documentation: AttributesDocumentation;
|
|
1191
|
+
AddData: AttributesAddData;
|
|
1192
|
+
UsingDirective: AttributesUsingDirective;
|
|
1193
|
+
};
|
|
1194
|
+
TempVars: {
|
|
1195
|
+
Documentation: AttributesDocumentation;
|
|
1196
|
+
AddData: AttributesAddData;
|
|
1197
|
+
UsingDirective: AttributesUsingDirective;
|
|
1198
|
+
Variable: AttributesVariableInTempVars;
|
|
1199
|
+
};
|
|
1200
|
+
TextualPredicate: {
|
|
1201
|
+
Documentation: AttributesDocumentation;
|
|
1202
|
+
AddData: AttributesAddData;
|
|
1203
|
+
UsingDirective: AttributesUsingDirective;
|
|
1204
|
+
PredicateContent: AttributesPredicateContent;
|
|
1205
|
+
};
|
|
1206
|
+
Transition: {
|
|
1207
|
+
Documentation: AttributesDocumentation;
|
|
1208
|
+
AddData: AttributesAddData;
|
|
1209
|
+
UsingDirective: AttributesUsingDirective;
|
|
1210
|
+
Condition: AttributesConditionInTransition;
|
|
1211
|
+
};
|
|
1212
|
+
Type: {
|
|
1213
|
+
TypeName: AttributesTypeName;
|
|
1214
|
+
InstantlyDefinedType: AttributesInstantlyDefinedType;
|
|
1215
|
+
};
|
|
1216
|
+
Types: {
|
|
1217
|
+
GlobalNamespace: AttributesGlobalNamespace;
|
|
1218
|
+
};
|
|
1219
|
+
UserDefinedTypeSpec: {
|
|
1220
|
+
BaseType: AttributesBaseTypeInUserDefinedTypeSpec;
|
|
1221
|
+
DimensionSpec: AttributesDimensionSpec;
|
|
1222
|
+
AddData: AttributesAddData;
|
|
1223
|
+
InitialValue: AttributesInitialValueInUserDefinedTypeSpec;
|
|
1224
|
+
Enumerator: AttributesEnumeratorInUserDefinedTypeSpec;
|
|
1225
|
+
ReferenceTo: AttributesReferenceTo;
|
|
1226
|
+
Member: AttributesMember;
|
|
1227
|
+
Range: AttributesRange;
|
|
1228
|
+
};
|
|
1229
|
+
Value: {
|
|
1230
|
+
SimpleValue: AttributesSimpleValue;
|
|
1231
|
+
ArrayValue: AttributesArrayValue;
|
|
1232
|
+
StructValue: AttributesStructValue;
|
|
1233
|
+
};
|
|
1234
|
+
Variable: {
|
|
1235
|
+
Documentation: AttributesDocumentation;
|
|
1236
|
+
AddData: AttributesAddData;
|
|
1237
|
+
UsingDirective: AttributesUsingDirective;
|
|
1238
|
+
Type: AttributesTypeInVariable;
|
|
1239
|
+
InitialValue: AttributesInitialValueInVariable;
|
|
1240
|
+
Address: AttributesAddressInVariable;
|
|
1241
|
+
};
|
|
1242
|
+
Vars: {
|
|
1243
|
+
Documentation: AttributesDocumentation;
|
|
1244
|
+
AddData: AttributesAddData;
|
|
1245
|
+
UsingDirective: AttributesUsingDirective;
|
|
1246
|
+
Variable: AttributesVariableInVars;
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
555
1249
|
export type RequiredAttributeNames<T extends AvailableElement> = (typeof REQUIRED_ATTRIBUTES)[T][number];
|
|
556
1250
|
export type OptionalAttributeNames<T extends AvailableElement> = Exclude<keyof AttributesOf<T>, RequiredAttributeNames<T>>;
|
|
557
1251
|
//# sourceMappingURL=types.generated.d.ts.map
|