node-opcua-nodeset-machinery 2.120.0 → 2.121.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 CHANGED
@@ -6,4 +6,6 @@ export * from "./ua_machine_identification";
6
6
  export * from "./ua_machinery_component_identification";
7
7
  export * from "./ua_machinery_item_identification";
8
8
  export * from "./ua_machinery_item_state_state_machine";
9
+ export * from "./ua_machinery_lifetime_counter";
10
+ export * from "./ua_machinery_operation_counter";
9
11
  export * from "./ua_machinery_operation_mode_state_machine";
package/dist/index.js CHANGED
@@ -22,5 +22,7 @@ __exportStar(require("./ua_machine_identification"), exports);
22
22
  __exportStar(require("./ua_machinery_component_identification"), exports);
23
23
  __exportStar(require("./ua_machinery_item_identification"), exports);
24
24
  __exportStar(require("./ua_machinery_item_state_state_machine"), exports);
25
+ __exportStar(require("./ua_machinery_lifetime_counter"), exports);
26
+ __exportStar(require("./ua_machinery_operation_counter"), exports);
25
27
  __exportStar(require("./ua_machinery_operation_mode_state_machine"), exports);
26
28
  //# 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;AACnD,0EAAwD;AACxD,8EAA4D"}
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,kEAAgD;AAChD,mEAAiD;AACjD,8EAA4D"}
@@ -38,5 +38,5 @@ export interface UAMachineIdentification_Base extends UAMachineryItemIdentificat
38
38
  */
39
39
  productInstanceUri: UAProperty<UAString, DataType.String>;
40
40
  }
41
- export interface UAMachineIdentification extends Omit<UAMachineryItemIdentification, "productInstanceUri">, UAMachineIdentification_Base {
41
+ export interface UAMachineIdentification extends Omit<UAMachineryItemIdentification, "defaultInstanceBrowseName" | "productInstanceUri">, UAMachineIdentification_Base {
42
42
  }
@@ -31,5 +31,5 @@ export interface UAMachineryComponentIdentification_Base extends UAMachineryItem
31
31
  */
32
32
  deviceRevision?: UAProperty<UAString, DataType.String>;
33
33
  }
34
- export interface UAMachineryComponentIdentification extends UAMachineryItemIdentification, UAMachineryComponentIdentification_Base {
34
+ export interface UAMachineryComponentIdentification extends Omit<UAMachineryItemIdentification, "defaultInstanceBrowseName">, UAMachineryComponentIdentification_Base {
35
35
  }
@@ -1,6 +1,6 @@
1
1
  import { UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
- import { LocalizedText } from "node-opcua-data-model";
3
+ import { LocalizedText, QualifiedName } from "node-opcua-data-model";
4
4
  import { UInt16, Byte, UAString } from "node-opcua-basic-types";
5
5
  import { UAFunctionalGroup, UAFunctionalGroup_Base } from "node-opcua-nodeset-di/source/ua_functional_group";
6
6
  /**
@@ -38,6 +38,11 @@ export interface UAMachineryItemIdentification_Base extends UAFunctionalGroup_Ba
38
38
  * 40 Unicode characters into that field.
39
39
  */
40
40
  componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
41
+ /**
42
+ * defaultInstanceBrowseName
43
+ * The default BrowseName for instances of the type.
44
+ */
45
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
41
46
  /**
42
47
  * deviceClass
43
48
  * Indicates in which domain or for what purpose the
@@ -0,0 +1,21 @@
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 { UAFolder, UAFolder_Base } from "node-opcua-nodeset-ua/source/ua_folder";
5
+ /**
6
+ * | | |
7
+ * |----------------|------------------------------------------------------------|
8
+ * |namespace |http://opcfoundation.org/UA/Machinery/ |
9
+ * |nodeClass |ObjectType |
10
+ * |typedDefinition |MachineryLifetimeCounterType i=1015 |
11
+ * |isAbstract |false |
12
+ */
13
+ export interface UAMachineryLifetimeCounter_Base extends UAFolder_Base {
14
+ /**
15
+ * defaultInstanceBrowseName
16
+ * The default BrowseName for instances of the type
17
+ */
18
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
19
+ }
20
+ export interface UAMachineryLifetimeCounter extends UAFolder, UAMachineryLifetimeCounter_Base {
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_machinery_lifetime_counter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_machinery_lifetime_counter.js","sourceRoot":"","sources":["../source/ua_machinery_lifetime_counter.ts"],"names":[],"mappings":""}
@@ -0,0 +1,75 @@
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 { UAFunctionalGroup, UAFunctionalGroup_Base } from "node-opcua-nodeset-di/source/ua_functional_group";
5
+ /**
6
+ * | | |
7
+ * |----------------|------------------------------------------------------------|
8
+ * |namespace |http://opcfoundation.org/UA/Machinery/ |
9
+ * |nodeClass |ObjectType |
10
+ * |typedDefinition |MachineryOperationCounterType i=1009 |
11
+ * |isAbstract |false |
12
+ */
13
+ export interface UAMachineryOperationCounter_Base extends UAFunctionalGroup_Base {
14
+ /**
15
+ * defaultInstanceBrowseName
16
+ * The default BrowseName for instances of the type
17
+ */
18
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
19
+ /**
20
+ * operationCycleCounter
21
+ * OperationCycleCounter is counting the times the
22
+ * component switches from not performing an
23
+ * activity to performing an activity. For example,
24
+ * each time a valve starts moving, is counted. This
25
+ * value shall only increase during the lifetime of
26
+ * the component and shall not be reset when the
27
+ * component is restarted.
28
+ */
29
+ operationCycleCounter?: UAProperty<any, any>;
30
+ /**
31
+ * operationDuration
32
+ * OperationDuration is the duration the
33
+ * MachineryItem has been powered and performing an
34
+ * activity. This counter is intended for machines
35
+ * and components where a distinction is made
36
+ * between switched on and in operation. For
37
+ * example, a drive might be powered on but not
38
+ * operating. It is not intended for machines or
39
+ * components always performing an activity like
40
+ * sensors always measuring data. This value shall
41
+ * only increase during the lifetime of the
42
+ * MachineryItem and shall not be reset when it is
43
+ * restarted. The OperationDuration is provided as
44
+ * Duration, i.e., in milliseconds or even fractions
45
+ * of a millisecond. However, the Server is not
46
+ * expected to update the value in such a high
47
+ * frequency, but maybe once a minute or once an
48
+ * hour, depending on the application.
49
+ */
50
+ operationDuration?: UAProperty<number, DataType.Double>;
51
+ /**
52
+ * powerOnDuration
53
+ * PowerOnDuration is the duration the MachineryItem
54
+ * has been powered. The main purpose is to
55
+ * determine the time in which degradation of the
56
+ * MachineryItem occurred. The details, when the
57
+ * time is counted, is implementation-specific.
58
+ * Companion specifications might define specific
59
+ * rules. Typically, when the MachineryItem has
60
+ * supply voltage and the main CPU is running, the
61
+ * time is counted. This may include any kind of
62
+ * sleep mode, but may not include pure Wake on LAN.
63
+ * This value shall only increase during the
64
+ * lifetime of the MachineryItem and shall not be
65
+ * reset when it is restarted. The PowerOnDuration
66
+ * is provided as Duration, i.e., in milliseconds or
67
+ * even fractions of a millisecond. However, the
68
+ * Server is not expected to update the value in
69
+ * such a high frequency, but maybe once a minute or
70
+ * once an hour, depending on the application.
71
+ */
72
+ powerOnDuration?: UAProperty<number, DataType.Double>;
73
+ }
74
+ export interface UAMachineryOperationCounter extends UAFunctionalGroup, UAMachineryOperationCounter_Base {
75
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_machinery_operation_counter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_machinery_operation_counter.js","sourceRoot":"","sources":["../source/ua_machinery_operation_counter.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-nodeset-machinery",
3
- "version": "2.120.0",
3
+ "version": "2.121.0",
4
4
  "description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-machinery",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,13 +10,14 @@
10
10
  "author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "node-opcua-address-space-base": "2.120.0",
14
- "node-opcua-basic-types": "2.120.0",
15
- "node-opcua-data-model": "2.120.0",
16
- "node-opcua-nodeid": "2.120.0",
17
- "node-opcua-nodeset-di": "2.120.0",
18
- "node-opcua-nodeset-ua": "2.120.0",
19
- "node-opcua-variant": "2.120.0"
13
+ "node-opcua-address-space-base": "2.121.0",
14
+ "node-opcua-basic-types": "2.121.0",
15
+ "node-opcua-data-access": "2.121.0",
16
+ "node-opcua-data-model": "2.121.0",
17
+ "node-opcua-nodeid": "2.121.0",
18
+ "node-opcua-nodeset-di": "2.121.0",
19
+ "node-opcua-nodeset-ua": "2.121.0",
20
+ "node-opcua-variant": "2.121.0"
20
21
  },
21
22
  "files": [
22
23
  "dist",
@@ -35,5 +36,5 @@
35
36
  "internet of things"
36
37
  ],
37
38
  "homepage": "http://node-opcua.github.io/",
38
- "gitHead": "f4ae243bb61ba7af4c019a3cfe76dfc0f6427983"
39
+ "gitHead": "ba93a78eda343ecc0cc20476837347f6dfa259e0"
39
40
  }
package/source/index.ts CHANGED
@@ -6,4 +6,6 @@ export * from "./ua_machine_identification";
6
6
  export * from "./ua_machinery_component_identification";
7
7
  export * from "./ua_machinery_item_identification";
8
8
  export * from "./ua_machinery_item_state_state_machine";
9
+ export * from "./ua_machinery_lifetime_counter";
10
+ export * from "./ua_machinery_operation_counter";
9
11
  export * from "./ua_machinery_operation_mode_state_machine";
@@ -39,5 +39,5 @@ export interface UAMachineIdentification_Base extends UAMachineryItemIdentificat
39
39
  */
40
40
  productInstanceUri: UAProperty<UAString, DataType.String>;
41
41
  }
42
- export interface UAMachineIdentification extends Omit<UAMachineryItemIdentification, "productInstanceUri">, UAMachineIdentification_Base {
42
+ export interface UAMachineIdentification extends Omit<UAMachineryItemIdentification, "defaultInstanceBrowseName"|"productInstanceUri">, UAMachineIdentification_Base {
43
43
  }
@@ -32,5 +32,5 @@ export interface UAMachineryComponentIdentification_Base extends UAMachineryItem
32
32
  */
33
33
  deviceRevision?: UAProperty<UAString, DataType.String>;
34
34
  }
35
- export interface UAMachineryComponentIdentification extends UAMachineryItemIdentification, UAMachineryComponentIdentification_Base {
35
+ export interface UAMachineryComponentIdentification extends Omit<UAMachineryItemIdentification, "defaultInstanceBrowseName">, UAMachineryComponentIdentification_Base {
36
36
  }
@@ -1,7 +1,7 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
2
  import { UAProperty } from "node-opcua-address-space-base"
3
3
  import { DataType, VariantOptions } from "node-opcua-variant"
4
- import { LocalizedText } from "node-opcua-data-model"
4
+ import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
5
  import { UInt16, Byte, UAString } from "node-opcua-basic-types"
6
6
  import { UAFunctionalGroup, UAFunctionalGroup_Base } from "node-opcua-nodeset-di/source/ua_functional_group"
7
7
  /**
@@ -39,6 +39,11 @@ export interface UAMachineryItemIdentification_Base extends UAFunctionalGroup_Ba
39
39
  * 40 Unicode characters into that field.
40
40
  */
41
41
  componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
42
+ /**
43
+ * defaultInstanceBrowseName
44
+ * The default BrowseName for instances of the type.
45
+ */
46
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
42
47
  /**
43
48
  * deviceClass
44
49
  * Indicates in which domain or for what purpose the
@@ -0,0 +1,27 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, Variant, VariantOptions } from "node-opcua-variant"
4
+ import { QualifiedName } from "node-opcua-data-model"
5
+ import { EUInformation } from "node-opcua-data-access"
6
+ import { NodeId } from "node-opcua-nodeid"
7
+ import { UAString } from "node-opcua-basic-types"
8
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
9
+ import { UAFolder, UAFolder_Base } from "node-opcua-nodeset-ua/source/ua_folder"
10
+ /**
11
+ * | | |
12
+ * |----------------|------------------------------------------------------------|
13
+ * |namespace |http://opcfoundation.org/UA/Machinery/ |
14
+ * |nodeClass |ObjectType |
15
+ * |typedDefinition |MachineryLifetimeCounterType i=1015 |
16
+ * |isAbstract |false |
17
+ */
18
+ export interface UAMachineryLifetimeCounter_Base extends UAFolder_Base {
19
+ // PlaceHolder for $LifetimeVariable$
20
+ /**
21
+ * defaultInstanceBrowseName
22
+ * The default BrowseName for instances of the type
23
+ */
24
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
25
+ }
26
+ export interface UAMachineryLifetimeCounter extends UAFolder, UAMachineryLifetimeCounter_Base {
27
+ }
@@ -0,0 +1,76 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, Variant } from "node-opcua-variant"
4
+ import { QualifiedName } from "node-opcua-data-model"
5
+ import { UAFunctionalGroup, UAFunctionalGroup_Base } from "node-opcua-nodeset-di/source/ua_functional_group"
6
+ /**
7
+ * | | |
8
+ * |----------------|------------------------------------------------------------|
9
+ * |namespace |http://opcfoundation.org/UA/Machinery/ |
10
+ * |nodeClass |ObjectType |
11
+ * |typedDefinition |MachineryOperationCounterType i=1009 |
12
+ * |isAbstract |false |
13
+ */
14
+ export interface UAMachineryOperationCounter_Base extends UAFunctionalGroup_Base {
15
+ /**
16
+ * defaultInstanceBrowseName
17
+ * The default BrowseName for instances of the type
18
+ */
19
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
20
+ /**
21
+ * operationCycleCounter
22
+ * OperationCycleCounter is counting the times the
23
+ * component switches from not performing an
24
+ * activity to performing an activity. For example,
25
+ * each time a valve starts moving, is counted. This
26
+ * value shall only increase during the lifetime of
27
+ * the component and shall not be reset when the
28
+ * component is restarted.
29
+ */
30
+ operationCycleCounter?: UAProperty<any, any>;
31
+ /**
32
+ * operationDuration
33
+ * OperationDuration is the duration the
34
+ * MachineryItem has been powered and performing an
35
+ * activity. This counter is intended for machines
36
+ * and components where a distinction is made
37
+ * between switched on and in operation. For
38
+ * example, a drive might be powered on but not
39
+ * operating. It is not intended for machines or
40
+ * components always performing an activity like
41
+ * sensors always measuring data. This value shall
42
+ * only increase during the lifetime of the
43
+ * MachineryItem and shall not be reset when it is
44
+ * restarted. The OperationDuration is provided as
45
+ * Duration, i.e., in milliseconds or even fractions
46
+ * of a millisecond. However, the Server is not
47
+ * expected to update the value in such a high
48
+ * frequency, but maybe once a minute or once an
49
+ * hour, depending on the application.
50
+ */
51
+ operationDuration?: UAProperty<number, DataType.Double>;
52
+ /**
53
+ * powerOnDuration
54
+ * PowerOnDuration is the duration the MachineryItem
55
+ * has been powered. The main purpose is to
56
+ * determine the time in which degradation of the
57
+ * MachineryItem occurred. The details, when the
58
+ * time is counted, is implementation-specific.
59
+ * Companion specifications might define specific
60
+ * rules. Typically, when the MachineryItem has
61
+ * supply voltage and the main CPU is running, the
62
+ * time is counted. This may include any kind of
63
+ * sleep mode, but may not include pure Wake on LAN.
64
+ * This value shall only increase during the
65
+ * lifetime of the MachineryItem and shall not be
66
+ * reset when it is restarted. The PowerOnDuration
67
+ * is provided as Duration, i.e., in milliseconds or
68
+ * even fractions of a millisecond. However, the
69
+ * Server is not expected to update the value in
70
+ * such a high frequency, but maybe once a minute or
71
+ * once an hour, depending on the application.
72
+ */
73
+ powerOnDuration?: UAProperty<number, DataType.Double>;
74
+ }
75
+ export interface UAMachineryOperationCounter extends UAFunctionalGroup, UAMachineryOperationCounter_Base {
76
+ }