node-opcua-nodeset-machine-tool 2.69.1 → 2.70.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/enum_tool_life_indication.d.ts +2 -2
- package/dist/enum_tool_life_indication.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/ua_machine_operation_mode_state_machine.d.ts +135 -0
- package/dist/ua_machine_operation_mode_state_machine.js +3 -0
- package/dist/ua_machine_operation_mode_state_machine.js.map +1 -0
- package/dist/ua_machine_operation_monitoring.d.ts +3 -10
- package/dist/ua_machine_tool.d.ts +2 -2
- package/dist/ua_maintenance_mode_state_machine.d.ts +19 -0
- package/dist/ua_maintenance_mode_state_machine.js +3 -0
- package/dist/ua_maintenance_mode_state_machine.js.map +1 -0
- package/dist/ua_production_job_state_machine.d.ts +8 -1
- package/dist/ua_production_part_state_machine.d.ts +8 -1
- package/dist/ua_production_program_state_machine.d.ts +8 -1
- package/package.json +12 -12
- package/source/enum_tool_life_indication.ts +2 -2
- package/source/index.ts +2 -0
- package/source/ua_machine_operation_mode_state_machine.ts +137 -0
- package/source/ua_machine_operation_monitoring.ts +3 -9
- package/source/ua_machine_tool.ts +2 -2
- package/source/ua_maintenance_mode_state_machine.ts +20 -0
- package/source/ua_production_job_state_machine.ts +8 -1
- package/source/ua_production_part_state_machine.ts +8 -1
- package/source/ua_production_program_state_machine.ts +8 -1
|
@@ -16,14 +16,14 @@ export declare enum EnumToolLifeIndication {
|
|
|
16
16
|
/**
|
|
17
17
|
* The tool life indicates the total number of parts
|
|
18
18
|
* that have been produced or can still be produced
|
|
19
|
-
* using the tool. The unit shall be
|
|
19
|
+
* using the tool. The unit shall be “one”.
|
|
20
20
|
*/
|
|
21
21
|
NumberOfParts = 1,
|
|
22
22
|
/**
|
|
23
23
|
* The tool life indicates counting the process
|
|
24
24
|
* steps this tool has been used or can still be
|
|
25
25
|
* used (for example usages of a punching tool). The
|
|
26
|
-
* unit shall be
|
|
26
|
+
* unit shall be “one”.
|
|
27
27
|
*/
|
|
28
28
|
NumberOfUsages = 2,
|
|
29
29
|
/**
|
|
@@ -21,14 +21,14 @@ var EnumToolLifeIndication;
|
|
|
21
21
|
/**
|
|
22
22
|
* The tool life indicates the total number of parts
|
|
23
23
|
* that have been produced or can still be produced
|
|
24
|
-
* using the tool. The unit shall be
|
|
24
|
+
* using the tool. The unit shall be “one”.
|
|
25
25
|
*/
|
|
26
26
|
EnumToolLifeIndication[EnumToolLifeIndication["NumberOfParts"] = 1] = "NumberOfParts";
|
|
27
27
|
/**
|
|
28
28
|
* The tool life indicates counting the process
|
|
29
29
|
* steps this tool has been used or can still be
|
|
30
30
|
* used (for example usages of a punching tool). The
|
|
31
|
-
* unit shall be
|
|
31
|
+
* unit shall be “one”.
|
|
32
32
|
*/
|
|
33
33
|
EnumToolLifeIndication[EnumToolLifeIndication["NumberOfUsages"] = 2] = "NumberOfUsages";
|
|
34
34
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ export * from "./ua_element_monitoring";
|
|
|
20
20
|
export * from "./ua_equipment";
|
|
21
21
|
export * from "./ua_interruption_condition";
|
|
22
22
|
export * from "./ua_laser_monitoring";
|
|
23
|
+
export * from "./ua_machine_operation_mode_state_machine";
|
|
23
24
|
export * from "./ua_machine_operation_monitoring";
|
|
24
25
|
export * from "./ua_machine_tool";
|
|
25
26
|
export * from "./ua_machine_tool_identification";
|
|
27
|
+
export * from "./ua_maintenance_mode_state_machine";
|
|
26
28
|
export * from "./ua_maintenance_prognosis";
|
|
27
29
|
export * from "./ua_manual_activity_prognosis";
|
|
28
30
|
export * from "./ua_manual_process_step_condition_class";
|
package/dist/index.js
CHANGED
|
@@ -36,9 +36,11 @@ __exportStar(require("./ua_element_monitoring"), exports);
|
|
|
36
36
|
__exportStar(require("./ua_equipment"), exports);
|
|
37
37
|
__exportStar(require("./ua_interruption_condition"), exports);
|
|
38
38
|
__exportStar(require("./ua_laser_monitoring"), exports);
|
|
39
|
+
__exportStar(require("./ua_machine_operation_mode_state_machine"), exports);
|
|
39
40
|
__exportStar(require("./ua_machine_operation_monitoring"), exports);
|
|
40
41
|
__exportStar(require("./ua_machine_tool"), exports);
|
|
41
42
|
__exportStar(require("./ua_machine_tool_identification"), exports);
|
|
43
|
+
__exportStar(require("./ua_maintenance_mode_state_machine"), exports);
|
|
42
44
|
__exportStar(require("./ua_maintenance_prognosis"), exports);
|
|
43
45
|
__exportStar(require("./ua_manual_activity_prognosis"), exports);
|
|
44
46
|
__exportStar(require("./ua_manual_process_step_condition_class"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,qDAAmC;AACnC,yDAAuC;AACvC,6CAA2B;AAC3B,iDAA+B;AAC/B,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,iDAA+B;AAC/B,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,oDAAkC;AAClC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,2EAAyD;AACzD,mEAAiD;AACjD,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,0DAAwC;AACxC,kDAAgC;AAChC,gEAA8C;AAC9C,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,4EAA0D;AAC1D,kDAAgC;AAChC,iEAA+C;AAC/C,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,oEAAkD;AAClD,uEAAqD;AACrD,uDAAqC;AACrC,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AACtD,0DAAwC;AACxC,wEAAsD;AACtD,2EAAyD;AACzD,gEAA8C;AAC9C,6DAA2C;AAC3C,iDAA+B;AAC/B,sDAAoC;AACpC,+DAA6C;AAC7C,0DAAwC;AACxC,4CAA0B;AAC1B,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,qDAAmC;AACnC,yDAAuC;AACvC,6CAA2B;AAC3B,iDAA+B;AAC/B,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,iDAA+B;AAC/B,8DAA4C;AAC5C,wDAAsC;AACtC,4EAA0D;AAC1D,oEAAkD;AAClD,oDAAkC;AAClC,mEAAiD;AACjD,sEAAoD;AACpD,6DAA2C;AAC3C,iEAA+C;AAC/C,2EAAyD;AACzD,mEAAiD;AACjD,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,0DAAwC;AACxC,kDAAgC;AAChC,gEAA8C;AAC9C,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,4EAA0D;AAC1D,kDAAgC;AAChC,iEAA+C;AAC/C,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,oEAAkD;AAClD,uEAAqD;AACrD,uDAAqC;AACrC,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AACtD,0DAAwC;AACxC,wEAAsD;AACtD,2EAAyD;AACzD,gEAA8C;AAC9C,6DAA2C;AAC3C,iDAA+B;AAC/B,sDAAoC;AACpC,+DAA6C;AAC7C,0DAAwC;AACxC,4CAA0B;AAC1B,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,+DAA6C"}
|
|
@@ -0,0 +1,135 @@
|
|
|
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 { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
5
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
6
|
+
import { UAMachineryOperationModeStateMachine, UAMachineryOperationModeStateMachine_Base } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine";
|
|
7
|
+
import { UAMaintenanceModeStateMachine } from "./ua_maintenance_mode_state_machine";
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|--------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |10:MachineOperationModeStateMachineType ns=10;i=1003|
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAMachineOperationModeStateMachine_Base extends UAMachineryOperationModeStateMachine_Base {
|
|
17
|
+
/**
|
|
18
|
+
* defaultInstanceBrowseName
|
|
19
|
+
* The default BrowseName for instances of the type
|
|
20
|
+
*/
|
|
21
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, /*z*/ DataType.QualifiedName>;
|
|
22
|
+
/**
|
|
23
|
+
* fromMaintenanceToMaintenance
|
|
24
|
+
* Transition from state Maintenance to state
|
|
25
|
+
* Maintenance
|
|
26
|
+
*/
|
|
27
|
+
fromMaintenanceToMaintenance: UATransition;
|
|
28
|
+
/**
|
|
29
|
+
* fromMaintenanceToNone
|
|
30
|
+
* Transition from state Maintenance to state None
|
|
31
|
+
*/
|
|
32
|
+
fromMaintenanceToNone: UATransition;
|
|
33
|
+
/**
|
|
34
|
+
* fromMaintenanceToProcessing
|
|
35
|
+
* Transition from state Maintenance to state
|
|
36
|
+
* Processing
|
|
37
|
+
*/
|
|
38
|
+
fromMaintenanceToProcessing: UATransition;
|
|
39
|
+
/**
|
|
40
|
+
* fromMaintenanceToSetup
|
|
41
|
+
* Transition from state Maintenance to state Setup
|
|
42
|
+
*/
|
|
43
|
+
fromMaintenanceToSetup: UATransition;
|
|
44
|
+
/**
|
|
45
|
+
* fromNoneToMaintenance
|
|
46
|
+
* Transition from state None to state Maintenance
|
|
47
|
+
*/
|
|
48
|
+
fromNoneToMaintenance: UATransition;
|
|
49
|
+
/**
|
|
50
|
+
* fromNoneToNone
|
|
51
|
+
* Transition from state None to state None
|
|
52
|
+
*/
|
|
53
|
+
fromNoneToNone: UATransition;
|
|
54
|
+
/**
|
|
55
|
+
* fromNoneToProcessing
|
|
56
|
+
* Transition from state None to state Processing
|
|
57
|
+
*/
|
|
58
|
+
fromNoneToProcessing: UATransition;
|
|
59
|
+
/**
|
|
60
|
+
* fromNoneToSetup
|
|
61
|
+
* Transition from state None to state Setup
|
|
62
|
+
*/
|
|
63
|
+
fromNoneToSetup: UATransition;
|
|
64
|
+
/**
|
|
65
|
+
* fromProcessingToMaintenance
|
|
66
|
+
* Transition from state Processing to state
|
|
67
|
+
* Maintenance
|
|
68
|
+
*/
|
|
69
|
+
fromProcessingToMaintenance: UATransition;
|
|
70
|
+
/**
|
|
71
|
+
* fromProcessingToNone
|
|
72
|
+
* Transition from state Processing to state None
|
|
73
|
+
*/
|
|
74
|
+
fromProcessingToNone: UATransition;
|
|
75
|
+
/**
|
|
76
|
+
* fromProcessingToProcessing
|
|
77
|
+
* Transition from state Processing to state
|
|
78
|
+
* Processing
|
|
79
|
+
*/
|
|
80
|
+
fromProcessingToProcessing: UATransition;
|
|
81
|
+
/**
|
|
82
|
+
* fromProcessingToSetup
|
|
83
|
+
* Transition from state Processing to state Setup
|
|
84
|
+
*/
|
|
85
|
+
fromProcessingToSetup: UATransition;
|
|
86
|
+
/**
|
|
87
|
+
* fromSetupToMaintenance
|
|
88
|
+
* Transition from state Setup to state Maintenance
|
|
89
|
+
*/
|
|
90
|
+
fromSetupToMaintenance: UATransition;
|
|
91
|
+
/**
|
|
92
|
+
* fromSetupToNone
|
|
93
|
+
* Transition from state Setup to state None
|
|
94
|
+
*/
|
|
95
|
+
fromSetupToNone: UATransition;
|
|
96
|
+
/**
|
|
97
|
+
* fromSetupToProcessing
|
|
98
|
+
* Transition from state Setup to state Processing
|
|
99
|
+
*/
|
|
100
|
+
fromSetupToProcessing: UATransition;
|
|
101
|
+
/**
|
|
102
|
+
* fromSetupToSetup
|
|
103
|
+
* Transition from state Setup to state Setup
|
|
104
|
+
*/
|
|
105
|
+
fromSetupToSetup: UATransition;
|
|
106
|
+
/**
|
|
107
|
+
* maintenance
|
|
108
|
+
* MachineryItem is set into maintenance mode with
|
|
109
|
+
* the intention to carry out maintenance or
|
|
110
|
+
* servicing activities
|
|
111
|
+
*/
|
|
112
|
+
maintenance: UAState;
|
|
113
|
+
maintenanceMode?: UAMaintenanceModeStateMachine;
|
|
114
|
+
/**
|
|
115
|
+
* none
|
|
116
|
+
* There is currently no operation mode available
|
|
117
|
+
*/
|
|
118
|
+
none: UAState;
|
|
119
|
+
/**
|
|
120
|
+
* processing
|
|
121
|
+
* MachineryItem is set into processing mode with
|
|
122
|
+
* the intention to carry out the value adding
|
|
123
|
+
* activities
|
|
124
|
+
*/
|
|
125
|
+
processing: UAState;
|
|
126
|
+
/**
|
|
127
|
+
* setup
|
|
128
|
+
* MachineryItem is set into setup mode with the
|
|
129
|
+
* intention to carry out setup, preparation or
|
|
130
|
+
* postprocessing activities of a production process
|
|
131
|
+
*/
|
|
132
|
+
setup: UAState;
|
|
133
|
+
}
|
|
134
|
+
export interface UAMachineOperationModeStateMachine extends Omit<UAMachineryOperationModeStateMachine, "defaultInstanceBrowseName" | "fromMaintenanceToMaintenance" | "fromMaintenanceToNone" | "fromMaintenanceToProcessing" | "fromMaintenanceToSetup" | "fromNoneToMaintenance" | "fromNoneToNone" | "fromNoneToProcessing" | "fromNoneToSetup" | "fromProcessingToMaintenance" | "fromProcessingToNone" | "fromProcessingToProcessing" | "fromProcessingToSetup" | "fromSetupToMaintenance" | "fromSetupToNone" | "fromSetupToProcessing" | "fromSetupToSetup" | "maintenance" | "none" | "processing" | "setup">, UAMachineOperationModeStateMachine_Base {
|
|
135
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_machine_operation_mode_state_machine.js","sourceRoot":"","sources":["../source/ua_machine_operation_mode_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { UAObject } from "node-opcua-address-space-base";
|
|
2
2
|
import { DataType } from "node-opcua-variant";
|
|
3
|
-
import { LocalizedText } from "node-opcua-data-model";
|
|
4
3
|
import { UInt32 } from "node-opcua-basic-types";
|
|
5
|
-
import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable";
|
|
6
|
-
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
7
4
|
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
|
|
8
|
-
import {
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
9
6
|
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
|
|
10
|
-
import { EnumMaintenanceMode } from "./enum_maintenance_mode";
|
|
11
7
|
import { EnumMachineOperationMode } from "./enum_machine_operation_mode";
|
|
8
|
+
import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine";
|
|
12
9
|
import { UAObligation } from "./ua_obligation";
|
|
13
|
-
export interface UAMachineOperationMonitoring_machineryOperationMode extends Omit<UAMachineryOperationModeStateMachine, "currentState"> {
|
|
14
|
-
currentState: UAFiniteStateVariable<LocalizedText>;
|
|
15
|
-
maintenanceMode?: UABaseDataVariable<EnumMaintenanceMode, /*z*/ DataType.Int32>;
|
|
16
|
-
}
|
|
17
10
|
/**
|
|
18
11
|
* | | |
|
|
19
12
|
* |----------------|--------------------------------------------------|
|
|
@@ -26,7 +19,7 @@ export interface UAMachineOperationMonitoring_Base {
|
|
|
26
19
|
feedOverride?: UAAnalogUnitRange<number, /*z*/ DataType.Double>;
|
|
27
20
|
isWarmUp?: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
28
21
|
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
29
|
-
machineryOperationMode?:
|
|
22
|
+
machineryOperationMode?: UAMachineOperationModeStateMachine;
|
|
30
23
|
obligation?: UAObligation;
|
|
31
24
|
operationMode: UABaseDataVariable<EnumMachineOperationMode, /*z*/ DataType.Int32>;
|
|
32
25
|
powerOnDuration?: UABaseDataVariable<UInt32, /*z*/ DataType.UInt32>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UAObject } from "node-opcua-address-space-base";
|
|
2
2
|
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
3
3
|
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
|
|
4
|
-
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine";
|
|
5
4
|
import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components";
|
|
5
|
+
import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine";
|
|
6
6
|
import { UAEquipment } from "./ua_equipment";
|
|
7
7
|
import { UAMachineToolIdentification } from "./ua_machine_tool_identification";
|
|
8
8
|
import { UAMonitoring } from "./ua_monitoring";
|
|
@@ -10,7 +10,7 @@ import { UANotification } from "./ua_notification";
|
|
|
10
10
|
import { UAProduction } from "./ua_production";
|
|
11
11
|
export interface UAMachineTool_machineryBuildingBlocks extends UAFolder {
|
|
12
12
|
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
13
|
-
machineryOperationMode?:
|
|
13
|
+
machineryOperationMode?: UAMachineOperationModeStateMachine;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* | | |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
2
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |----------------|--------------------------------------------------|
|
|
6
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
7
|
+
* |nodeClass |ObjectType |
|
|
8
|
+
* |typedDefinition |10:MaintenanceModeStateMachineType ns=10;i=1004 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export interface UAMaintenanceModeStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
12
|
+
inspection: UAState;
|
|
13
|
+
other: UAState;
|
|
14
|
+
repair: UAState;
|
|
15
|
+
service: UAState;
|
|
16
|
+
upgrade: UAState;
|
|
17
|
+
}
|
|
18
|
+
export interface UAMaintenanceModeStateMachine extends UAFiniteStateMachine, UAMaintenanceModeStateMachine_Base {
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_maintenance_mode_state_machine.js","sourceRoot":"","sources":["../source/ua_maintenance_mode_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
1
2
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
3
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state";
|
|
2
4
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine";
|
|
3
5
|
/**
|
|
4
6
|
* | | |
|
|
@@ -9,16 +11,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
9
11
|
* |isAbstract |false |
|
|
10
12
|
*/
|
|
11
13
|
export interface UAProductionJobStateMachine_Base extends UAProductionStateMachine_Base {
|
|
14
|
+
aborted: UAState;
|
|
12
15
|
abortedToInitializing: UATransition;
|
|
16
|
+
ended: UAState;
|
|
13
17
|
endedToInitializing: UATransition;
|
|
18
|
+
initializing: UAInitialState;
|
|
14
19
|
initializingToAborted: UATransition;
|
|
15
20
|
initializingToRunning: UATransition;
|
|
21
|
+
interrupted: UAState;
|
|
16
22
|
interruptedToAborted: UATransition;
|
|
17
23
|
interruptedToRunning: UATransition;
|
|
24
|
+
running: UAState;
|
|
18
25
|
runningToAborted: UATransition;
|
|
19
26
|
runningToEnded: UATransition;
|
|
20
27
|
runningToInterrupted: UATransition;
|
|
21
28
|
runningToRunning: UATransition;
|
|
22
29
|
}
|
|
23
|
-
export interface UAProductionJobStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing" | "endedToInitializing" | "initializingToAborted" | "initializingToRunning" | "interruptedToAborted" | "interruptedToRunning" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionJobStateMachine_Base {
|
|
30
|
+
export interface UAProductionJobStateMachine extends Omit<UAProductionStateMachine, "aborted" | "abortedToInitializing" | "ended" | "endedToInitializing" | "initializing" | "initializingToAborted" | "initializingToRunning" | "interrupted" | "interruptedToAborted" | "interruptedToRunning" | "running" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionJobStateMachine_Base {
|
|
24
31
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
1
2
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
3
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state";
|
|
2
4
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine";
|
|
3
5
|
/**
|
|
4
6
|
* | | |
|
|
@@ -9,16 +11,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
9
11
|
* |isAbstract |false |
|
|
10
12
|
*/
|
|
11
13
|
export interface UAProductionPartStateMachine_Base extends UAProductionStateMachine_Base {
|
|
14
|
+
aborted: UAState;
|
|
12
15
|
abortedToInitializing: UATransition;
|
|
16
|
+
ended: UAState;
|
|
13
17
|
endedToInitializing: UATransition;
|
|
18
|
+
initializing: UAInitialState;
|
|
14
19
|
initializingToAborted: UATransition;
|
|
15
20
|
initializingToRunning: UATransition;
|
|
21
|
+
interrupted: UAState;
|
|
16
22
|
interruptedToAborted: UATransition;
|
|
17
23
|
interruptedToRunning: UATransition;
|
|
24
|
+
running: UAState;
|
|
18
25
|
runningToAborted: UATransition;
|
|
19
26
|
runningToEnded: UATransition;
|
|
20
27
|
runningToInterrupted: UATransition;
|
|
21
28
|
runningToRunning: UATransition;
|
|
22
29
|
}
|
|
23
|
-
export interface UAProductionPartStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing" | "endedToInitializing" | "initializingToAborted" | "initializingToRunning" | "interruptedToAborted" | "interruptedToRunning" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionPartStateMachine_Base {
|
|
30
|
+
export interface UAProductionPartStateMachine extends Omit<UAProductionStateMachine, "aborted" | "abortedToInitializing" | "ended" | "endedToInitializing" | "initializing" | "initializingToAborted" | "initializingToRunning" | "interrupted" | "interruptedToAborted" | "interruptedToRunning" | "running" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionPartStateMachine_Base {
|
|
24
31
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
1
2
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
3
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state";
|
|
2
4
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine";
|
|
3
5
|
/**
|
|
4
6
|
* | | |
|
|
@@ -9,16 +11,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
9
11
|
* |isAbstract |false |
|
|
10
12
|
*/
|
|
11
13
|
export interface UAProductionProgramStateMachine_Base extends UAProductionStateMachine_Base {
|
|
14
|
+
aborted: UAState;
|
|
12
15
|
abortedToInitializing: UATransition;
|
|
16
|
+
ended: UAState;
|
|
13
17
|
endedToInitializing: UATransition;
|
|
18
|
+
initializing: UAInitialState;
|
|
14
19
|
initializingToAborted: UATransition;
|
|
15
20
|
initializingToRunning: UATransition;
|
|
21
|
+
interrupted: UAState;
|
|
16
22
|
interruptedToAborted: UATransition;
|
|
17
23
|
interruptedToRunning: UATransition;
|
|
24
|
+
running: UAState;
|
|
18
25
|
runningToAborted: UATransition;
|
|
19
26
|
runningToEnded: UATransition;
|
|
20
27
|
runningToInterrupted: UATransition;
|
|
21
28
|
runningToRunning: UATransition;
|
|
22
29
|
}
|
|
23
|
-
export interface UAProductionProgramStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing" | "endedToInitializing" | "initializingToAborted" | "initializingToRunning" | "interruptedToAborted" | "interruptedToRunning" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionProgramStateMachine_Base {
|
|
30
|
+
export interface UAProductionProgramStateMachine extends Omit<UAProductionStateMachine, "aborted" | "abortedToInitializing" | "ended" | "endedToInitializing" | "initializing" | "initializingToAborted" | "initializingToRunning" | "interrupted" | "interruptedToAborted" | "interruptedToRunning" | "running" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning">, UAProductionProgramStateMachine_Base {
|
|
24
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-machine-tool",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.70.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"author": "etienne.rossignon@sterfive.com",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"node-opcua-address-space-base": "2.
|
|
14
|
-
"node-opcua-basic-types": "2.
|
|
15
|
-
"node-opcua-data-access": "2.
|
|
16
|
-
"node-opcua-data-model": "2.
|
|
17
|
-
"node-opcua-nodeid": "2.
|
|
18
|
-
"node-opcua-nodeset-ia": "2.
|
|
19
|
-
"node-opcua-nodeset-machinery": "2.
|
|
20
|
-
"node-opcua-nodeset-ua": "2.
|
|
21
|
-
"node-opcua-status-code": "2.
|
|
22
|
-
"node-opcua-variant": "2.
|
|
13
|
+
"node-opcua-address-space-base": "2.70.0",
|
|
14
|
+
"node-opcua-basic-types": "2.70.0",
|
|
15
|
+
"node-opcua-data-access": "2.70.0",
|
|
16
|
+
"node-opcua-data-model": "2.70.0",
|
|
17
|
+
"node-opcua-nodeid": "2.70.0",
|
|
18
|
+
"node-opcua-nodeset-ia": "2.70.0",
|
|
19
|
+
"node-opcua-nodeset-machinery": "2.70.0",
|
|
20
|
+
"node-opcua-nodeset-ua": "2.70.0",
|
|
21
|
+
"node-opcua-status-code": "2.70.0",
|
|
22
|
+
"node-opcua-variant": "2.70.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "3b692ffb3e2ef0542da32f349fb0c76b3acc75ce"
|
|
25
25
|
}
|
|
@@ -18,14 +18,14 @@ export enum EnumToolLifeIndication {
|
|
|
18
18
|
/**
|
|
19
19
|
* The tool life indicates the total number of parts
|
|
20
20
|
* that have been produced or can still be produced
|
|
21
|
-
* using the tool. The unit shall be
|
|
21
|
+
* using the tool. The unit shall be “one”.
|
|
22
22
|
*/
|
|
23
23
|
NumberOfParts = 1,
|
|
24
24
|
/**
|
|
25
25
|
* The tool life indicates counting the process
|
|
26
26
|
* steps this tool has been used or can still be
|
|
27
27
|
* used (for example usages of a punching tool). The
|
|
28
|
-
* unit shall be
|
|
28
|
+
* unit shall be “one”.
|
|
29
29
|
*/
|
|
30
30
|
NumberOfUsages = 2,
|
|
31
31
|
/**
|
package/source/index.ts
CHANGED
|
@@ -20,9 +20,11 @@ export * from "./ua_element_monitoring";
|
|
|
20
20
|
export * from "./ua_equipment";
|
|
21
21
|
export * from "./ua_interruption_condition";
|
|
22
22
|
export * from "./ua_laser_monitoring";
|
|
23
|
+
export * from "./ua_machine_operation_mode_state_machine";
|
|
23
24
|
export * from "./ua_machine_operation_monitoring";
|
|
24
25
|
export * from "./ua_machine_tool";
|
|
25
26
|
export * from "./ua_machine_tool_identification";
|
|
27
|
+
export * from "./ua_maintenance_mode_state_machine";
|
|
26
28
|
export * from "./ua_maintenance_prognosis";
|
|
27
29
|
export * from "./ua_manual_activity_prognosis";
|
|
28
30
|
export * from "./ua_manual_process_step_condition_class";
|
|
@@ -0,0 +1,137 @@
|
|
|
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 { UInt32 } from "node-opcua-basic-types"
|
|
6
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
7
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
8
|
+
import { UAMachineryOperationModeStateMachine, UAMachineryOperationModeStateMachine_Base } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine"
|
|
9
|
+
import { UAMaintenanceModeStateMachine } from "./ua_maintenance_mode_state_machine"
|
|
10
|
+
/**
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|--------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |10:MachineOperationModeStateMachineType ns=10;i=1003|
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAMachineOperationModeStateMachine_Base extends UAMachineryOperationModeStateMachine_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
|
+
maintenanceMode?: UAMaintenanceModeStateMachine;
|
|
116
|
+
/**
|
|
117
|
+
* none
|
|
118
|
+
* There is currently no operation mode available
|
|
119
|
+
*/
|
|
120
|
+
none: UAState;
|
|
121
|
+
/**
|
|
122
|
+
* processing
|
|
123
|
+
* MachineryItem is set into processing mode with
|
|
124
|
+
* the intention to carry out the value adding
|
|
125
|
+
* activities
|
|
126
|
+
*/
|
|
127
|
+
processing: UAState;
|
|
128
|
+
/**
|
|
129
|
+
* setup
|
|
130
|
+
* MachineryItem is set into setup mode with the
|
|
131
|
+
* intention to carry out setup, preparation or
|
|
132
|
+
* postprocessing activities of a production process
|
|
133
|
+
*/
|
|
134
|
+
setup: UAState;
|
|
135
|
+
}
|
|
136
|
+
export interface UAMachineOperationModeStateMachine extends Omit<UAMachineryOperationModeStateMachine, "defaultInstanceBrowseName"|"fromMaintenanceToMaintenance"|"fromMaintenanceToNone"|"fromMaintenanceToProcessing"|"fromMaintenanceToSetup"|"fromNoneToMaintenance"|"fromNoneToNone"|"fromNoneToProcessing"|"fromNoneToSetup"|"fromProcessingToMaintenance"|"fromProcessingToNone"|"fromProcessingToProcessing"|"fromProcessingToSetup"|"fromSetupToMaintenance"|"fromSetupToNone"|"fromSetupToProcessing"|"fromSetupToSetup"|"maintenance"|"none"|"processing"|"setup">, UAMachineOperationModeStateMachine_Base {
|
|
137
|
+
}
|
|
@@ -5,18 +5,12 @@ import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
|
5
5
|
import { EUInformation } from "node-opcua-data-access"
|
|
6
6
|
import { UInt32 } from "node-opcua-basic-types"
|
|
7
7
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
|
|
8
|
-
import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable"
|
|
9
|
-
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
10
8
|
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
|
|
11
|
-
import {
|
|
9
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
12
10
|
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
|
|
13
|
-
import { EnumMaintenanceMode } from "./enum_maintenance_mode"
|
|
14
11
|
import { EnumMachineOperationMode } from "./enum_machine_operation_mode"
|
|
12
|
+
import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine"
|
|
15
13
|
import { UAObligation } from "./ua_obligation"
|
|
16
|
-
export interface UAMachineOperationMonitoring_machineryOperationMode extends Omit<UAMachineryOperationModeStateMachine, "currentState"> { // Object
|
|
17
|
-
currentState: UAFiniteStateVariable<LocalizedText>;
|
|
18
|
-
maintenanceMode?: UABaseDataVariable<EnumMaintenanceMode, /*z*/DataType.Int32>;
|
|
19
|
-
}
|
|
20
14
|
/**
|
|
21
15
|
* | | |
|
|
22
16
|
* |----------------|--------------------------------------------------|
|
|
@@ -29,7 +23,7 @@ export interface UAMachineOperationMonitoring_Base {
|
|
|
29
23
|
feedOverride?: UAAnalogUnitRange<number, /*z*/DataType.Double>;
|
|
30
24
|
isWarmUp?: UABaseDataVariable<boolean, /*z*/DataType.Boolean>;
|
|
31
25
|
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
32
|
-
machineryOperationMode?:
|
|
26
|
+
machineryOperationMode?: UAMachineOperationModeStateMachine;
|
|
33
27
|
obligation?: UAObligation;
|
|
34
28
|
operationMode: UABaseDataVariable<EnumMachineOperationMode, /*z*/DataType.Int32>;
|
|
35
29
|
powerOnDuration?: UABaseDataVariable<UInt32, /*z*/DataType.UInt32>;
|
|
@@ -7,11 +7,11 @@ import { UInt32, UInt16, UAString } from "node-opcua-basic-types"
|
|
|
7
7
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
|
|
8
8
|
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
|
|
9
9
|
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
|
|
10
|
-
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine"
|
|
11
10
|
import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components"
|
|
12
11
|
import { EnumLevelDisplayMode } from "node-opcua-nodeset-ia/source/enum_level_display_mode"
|
|
13
12
|
import { EnumStacklightOperationMode } from "node-opcua-nodeset-ia/source/enum_stacklight_operation_mode"
|
|
14
13
|
import { EnumMachineOperationMode } from "./enum_machine_operation_mode"
|
|
14
|
+
import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine"
|
|
15
15
|
import { UAEquipment } from "./ua_equipment"
|
|
16
16
|
import { UAMachineToolIdentification } from "./ua_machine_tool_identification"
|
|
17
17
|
import { UAMonitoring } from "./ua_monitoring"
|
|
@@ -19,7 +19,7 @@ import { UANotification } from "./ua_notification"
|
|
|
19
19
|
import { UAProduction } from "./ua_production"
|
|
20
20
|
export interface UAMachineTool_machineryBuildingBlocks extends UAFolder { // Object
|
|
21
21
|
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
22
|
-
machineryOperationMode?:
|
|
22
|
+
machineryOperationMode?: UAMachineOperationModeStateMachine;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* | | |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine"
|
|
3
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
4
|
+
/**
|
|
5
|
+
* | | |
|
|
6
|
+
* |----------------|--------------------------------------------------|
|
|
7
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
8
|
+
* |nodeClass |ObjectType |
|
|
9
|
+
* |typedDefinition |10:MaintenanceModeStateMachineType ns=10;i=1004 |
|
|
10
|
+
* |isAbstract |false |
|
|
11
|
+
*/
|
|
12
|
+
export interface UAMaintenanceModeStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
13
|
+
inspection: UAState;
|
|
14
|
+
other: UAState;
|
|
15
|
+
repair: UAState;
|
|
16
|
+
service: UAState;
|
|
17
|
+
upgrade: UAState;
|
|
18
|
+
}
|
|
19
|
+
export interface UAMaintenanceModeStateMachine extends UAFiniteStateMachine, UAMaintenanceModeStateMachine_Base {
|
|
20
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { DataType } from "node-opcua-variant"
|
|
3
3
|
import { UInt32 } from "node-opcua-basic-types"
|
|
4
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
4
5
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
6
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state"
|
|
5
7
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine"
|
|
6
8
|
/**
|
|
7
9
|
* | | |
|
|
@@ -12,16 +14,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
12
14
|
* |isAbstract |false |
|
|
13
15
|
*/
|
|
14
16
|
export interface UAProductionJobStateMachine_Base extends UAProductionStateMachine_Base {
|
|
17
|
+
aborted: UAState;
|
|
15
18
|
abortedToInitializing: UATransition;
|
|
19
|
+
ended: UAState;
|
|
16
20
|
endedToInitializing: UATransition;
|
|
21
|
+
initializing: UAInitialState;
|
|
17
22
|
initializingToAborted: UATransition;
|
|
18
23
|
initializingToRunning: UATransition;
|
|
24
|
+
interrupted: UAState;
|
|
19
25
|
interruptedToAborted: UATransition;
|
|
20
26
|
interruptedToRunning: UATransition;
|
|
27
|
+
running: UAState;
|
|
21
28
|
runningToAborted: UATransition;
|
|
22
29
|
runningToEnded: UATransition;
|
|
23
30
|
runningToInterrupted: UATransition;
|
|
24
31
|
runningToRunning: UATransition;
|
|
25
32
|
}
|
|
26
|
-
export interface UAProductionJobStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing"|"endedToInitializing"|"initializingToAborted"|"initializingToRunning"|"interruptedToAborted"|"interruptedToRunning"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionJobStateMachine_Base {
|
|
33
|
+
export interface UAProductionJobStateMachine extends Omit<UAProductionStateMachine, "aborted"|"abortedToInitializing"|"ended"|"endedToInitializing"|"initializing"|"initializingToAborted"|"initializingToRunning"|"interrupted"|"interruptedToAborted"|"interruptedToRunning"|"running"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionJobStateMachine_Base {
|
|
27
34
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { DataType } from "node-opcua-variant"
|
|
3
3
|
import { UInt32 } from "node-opcua-basic-types"
|
|
4
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
4
5
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
6
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state"
|
|
5
7
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine"
|
|
6
8
|
/**
|
|
7
9
|
* | | |
|
|
@@ -12,16 +14,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
12
14
|
* |isAbstract |false |
|
|
13
15
|
*/
|
|
14
16
|
export interface UAProductionPartStateMachine_Base extends UAProductionStateMachine_Base {
|
|
17
|
+
aborted: UAState;
|
|
15
18
|
abortedToInitializing: UATransition;
|
|
19
|
+
ended: UAState;
|
|
16
20
|
endedToInitializing: UATransition;
|
|
21
|
+
initializing: UAInitialState;
|
|
17
22
|
initializingToAborted: UATransition;
|
|
18
23
|
initializingToRunning: UATransition;
|
|
24
|
+
interrupted: UAState;
|
|
19
25
|
interruptedToAborted: UATransition;
|
|
20
26
|
interruptedToRunning: UATransition;
|
|
27
|
+
running: UAState;
|
|
21
28
|
runningToAborted: UATransition;
|
|
22
29
|
runningToEnded: UATransition;
|
|
23
30
|
runningToInterrupted: UATransition;
|
|
24
31
|
runningToRunning: UATransition;
|
|
25
32
|
}
|
|
26
|
-
export interface UAProductionPartStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing"|"endedToInitializing"|"initializingToAborted"|"initializingToRunning"|"interruptedToAborted"|"interruptedToRunning"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionPartStateMachine_Base {
|
|
33
|
+
export interface UAProductionPartStateMachine extends Omit<UAProductionStateMachine, "aborted"|"abortedToInitializing"|"ended"|"endedToInitializing"|"initializing"|"initializingToAborted"|"initializingToRunning"|"interrupted"|"interruptedToAborted"|"interruptedToRunning"|"running"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionPartStateMachine_Base {
|
|
27
34
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { DataType } from "node-opcua-variant"
|
|
3
3
|
import { UInt32 } from "node-opcua-basic-types"
|
|
4
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
|
|
4
5
|
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
|
|
6
|
+
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state"
|
|
5
7
|
import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_production_state_machine"
|
|
6
8
|
/**
|
|
7
9
|
* | | |
|
|
@@ -12,16 +14,21 @@ import { UAProductionStateMachine, UAProductionStateMachine_Base } from "./ua_pr
|
|
|
12
14
|
* |isAbstract |false |
|
|
13
15
|
*/
|
|
14
16
|
export interface UAProductionProgramStateMachine_Base extends UAProductionStateMachine_Base {
|
|
17
|
+
aborted: UAState;
|
|
15
18
|
abortedToInitializing: UATransition;
|
|
19
|
+
ended: UAState;
|
|
16
20
|
endedToInitializing: UATransition;
|
|
21
|
+
initializing: UAInitialState;
|
|
17
22
|
initializingToAborted: UATransition;
|
|
18
23
|
initializingToRunning: UATransition;
|
|
24
|
+
interrupted: UAState;
|
|
19
25
|
interruptedToAborted: UATransition;
|
|
20
26
|
interruptedToRunning: UATransition;
|
|
27
|
+
running: UAState;
|
|
21
28
|
runningToAborted: UATransition;
|
|
22
29
|
runningToEnded: UATransition;
|
|
23
30
|
runningToInterrupted: UATransition;
|
|
24
31
|
runningToRunning: UATransition;
|
|
25
32
|
}
|
|
26
|
-
export interface UAProductionProgramStateMachine extends Omit<UAProductionStateMachine, "abortedToInitializing"|"endedToInitializing"|"initializingToAborted"|"initializingToRunning"|"interruptedToAborted"|"interruptedToRunning"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionProgramStateMachine_Base {
|
|
33
|
+
export interface UAProductionProgramStateMachine extends Omit<UAProductionStateMachine, "aborted"|"abortedToInitializing"|"ended"|"endedToInitializing"|"initializing"|"initializingToAborted"|"initializingToRunning"|"interrupted"|"interruptedToAborted"|"interruptedToRunning"|"running"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning">, UAProductionProgramStateMachine_Base {
|
|
27
34
|
}
|