node-opcua-nodeset-machinery 2.62.7 → 2.64.0
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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/ua_machinery_item_state_state_machine.d.ts +148 -0
- package/dist/ua_machinery_item_state_state_machine.js +3 -0
- package/dist/ua_machinery_item_state_state_machine.js.map +1 -0
- package/dist/ua_machinery_operation_mode_state_machine.d.ts +136 -0
- package/dist/ua_machinery_operation_mode_state_machine.js +3 -0
- package/dist/ua_machinery_operation_mode_state_machine.js.map +1 -0
- package/package.json +20 -19
- package/source/index.ts +3 -1
- package/source/ua_machinery_item_state_state_machine.ts +151 -0
- package/source/ua_machinery_operation_mode_state_machine.ts +138 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,3 +5,5 @@ export * from "./ua_machine_components";
|
|
|
5
5
|
export * from "./ua_machine_identification";
|
|
6
6
|
export * from "./ua_machinery_component_identification";
|
|
7
7
|
export * from "./ua_machinery_item_identification";
|
|
8
|
+
export * from "./ua_machinery_item_state_state_machine";
|
|
9
|
+
export * from "./ua_machinery_operation_mode_state_machine";
|
package/dist/index.js
CHANGED
|
@@ -17,4 +17,6 @@ __exportStar(require("./ua_machine_components"), exports);
|
|
|
17
17
|
__exportStar(require("./ua_machine_identification"), exports);
|
|
18
18
|
__exportStar(require("./ua_machinery_component_identification"), exports);
|
|
19
19
|
__exportStar(require("./ua_machinery_item_identification"), exports);
|
|
20
|
+
__exportStar(require("./ua_machinery_item_state_state_machine"), exports);
|
|
21
|
+
__exportStar(require("./ua_machinery_operation_mode_state_machine"), exports);
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,kEAAgD;AAChD,yEAAuD;AACvD,0DAAwC;AACxC,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,kEAAgD;AAChD,yEAAuD;AACvD,0DAAwC;AACxC,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AACnD,0EAAwD;AACxD,8EAA4D"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { QualifiedName } from "node-opcua-data-model";
|
|
4
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
5
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
6
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
7
|
+
/**
|
|
8
|
+
* State machine representing the state of a
|
|
9
|
+
* machinery item
|
|
10
|
+
*
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|--------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |8:MachineryItemState_StateMachineType ns=8;i=1002 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAMachineryItemState_StateMachine_Base extends UAFiniteStateMachine_Base {
|
|
19
|
+
/**
|
|
20
|
+
* defaultInstanceBrowseName
|
|
21
|
+
* The default BrowseName for instances of the type
|
|
22
|
+
*/
|
|
23
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, /*z*/ DataType.QualifiedName>;
|
|
24
|
+
/**
|
|
25
|
+
* executing
|
|
26
|
+
* The machine is available & functional and is
|
|
27
|
+
* actively performing an activity (pursues a
|
|
28
|
+
* purpose)
|
|
29
|
+
*/
|
|
30
|
+
executing: UAState;
|
|
31
|
+
/**
|
|
32
|
+
* fromExecutingToExecuting
|
|
33
|
+
* Transition from state Executing to state Executing
|
|
34
|
+
*/
|
|
35
|
+
fromExecutingToExecuting: UATransition;
|
|
36
|
+
/**
|
|
37
|
+
* fromExecutingToNotAvailable
|
|
38
|
+
* Transition from state Executing to state
|
|
39
|
+
* NotAvailable
|
|
40
|
+
*/
|
|
41
|
+
fromExecutingToNotAvailable: UATransition;
|
|
42
|
+
/**
|
|
43
|
+
* fromExecutingToNotExecuting
|
|
44
|
+
* Transition from state Executing to state
|
|
45
|
+
* NotExecuting
|
|
46
|
+
*/
|
|
47
|
+
fromExecutingToNotExecuting: UATransition;
|
|
48
|
+
/**
|
|
49
|
+
* fromExecutingToOutOfService
|
|
50
|
+
* Transition from state Executing to state
|
|
51
|
+
* OutOfService
|
|
52
|
+
*/
|
|
53
|
+
fromExecutingToOutOfService: UATransition;
|
|
54
|
+
/**
|
|
55
|
+
* fromNotAvailableToExecuting
|
|
56
|
+
* Transition from state NotAvailable to state
|
|
57
|
+
* Executing
|
|
58
|
+
*/
|
|
59
|
+
fromNotAvailableToExecuting: UATransition;
|
|
60
|
+
/**
|
|
61
|
+
* fromNotAvailableToNotAvailable
|
|
62
|
+
* Transition from state NotAvailable to state
|
|
63
|
+
* NotAvailable
|
|
64
|
+
*/
|
|
65
|
+
fromNotAvailableToNotAvailable: UATransition;
|
|
66
|
+
/**
|
|
67
|
+
* fromNotAvailableToNotExecuting
|
|
68
|
+
* Transition from state NotAvailable to state
|
|
69
|
+
* NotExecuting
|
|
70
|
+
*/
|
|
71
|
+
fromNotAvailableToNotExecuting: UATransition;
|
|
72
|
+
/**
|
|
73
|
+
* fromNotAvailableToOutOfService
|
|
74
|
+
* Transition from state NotAvailable to state
|
|
75
|
+
* OutOfService
|
|
76
|
+
*/
|
|
77
|
+
fromNotAvailableToOutOfService: UATransition;
|
|
78
|
+
/**
|
|
79
|
+
* fromNotExecutingToExecuting
|
|
80
|
+
* Transition from state NotExecuting to state
|
|
81
|
+
* Executing
|
|
82
|
+
*/
|
|
83
|
+
fromNotExecutingToExecuting: UATransition;
|
|
84
|
+
/**
|
|
85
|
+
* fromNotExecutingToNotAvailable
|
|
86
|
+
* Transition from state NotExecuting to state
|
|
87
|
+
* NotAvailable
|
|
88
|
+
*/
|
|
89
|
+
fromNotExecutingToNotAvailable: UATransition;
|
|
90
|
+
/**
|
|
91
|
+
* fromNotExecutingToNotExecuting
|
|
92
|
+
* Transition from state NotExecuting to state
|
|
93
|
+
* NotExecuting
|
|
94
|
+
*/
|
|
95
|
+
fromNotExecutingToNotExecuting: UATransition;
|
|
96
|
+
/**
|
|
97
|
+
* fromNotExecutingToOutOfService
|
|
98
|
+
* Transition from state NotExecuting to state
|
|
99
|
+
* OutOfService
|
|
100
|
+
*/
|
|
101
|
+
fromNotExecutingToOutOfService: UATransition;
|
|
102
|
+
/**
|
|
103
|
+
* fromOutOfServiceToExecuting
|
|
104
|
+
* Transition from state OutOfService to state
|
|
105
|
+
* Executing
|
|
106
|
+
*/
|
|
107
|
+
fromOutOfServiceToExecuting: UATransition;
|
|
108
|
+
/**
|
|
109
|
+
* fromOutOfServiceToNotAvailable
|
|
110
|
+
* Transition from state OutOfService to state
|
|
111
|
+
* NotAvailable
|
|
112
|
+
*/
|
|
113
|
+
fromOutOfServiceToNotAvailable: UATransition;
|
|
114
|
+
/**
|
|
115
|
+
* fromOutOfServiceToNotExecuting
|
|
116
|
+
* Transition from state OutOfService to state
|
|
117
|
+
* NotExecuting
|
|
118
|
+
*/
|
|
119
|
+
fromOutOfServiceToNotExecuting: UATransition;
|
|
120
|
+
/**
|
|
121
|
+
* fromOutOfServiceToOutOfService
|
|
122
|
+
* Transition from state OutOfService to state
|
|
123
|
+
* OutOfService
|
|
124
|
+
*/
|
|
125
|
+
fromOutOfServiceToOutOfService: UATransition;
|
|
126
|
+
/**
|
|
127
|
+
* notAvailable
|
|
128
|
+
* The machine is not available and does not perform
|
|
129
|
+
* any activity (e.g., switched off, in energy
|
|
130
|
+
* saving mode)
|
|
131
|
+
*/
|
|
132
|
+
notAvailable: UAState;
|
|
133
|
+
/**
|
|
134
|
+
* notExecuting
|
|
135
|
+
* The machine is available & functional and does
|
|
136
|
+
* not perform any activity. It waits for an action
|
|
137
|
+
* from outside to start or restart an activity
|
|
138
|
+
*/
|
|
139
|
+
notExecuting: UAState;
|
|
140
|
+
/**
|
|
141
|
+
* outOfService
|
|
142
|
+
* The machine is not functional and does not
|
|
143
|
+
* perform any activity (e.g., error, blocked)
|
|
144
|
+
*/
|
|
145
|
+
outOfService: UAState;
|
|
146
|
+
}
|
|
147
|
+
export interface UAMachineryItemState_StateMachine extends UAFiniteStateMachine, UAMachineryItemState_StateMachine_Base {
|
|
148
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_machinery_item_state_state_machine.js","sourceRoot":"","sources":["../source/ua_machinery_item_state_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { QualifiedName } from "node-opcua-data-model";
|
|
4
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
5
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
6
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
7
|
+
/**
|
|
8
|
+
* State machine representing the operation mode of
|
|
9
|
+
* a MachineryItem
|
|
10
|
+
*
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|--------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |8:MachineryOperationModeStateMachineType ns=8;i=1008|
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAMachineryOperationModeStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
19
|
+
/**
|
|
20
|
+
* defaultInstanceBrowseName
|
|
21
|
+
* The default BrowseName for instances of the type
|
|
22
|
+
*/
|
|
23
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, /*z*/ DataType.QualifiedName>;
|
|
24
|
+
/**
|
|
25
|
+
* fromMaintenanceToMaintenance
|
|
26
|
+
* Transition from state Maintenance to state
|
|
27
|
+
* Maintenance
|
|
28
|
+
*/
|
|
29
|
+
fromMaintenanceToMaintenance: UATransition;
|
|
30
|
+
/**
|
|
31
|
+
* fromMaintenanceToNone
|
|
32
|
+
* Transition from state Maintenance to state None
|
|
33
|
+
*/
|
|
34
|
+
fromMaintenanceToNone: UATransition;
|
|
35
|
+
/**
|
|
36
|
+
* fromMaintenanceToProcessing
|
|
37
|
+
* Transition from state Maintenance to state
|
|
38
|
+
* Processing
|
|
39
|
+
*/
|
|
40
|
+
fromMaintenanceToProcessing: UATransition;
|
|
41
|
+
/**
|
|
42
|
+
* fromMaintenanceToSetup
|
|
43
|
+
* Transition from state Maintenance to state Setup
|
|
44
|
+
*/
|
|
45
|
+
fromMaintenanceToSetup: UATransition;
|
|
46
|
+
/**
|
|
47
|
+
* fromNoneToMaintenance
|
|
48
|
+
* Transition from state None to state Maintenance
|
|
49
|
+
*/
|
|
50
|
+
fromNoneToMaintenance: UATransition;
|
|
51
|
+
/**
|
|
52
|
+
* fromNoneToNone
|
|
53
|
+
* Transition from state None to state None
|
|
54
|
+
*/
|
|
55
|
+
fromNoneToNone: UATransition;
|
|
56
|
+
/**
|
|
57
|
+
* fromNoneToProcessing
|
|
58
|
+
* Transition from state None to state Processing
|
|
59
|
+
*/
|
|
60
|
+
fromNoneToProcessing: UATransition;
|
|
61
|
+
/**
|
|
62
|
+
* fromNoneToSetup
|
|
63
|
+
* Transition from state None to state Setup
|
|
64
|
+
*/
|
|
65
|
+
fromNoneToSetup: UATransition;
|
|
66
|
+
/**
|
|
67
|
+
* fromProcessingToMaintenance
|
|
68
|
+
* Transition from state Processing to state
|
|
69
|
+
* Maintenance
|
|
70
|
+
*/
|
|
71
|
+
fromProcessingToMaintenance: UATransition;
|
|
72
|
+
/**
|
|
73
|
+
* fromProcessingToNone
|
|
74
|
+
* Transition from state Processing to state None
|
|
75
|
+
*/
|
|
76
|
+
fromProcessingToNone: UATransition;
|
|
77
|
+
/**
|
|
78
|
+
* fromProcessingToProcessing
|
|
79
|
+
* Transition from state Processing to state
|
|
80
|
+
* Processing
|
|
81
|
+
*/
|
|
82
|
+
fromProcessingToProcessing: UATransition;
|
|
83
|
+
/**
|
|
84
|
+
* fromProcessingToSetup
|
|
85
|
+
* Transition from state Processing to state Setup
|
|
86
|
+
*/
|
|
87
|
+
fromProcessingToSetup: UATransition;
|
|
88
|
+
/**
|
|
89
|
+
* fromSetupToMaintenance
|
|
90
|
+
* Transition from state Setup to state Maintenance
|
|
91
|
+
*/
|
|
92
|
+
fromSetupToMaintenance: UATransition;
|
|
93
|
+
/**
|
|
94
|
+
* fromSetupToNone
|
|
95
|
+
* Transition from state Setup to state None
|
|
96
|
+
*/
|
|
97
|
+
fromSetupToNone: UATransition;
|
|
98
|
+
/**
|
|
99
|
+
* fromSetupToProcessing
|
|
100
|
+
* Transition from state Setup to state Processing
|
|
101
|
+
*/
|
|
102
|
+
fromSetupToProcessing: UATransition;
|
|
103
|
+
/**
|
|
104
|
+
* fromSetupToSetup
|
|
105
|
+
* Transition from state Setup to state Setup
|
|
106
|
+
*/
|
|
107
|
+
fromSetupToSetup: UATransition;
|
|
108
|
+
/**
|
|
109
|
+
* maintenance
|
|
110
|
+
* MachineryItem is set into maintenance mode with
|
|
111
|
+
* the intention to carry out maintenance or
|
|
112
|
+
* servicing activities
|
|
113
|
+
*/
|
|
114
|
+
maintenance: UAState;
|
|
115
|
+
/**
|
|
116
|
+
* none
|
|
117
|
+
* There is currently no operation mode available
|
|
118
|
+
*/
|
|
119
|
+
none: UAState;
|
|
120
|
+
/**
|
|
121
|
+
* processing
|
|
122
|
+
* MachineryItem is set into processing mode with
|
|
123
|
+
* the intention to carry out the value adding
|
|
124
|
+
* activities
|
|
125
|
+
*/
|
|
126
|
+
processing: UAState;
|
|
127
|
+
/**
|
|
128
|
+
* setup
|
|
129
|
+
* MachineryItem is set into setup mode with the
|
|
130
|
+
* intention to carry out setup, preparation or
|
|
131
|
+
* postprocessing activities of a production process
|
|
132
|
+
*/
|
|
133
|
+
setup: UAState;
|
|
134
|
+
}
|
|
135
|
+
export interface UAMachineryOperationModeStateMachine extends UAFiniteStateMachine, UAMachineryOperationModeStateMachine_Base {
|
|
136
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_machinery_operation_mode_state_machine.js","sourceRoot":"","sources":["../source/ua_machinery_operation_mode_state_machine.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
}
|
|
2
|
+
"name": "node-opcua-nodeset-machinery",
|
|
3
|
+
"version": "2.64.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"author": "etienne.rossignon@sterfive.com",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"node-opcua-address-space-base": "2.64.0",
|
|
11
|
+
"node-opcua-basic-types": "2.64.0",
|
|
12
|
+
"node-opcua-data-model": "2.64.0",
|
|
13
|
+
"node-opcua-nodeid": "2.64.0",
|
|
14
|
+
"node-opcua-nodeset-di": "2.64.0",
|
|
15
|
+
"node-opcua-nodeset-ua": "2.64.0",
|
|
16
|
+
"node-opcua-variant": "2.64.0"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc -b"
|
|
20
|
+
}
|
|
21
|
+
}
|
package/source/index.ts
CHANGED
|
@@ -4,4 +4,6 @@ export * from "./ua_i_machinery_item_vendor_nameplate";
|
|
|
4
4
|
export * from "./ua_machine_components";
|
|
5
5
|
export * from "./ua_machine_identification";
|
|
6
6
|
export * from "./ua_machinery_component_identification";
|
|
7
|
-
export * from "./ua_machinery_item_identification";
|
|
7
|
+
export * from "./ua_machinery_item_identification";
|
|
8
|
+
export * from "./ua_machinery_item_state_state_machine";
|
|
9
|
+
export * from "./ua_machinery_operation_mode_state_machine";
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
5
|
+
import { NodeId } from "node-opcua-nodeid"
|
|
6
|
+
import { UInt32 } from "node-opcua-basic-types"
|
|
7
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine"
|
|
8
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
9
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
10
|
+
/**
|
|
11
|
+
* State machine representing the state of a
|
|
12
|
+
* machinery item
|
|
13
|
+
*
|
|
14
|
+
* | | |
|
|
15
|
+
* |----------------|--------------------------------------------------|
|
|
16
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ |
|
|
17
|
+
* |nodeClass |ObjectType |
|
|
18
|
+
* |typedDefinition |8:MachineryItemState_StateMachineType ns=8;i=1002 |
|
|
19
|
+
* |isAbstract |false |
|
|
20
|
+
*/
|
|
21
|
+
export interface UAMachineryItemState_StateMachine_Base extends UAFiniteStateMachine_Base {
|
|
22
|
+
/**
|
|
23
|
+
* defaultInstanceBrowseName
|
|
24
|
+
* The default BrowseName for instances of the type
|
|
25
|
+
*/
|
|
26
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, /*z*/DataType.QualifiedName>;
|
|
27
|
+
/**
|
|
28
|
+
* executing
|
|
29
|
+
* The machine is available & functional and is
|
|
30
|
+
* actively performing an activity (pursues a
|
|
31
|
+
* purpose)
|
|
32
|
+
*/
|
|
33
|
+
executing: UAState;
|
|
34
|
+
/**
|
|
35
|
+
* fromExecutingToExecuting
|
|
36
|
+
* Transition from state Executing to state Executing
|
|
37
|
+
*/
|
|
38
|
+
fromExecutingToExecuting: UATransition;
|
|
39
|
+
/**
|
|
40
|
+
* fromExecutingToNotAvailable
|
|
41
|
+
* Transition from state Executing to state
|
|
42
|
+
* NotAvailable
|
|
43
|
+
*/
|
|
44
|
+
fromExecutingToNotAvailable: UATransition;
|
|
45
|
+
/**
|
|
46
|
+
* fromExecutingToNotExecuting
|
|
47
|
+
* Transition from state Executing to state
|
|
48
|
+
* NotExecuting
|
|
49
|
+
*/
|
|
50
|
+
fromExecutingToNotExecuting: UATransition;
|
|
51
|
+
/**
|
|
52
|
+
* fromExecutingToOutOfService
|
|
53
|
+
* Transition from state Executing to state
|
|
54
|
+
* OutOfService
|
|
55
|
+
*/
|
|
56
|
+
fromExecutingToOutOfService: UATransition;
|
|
57
|
+
/**
|
|
58
|
+
* fromNotAvailableToExecuting
|
|
59
|
+
* Transition from state NotAvailable to state
|
|
60
|
+
* Executing
|
|
61
|
+
*/
|
|
62
|
+
fromNotAvailableToExecuting: UATransition;
|
|
63
|
+
/**
|
|
64
|
+
* fromNotAvailableToNotAvailable
|
|
65
|
+
* Transition from state NotAvailable to state
|
|
66
|
+
* NotAvailable
|
|
67
|
+
*/
|
|
68
|
+
fromNotAvailableToNotAvailable: UATransition;
|
|
69
|
+
/**
|
|
70
|
+
* fromNotAvailableToNotExecuting
|
|
71
|
+
* Transition from state NotAvailable to state
|
|
72
|
+
* NotExecuting
|
|
73
|
+
*/
|
|
74
|
+
fromNotAvailableToNotExecuting: UATransition;
|
|
75
|
+
/**
|
|
76
|
+
* fromNotAvailableToOutOfService
|
|
77
|
+
* Transition from state NotAvailable to state
|
|
78
|
+
* OutOfService
|
|
79
|
+
*/
|
|
80
|
+
fromNotAvailableToOutOfService: UATransition;
|
|
81
|
+
/**
|
|
82
|
+
* fromNotExecutingToExecuting
|
|
83
|
+
* Transition from state NotExecuting to state
|
|
84
|
+
* Executing
|
|
85
|
+
*/
|
|
86
|
+
fromNotExecutingToExecuting: UATransition;
|
|
87
|
+
/**
|
|
88
|
+
* fromNotExecutingToNotAvailable
|
|
89
|
+
* Transition from state NotExecuting to state
|
|
90
|
+
* NotAvailable
|
|
91
|
+
*/
|
|
92
|
+
fromNotExecutingToNotAvailable: UATransition;
|
|
93
|
+
/**
|
|
94
|
+
* fromNotExecutingToNotExecuting
|
|
95
|
+
* Transition from state NotExecuting to state
|
|
96
|
+
* NotExecuting
|
|
97
|
+
*/
|
|
98
|
+
fromNotExecutingToNotExecuting: UATransition;
|
|
99
|
+
/**
|
|
100
|
+
* fromNotExecutingToOutOfService
|
|
101
|
+
* Transition from state NotExecuting to state
|
|
102
|
+
* OutOfService
|
|
103
|
+
*/
|
|
104
|
+
fromNotExecutingToOutOfService: UATransition;
|
|
105
|
+
/**
|
|
106
|
+
* fromOutOfServiceToExecuting
|
|
107
|
+
* Transition from state OutOfService to state
|
|
108
|
+
* Executing
|
|
109
|
+
*/
|
|
110
|
+
fromOutOfServiceToExecuting: UATransition;
|
|
111
|
+
/**
|
|
112
|
+
* fromOutOfServiceToNotAvailable
|
|
113
|
+
* Transition from state OutOfService to state
|
|
114
|
+
* NotAvailable
|
|
115
|
+
*/
|
|
116
|
+
fromOutOfServiceToNotAvailable: UATransition;
|
|
117
|
+
/**
|
|
118
|
+
* fromOutOfServiceToNotExecuting
|
|
119
|
+
* Transition from state OutOfService to state
|
|
120
|
+
* NotExecuting
|
|
121
|
+
*/
|
|
122
|
+
fromOutOfServiceToNotExecuting: UATransition;
|
|
123
|
+
/**
|
|
124
|
+
* fromOutOfServiceToOutOfService
|
|
125
|
+
* Transition from state OutOfService to state
|
|
126
|
+
* OutOfService
|
|
127
|
+
*/
|
|
128
|
+
fromOutOfServiceToOutOfService: UATransition;
|
|
129
|
+
/**
|
|
130
|
+
* notAvailable
|
|
131
|
+
* The machine is not available and does not perform
|
|
132
|
+
* any activity (e.g., switched off, in energy
|
|
133
|
+
* saving mode)
|
|
134
|
+
*/
|
|
135
|
+
notAvailable: UAState;
|
|
136
|
+
/**
|
|
137
|
+
* notExecuting
|
|
138
|
+
* The machine is available & functional and does
|
|
139
|
+
* not perform any activity. It waits for an action
|
|
140
|
+
* from outside to start or restart an activity
|
|
141
|
+
*/
|
|
142
|
+
notExecuting: UAState;
|
|
143
|
+
/**
|
|
144
|
+
* outOfService
|
|
145
|
+
* The machine is not functional and does not
|
|
146
|
+
* perform any activity (e.g., error, blocked)
|
|
147
|
+
*/
|
|
148
|
+
outOfService: UAState;
|
|
149
|
+
}
|
|
150
|
+
export interface UAMachineryItemState_StateMachine extends UAFiniteStateMachine, UAMachineryItemState_StateMachine_Base {
|
|
151
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { QualifiedName } from "node-opcua-data-model"
|
|
5
|
+
import { UInt32 } from "node-opcua-basic-types"
|
|
6
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine"
|
|
7
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
8
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
9
|
+
/**
|
|
10
|
+
* State machine representing the operation mode of
|
|
11
|
+
* a MachineryItem
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|--------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |8:MachineryOperationModeStateMachineType ns=8;i=1008|
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
20
|
+
export interface UAMachineryOperationModeStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
21
|
+
/**
|
|
22
|
+
* defaultInstanceBrowseName
|
|
23
|
+
* The default BrowseName for instances of the type
|
|
24
|
+
*/
|
|
25
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, /*z*/DataType.QualifiedName>;
|
|
26
|
+
/**
|
|
27
|
+
* fromMaintenanceToMaintenance
|
|
28
|
+
* Transition from state Maintenance to state
|
|
29
|
+
* Maintenance
|
|
30
|
+
*/
|
|
31
|
+
fromMaintenanceToMaintenance: UATransition;
|
|
32
|
+
/**
|
|
33
|
+
* fromMaintenanceToNone
|
|
34
|
+
* Transition from state Maintenance to state None
|
|
35
|
+
*/
|
|
36
|
+
fromMaintenanceToNone: UATransition;
|
|
37
|
+
/**
|
|
38
|
+
* fromMaintenanceToProcessing
|
|
39
|
+
* Transition from state Maintenance to state
|
|
40
|
+
* Processing
|
|
41
|
+
*/
|
|
42
|
+
fromMaintenanceToProcessing: UATransition;
|
|
43
|
+
/**
|
|
44
|
+
* fromMaintenanceToSetup
|
|
45
|
+
* Transition from state Maintenance to state Setup
|
|
46
|
+
*/
|
|
47
|
+
fromMaintenanceToSetup: UATransition;
|
|
48
|
+
/**
|
|
49
|
+
* fromNoneToMaintenance
|
|
50
|
+
* Transition from state None to state Maintenance
|
|
51
|
+
*/
|
|
52
|
+
fromNoneToMaintenance: UATransition;
|
|
53
|
+
/**
|
|
54
|
+
* fromNoneToNone
|
|
55
|
+
* Transition from state None to state None
|
|
56
|
+
*/
|
|
57
|
+
fromNoneToNone: UATransition;
|
|
58
|
+
/**
|
|
59
|
+
* fromNoneToProcessing
|
|
60
|
+
* Transition from state None to state Processing
|
|
61
|
+
*/
|
|
62
|
+
fromNoneToProcessing: UATransition;
|
|
63
|
+
/**
|
|
64
|
+
* fromNoneToSetup
|
|
65
|
+
* Transition from state None to state Setup
|
|
66
|
+
*/
|
|
67
|
+
fromNoneToSetup: UATransition;
|
|
68
|
+
/**
|
|
69
|
+
* fromProcessingToMaintenance
|
|
70
|
+
* Transition from state Processing to state
|
|
71
|
+
* Maintenance
|
|
72
|
+
*/
|
|
73
|
+
fromProcessingToMaintenance: UATransition;
|
|
74
|
+
/**
|
|
75
|
+
* fromProcessingToNone
|
|
76
|
+
* Transition from state Processing to state None
|
|
77
|
+
*/
|
|
78
|
+
fromProcessingToNone: UATransition;
|
|
79
|
+
/**
|
|
80
|
+
* fromProcessingToProcessing
|
|
81
|
+
* Transition from state Processing to state
|
|
82
|
+
* Processing
|
|
83
|
+
*/
|
|
84
|
+
fromProcessingToProcessing: UATransition;
|
|
85
|
+
/**
|
|
86
|
+
* fromProcessingToSetup
|
|
87
|
+
* Transition from state Processing to state Setup
|
|
88
|
+
*/
|
|
89
|
+
fromProcessingToSetup: UATransition;
|
|
90
|
+
/**
|
|
91
|
+
* fromSetupToMaintenance
|
|
92
|
+
* Transition from state Setup to state Maintenance
|
|
93
|
+
*/
|
|
94
|
+
fromSetupToMaintenance: UATransition;
|
|
95
|
+
/**
|
|
96
|
+
* fromSetupToNone
|
|
97
|
+
* Transition from state Setup to state None
|
|
98
|
+
*/
|
|
99
|
+
fromSetupToNone: UATransition;
|
|
100
|
+
/**
|
|
101
|
+
* fromSetupToProcessing
|
|
102
|
+
* Transition from state Setup to state Processing
|
|
103
|
+
*/
|
|
104
|
+
fromSetupToProcessing: UATransition;
|
|
105
|
+
/**
|
|
106
|
+
* fromSetupToSetup
|
|
107
|
+
* Transition from state Setup to state Setup
|
|
108
|
+
*/
|
|
109
|
+
fromSetupToSetup: UATransition;
|
|
110
|
+
/**
|
|
111
|
+
* maintenance
|
|
112
|
+
* MachineryItem is set into maintenance mode with
|
|
113
|
+
* the intention to carry out maintenance or
|
|
114
|
+
* servicing activities
|
|
115
|
+
*/
|
|
116
|
+
maintenance: UAState;
|
|
117
|
+
/**
|
|
118
|
+
* none
|
|
119
|
+
* There is currently no operation mode available
|
|
120
|
+
*/
|
|
121
|
+
none: UAState;
|
|
122
|
+
/**
|
|
123
|
+
* processing
|
|
124
|
+
* MachineryItem is set into processing mode with
|
|
125
|
+
* the intention to carry out the value adding
|
|
126
|
+
* activities
|
|
127
|
+
*/
|
|
128
|
+
processing: UAState;
|
|
129
|
+
/**
|
|
130
|
+
* setup
|
|
131
|
+
* MachineryItem is set into setup mode with the
|
|
132
|
+
* intention to carry out setup, preparation or
|
|
133
|
+
* postprocessing activities of a production process
|
|
134
|
+
*/
|
|
135
|
+
setup: UAState;
|
|
136
|
+
}
|
|
137
|
+
export interface UAMachineryOperationModeStateMachine extends UAFiniteStateMachine, UAMachineryOperationModeStateMachine_Base {
|
|
138
|
+
}
|