node-opcua-nodeset-io-link 2.140.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.
Files changed (74) hide show
  1. package/LICENSE +23 -0
  2. package/dist/enum_encoding_enum.d.ts +12 -0
  3. package/dist/enum_encoding_enum.js +18 -0
  4. package/dist/enum_encoding_enum.js.map +1 -0
  5. package/dist/index.d.ts +17 -0
  6. package/dist/index.js +34 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/ua_device_variant.d.ts +22 -0
  9. package/dist/ua_device_variant.js +3 -0
  10. package/dist/ua_device_variant.js.map +1 -0
  11. package/dist/ua_io_link_alarm.d.ts +17 -0
  12. package/dist/ua_io_link_alarm.js +3 -0
  13. package/dist/ua_io_link_alarm.js.map +1 -0
  14. package/dist/ua_io_link_device.d.ts +119 -0
  15. package/dist/ua_io_link_device.js +3 -0
  16. package/dist/ua_io_link_device.js.map +1 -0
  17. package/dist/ua_io_link_device_alarm.d.ts +12 -0
  18. package/dist/ua_io_link_device_alarm.js +3 -0
  19. package/dist/ua_io_link_device_alarm.js.map +1 -0
  20. package/dist/ua_io_link_device_event.d.ts +12 -0
  21. package/dist/ua_io_link_device_event.js +3 -0
  22. package/dist/ua_io_link_device_event.js.map +1 -0
  23. package/dist/ua_io_link_event.d.ts +17 -0
  24. package/dist/ua_io_link_event.js +3 -0
  25. package/dist/ua_io_link_event.js.map +1 -0
  26. package/dist/ua_io_link_iodd_device.d.ts +54 -0
  27. package/dist/ua_io_link_iodd_device.js +3 -0
  28. package/dist/ua_io_link_iodd_device.js.map +1 -0
  29. package/dist/ua_io_link_iodd_device_alarm.d.ts +17 -0
  30. package/dist/ua_io_link_iodd_device_alarm.js +3 -0
  31. package/dist/ua_io_link_iodd_device_alarm.js.map +1 -0
  32. package/dist/ua_io_link_iodd_device_event.d.ts +17 -0
  33. package/dist/ua_io_link_iodd_device_event.js +3 -0
  34. package/dist/ua_io_link_iodd_device_event.js.map +1 -0
  35. package/dist/ua_io_link_master.d.ts +82 -0
  36. package/dist/ua_io_link_master.js +3 -0
  37. package/dist/ua_io_link_master.js.map +1 -0
  38. package/dist/ua_io_link_master_alarm.d.ts +12 -0
  39. package/dist/ua_io_link_master_alarm.js +3 -0
  40. package/dist/ua_io_link_master_alarm.js.map +1 -0
  41. package/dist/ua_io_link_master_event.d.ts +12 -0
  42. package/dist/ua_io_link_master_event.js +3 -0
  43. package/dist/ua_io_link_master_event.js.map +1 -0
  44. package/dist/ua_io_link_port.d.ts +99 -0
  45. package/dist/ua_io_link_port.js +3 -0
  46. package/dist/ua_io_link_port.js.map +1 -0
  47. package/dist/ua_io_link_port_alarm.d.ts +12 -0
  48. package/dist/ua_io_link_port_alarm.js +3 -0
  49. package/dist/ua_io_link_port_alarm.js.map +1 -0
  50. package/dist/ua_io_link_port_event.d.ts +17 -0
  51. package/dist/ua_io_link_port_event.js +3 -0
  52. package/dist/ua_io_link_port_event.js.map +1 -0
  53. package/dist/ua_process_data_variable.d.ts +21 -0
  54. package/dist/ua_process_data_variable.js +3 -0
  55. package/dist/ua_process_data_variable.js.map +1 -0
  56. package/package.json +41 -0
  57. package/source/enum_encoding_enum.ts +14 -0
  58. package/source/index.ts +17 -0
  59. package/source/ua_device_variant.ts +23 -0
  60. package/source/ua_io_link_alarm.ts +23 -0
  61. package/source/ua_io_link_device.ts +121 -0
  62. package/source/ua_io_link_device_alarm.ts +13 -0
  63. package/source/ua_io_link_device_event.ts +13 -0
  64. package/source/ua_io_link_event.ts +18 -0
  65. package/source/ua_io_link_iodd_device.ts +56 -0
  66. package/source/ua_io_link_iodd_device_alarm.ts +18 -0
  67. package/source/ua_io_link_iodd_device_event.ts +18 -0
  68. package/source/ua_io_link_master.ts +85 -0
  69. package/source/ua_io_link_master_alarm.ts +13 -0
  70. package/source/ua_io_link_master_event.ts +13 -0
  71. package/source/ua_io_link_port.ts +100 -0
  72. package/source/ua_io_link_port_alarm.ts +13 -0
  73. package/source/ua_io_link_port_event.ts +18 -0
  74. package/source/ua_process_data_variable.ts +22 -0
@@ -0,0 +1,85 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, VariantOptions } from "node-opcua-variant"
4
+ import { LocalizedText } from "node-opcua-data-model"
5
+ import { UInt32, UInt16, Byte, UAString } from "node-opcua-basic-types"
6
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
7
+ import { UAMultiStateDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_discrete"
8
+ import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
9
+ import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group"
10
+ import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element"
11
+ export interface UAIOLinkMaster_capabilities extends UAFunctionalGroup { // Object
12
+ maxNumberOfPorts: UABaseDataVariable<Byte, DataType.Byte>;
13
+ maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
14
+ }
15
+ export interface UAIOLinkMaster_identification extends UAFunctionalGroup { // Object
16
+ deviceID: UAProperty<UInt32, DataType.UInt32>;
17
+ applicationSpecificTag: UABaseDataVariable<UAString, DataType.String>;
18
+ functionTag: UABaseDataVariable<UAString, DataType.String>;
19
+ locationTag: UABaseDataVariable<UAString, DataType.String>;
20
+ masterType: UAMultiStateDiscrete<Byte, DataType.Byte>;
21
+ vendorID?: UAProperty<UInt16, DataType.UInt16>;
22
+ }
23
+ export interface UAIOLinkMaster_management extends UAFunctionalGroup { // Object
24
+ restart: UAMethod;
25
+ }
26
+ export interface UAIOLinkMaster_methodSet extends UAObject { // Object
27
+ restart: UAMethod;
28
+ resetStatisticsOnAllPorts?: UAMethod;
29
+ }
30
+ export interface UAIOLinkMaster_parameterSet extends UAObject { // Object
31
+ maxNumberOfPorts: UABaseDataVariable<Byte, DataType.Byte>;
32
+ maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
33
+ applicationSpecificTag: UABaseDataVariable<UAString, DataType.String>;
34
+ functionTag: UABaseDataVariable<UAString, DataType.String>;
35
+ locationTag: UABaseDataVariable<UAString, DataType.String>;
36
+ masterType: UAMultiStateDiscrete<Byte, DataType.Byte>;
37
+ dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
38
+ numberOfIOLinkMasterStarts?: UABaseDataVariable<UInt32, DataType.UInt32>;
39
+ }
40
+ export interface UAIOLinkMaster_statistics extends UAFunctionalGroup { // Object
41
+ resetStatisticsOnAllPorts?: UAMethod;
42
+ dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
43
+ numberOfIOLinkMasterStarts?: UABaseDataVariable<UInt32, DataType.UInt32>;
44
+ }
45
+ /**
46
+ * | | |
47
+ * |----------------|------------------------------------------------------------|
48
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
49
+ * |nodeClass |ObjectType |
50
+ * |typedDefinition |IOLinkMasterType i=1014 |
51
+ * |isAbstract |false |
52
+ */
53
+ export interface UAIOLinkMaster_Base extends UATopologyElement_Base {
54
+ alarms?: UAFolder;
55
+ capabilities: UAIOLinkMaster_capabilities;
56
+ deviceID: UAProperty<UInt32, DataType.UInt32>;
57
+ /**
58
+ * identification
59
+ * Used to organize parameters for identification of
60
+ * this TopologyElement
61
+ */
62
+ identification: UAIOLinkMaster_identification;
63
+ vendorID?: UAProperty<UInt16, DataType.UInt16>;
64
+ ioLinkStackRevision?: UAProperty<UAString, DataType.String>;
65
+ management: UAIOLinkMaster_management;
66
+ masterConfigurationDisabled: UAProperty<boolean, DataType.Boolean>;
67
+ /**
68
+ * methodSet
69
+ * Flat list of Methods
70
+ */
71
+ methodSet: UAIOLinkMaster_methodSet;
72
+ /**
73
+ * parameterSet
74
+ * Flat list of Parameters
75
+ */
76
+ parameterSet: UAIOLinkMaster_parameterSet;
77
+ // PlaceHolder for port$n$
78
+ productID?: UAProperty<UAString, DataType.String>;
79
+ productText?: UAProperty<UAString, DataType.String>;
80
+ revisionID?: UAProperty<UAString, DataType.String>;
81
+ statistics: UAIOLinkMaster_statistics;
82
+ vendorURL?: UAProperty<UAString, DataType.String>;
83
+ }
84
+ export interface UAIOLinkMaster extends Omit<UATopologyElement, "identification"|"methodSet"|"parameterSet">, UAIOLinkMaster_Base {
85
+ }
@@ -0,0 +1,13 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAIOLinkAlarm, UAIOLinkAlarm_Base } from "./ua_io_link_alarm"
3
+ /**
4
+ * | | |
5
+ * |----------------|------------------------------------------------------------|
6
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
7
+ * |nodeClass |ObjectType |
8
+ * |typedDefinition |IOLinkMasterAlarmType i=1011 |
9
+ * |isAbstract |false |
10
+ */
11
+ export type UAIOLinkMasterAlarm_Base = UAIOLinkAlarm_Base;
12
+ export interface UAIOLinkMasterAlarm extends UAIOLinkAlarm, UAIOLinkMasterAlarm_Base {
13
+ }
@@ -0,0 +1,13 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAIOLinkEvent, UAIOLinkEvent_Base } from "./ua_io_link_event"
3
+ /**
4
+ * | | |
5
+ * |----------------|------------------------------------------------------------|
6
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
7
+ * |nodeClass |ObjectType |
8
+ * |typedDefinition |IOLinkMasterEventType i=1006 |
9
+ * |isAbstract |true |
10
+ */
11
+ export type UAIOLinkMasterEvent_Base = UAIOLinkEvent_Base;
12
+ export interface UAIOLinkMasterEvent extends UAIOLinkEvent, UAIOLinkMasterEvent_Base {
13
+ }
@@ -0,0 +1,100 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, VariantOptions } from "node-opcua-variant"
4
+ import { UInt32, UInt16, Byte } from "node-opcua-basic-types"
5
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
6
+ import { UAMultiStateDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_discrete"
7
+ import { UAOptionSet } from "node-opcua-nodeset-ua/source/ua_option_set"
8
+ import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
9
+ import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group"
10
+ import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element"
11
+ import { UAIOLinkDevice } from "./ua_io_link_device"
12
+ export interface UAIOLinkPort_capabilities extends UAFunctionalGroup { // Object
13
+ maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
14
+ pin2Support: UABaseDataVariable<boolean, DataType.Boolean>;
15
+ portClass: UAMultiStateDiscrete<Byte, DataType.Byte>;
16
+ }
17
+ export interface UAIOLinkPort_configuration extends UAFunctionalGroup { // Object
18
+ configuredDevice: UAFunctionalGroup;
19
+ cycleTime: UABaseDataVariable<number, DataType.Double>;
20
+ pin2Configuration: UAMultiStateDiscrete<Byte, DataType.Byte>;
21
+ portMode: UAMultiStateDiscrete<Byte, DataType.Byte>;
22
+ updateConfiguration: UAMethod;
23
+ useIODD: UABaseDataVariable<boolean, DataType.Boolean>;
24
+ validationAndBackup: UAMultiStateDiscrete<Byte, DataType.Byte>;
25
+ }
26
+ export interface UAIOLinkPort_information extends UAFunctionalGroup { // Object
27
+ actualCycleTime: UABaseDataVariable<number, DataType.Double>;
28
+ baudrate: UAMultiStateDiscrete<Byte, DataType.Byte>;
29
+ quality: UAOptionSet<Byte, DataType.Byte>;
30
+ status: UAMultiStateDiscrete<Byte, DataType.Byte>;
31
+ }
32
+ export interface UAIOLinkPort_methodSet extends UAObject { // Object
33
+ updateConfiguration: UAMethod;
34
+ resetStatistics?: UAMethod;
35
+ }
36
+ export interface UAIOLinkPort_parameterSet extends UAObject { // Object
37
+ maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
38
+ pin2Support: UABaseDataVariable<boolean, DataType.Boolean>;
39
+ portClass: UAMultiStateDiscrete<Byte, DataType.Byte>;
40
+ deviceID: UABaseDataVariable<UInt32, DataType.UInt32>;
41
+ vendorID: UABaseDataVariable<UInt16, DataType.UInt16>;
42
+ cycleTime: UABaseDataVariable<number, DataType.Double>;
43
+ pin2Configuration: UAMultiStateDiscrete<Byte, DataType.Byte>;
44
+ portMode: UAMultiStateDiscrete<Byte, DataType.Byte>;
45
+ useIODD: UABaseDataVariable<boolean, DataType.Boolean>;
46
+ validationAndBackup: UAMultiStateDiscrete<Byte, DataType.Byte>;
47
+ actualCycleTime: UABaseDataVariable<number, DataType.Double>;
48
+ baudrate: UAMultiStateDiscrete<Byte, DataType.Byte>;
49
+ quality: UAOptionSet<Byte, DataType.Byte>;
50
+ status: UAMultiStateDiscrete<Byte, DataType.Byte>;
51
+ dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
52
+ numberOfAborts?: UABaseDataVariable<UInt32, DataType.UInt32>;
53
+ numberOfCycles?: UABaseDataVariable<UInt32, DataType.UInt32>;
54
+ numberOfDeviceHasBeenExchanged?: UABaseDataVariable<UInt32, DataType.UInt32>;
55
+ numberOfRetries?: UABaseDataVariable<UInt32, DataType.UInt32>;
56
+ pin2ProcessData?: UABaseDataVariable<any, any>;
57
+ pin4ProcessData?: UABaseDataVariable<boolean, DataType.Boolean>;
58
+ }
59
+ export interface UAIOLinkPort_siOProcessData extends UAFunctionalGroup { // Object
60
+ pin2ProcessData?: UABaseDataVariable<any, any>;
61
+ pin4ProcessData?: UABaseDataVariable<boolean, DataType.Boolean>;
62
+ }
63
+ export interface UAIOLinkPort_statistics extends UAFunctionalGroup { // Object
64
+ resetStatistics?: UAMethod;
65
+ dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
66
+ numberOfAborts?: UABaseDataVariable<UInt32, DataType.UInt32>;
67
+ numberOfCycles?: UABaseDataVariable<UInt32, DataType.UInt32>;
68
+ numberOfDeviceHasBeenExchanged?: UABaseDataVariable<UInt32, DataType.UInt32>;
69
+ numberOfRetries?: UABaseDataVariable<UInt32, DataType.UInt32>;
70
+ }
71
+ /**
72
+ * | | |
73
+ * |----------------|------------------------------------------------------------|
74
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
75
+ * |nodeClass |ObjectType |
76
+ * |typedDefinition |IOLinkPortType i=1015 |
77
+ * |isAbstract |false |
78
+ */
79
+ export interface UAIOLinkPort_Base extends UATopologyElement_Base {
80
+ alarms?: UAFolder;
81
+ capabilities: UAIOLinkPort_capabilities;
82
+ configuration: UAIOLinkPort_configuration;
83
+ device?: UAIOLinkDevice;
84
+ deviceConfigurationDisabled: UAProperty<boolean, DataType.Boolean>;
85
+ information: UAIOLinkPort_information;
86
+ /**
87
+ * methodSet
88
+ * Flat list of Methods
89
+ */
90
+ methodSet: UAIOLinkPort_methodSet;
91
+ /**
92
+ * parameterSet
93
+ * Flat list of Parameters
94
+ */
95
+ parameterSet: UAIOLinkPort_parameterSet;
96
+ siOProcessData: UAIOLinkPort_siOProcessData;
97
+ statistics: UAIOLinkPort_statistics;
98
+ }
99
+ export interface UAIOLinkPort extends Omit<UATopologyElement, "methodSet"|"parameterSet">, UAIOLinkPort_Base {
100
+ }
@@ -0,0 +1,13 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAIOLinkAlarm, UAIOLinkAlarm_Base } from "./ua_io_link_alarm"
3
+ /**
4
+ * | | |
5
+ * |----------------|------------------------------------------------------------|
6
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
7
+ * |nodeClass |ObjectType |
8
+ * |typedDefinition |IOLinkPortAlarmType i=1010 |
9
+ * |isAbstract |false |
10
+ */
11
+ export type UAIOLinkPortAlarm_Base = UAIOLinkAlarm_Base;
12
+ export interface UAIOLinkPortAlarm extends UAIOLinkAlarm, UAIOLinkPortAlarm_Base {
13
+ }
@@ -0,0 +1,18 @@
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 { UInt16 } from "node-opcua-basic-types"
5
+ import { UAIOLinkEvent, UAIOLinkEvent_Base } from "./ua_io_link_event"
6
+ /**
7
+ * | | |
8
+ * |----------------|------------------------------------------------------------|
9
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
10
+ * |nodeClass |ObjectType |
11
+ * |typedDefinition |IOLinkPortEventType i=1005 |
12
+ * |isAbstract |true |
13
+ */
14
+ export interface UAIOLinkPortEvent_Base extends UAIOLinkEvent_Base {
15
+ ioLinkEventCode: UAProperty<UInt16, DataType.UInt16>;
16
+ }
17
+ export interface UAIOLinkPortEvent extends Omit<UAIOLinkEvent, "ioLinkEventCode">, UAIOLinkPortEvent_Base {
18
+ }
@@ -0,0 +1,22 @@
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 { Byte } from "node-opcua-basic-types"
5
+ import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
6
+ /**
7
+ * | | |
8
+ * |----------------|------------------------------------------------------------|
9
+ * |namespace |http://opcfoundation.org/UA/IOLink/ |
10
+ * |nodeClass |VariableType |
11
+ * |typedDefinition |ProcessDataVariableType i=2002 |
12
+ * |dataType |Null |
13
+ * |dataType Name |VariantOptions[] i=0 |
14
+ * |value rank |1 |
15
+ * |isAbstract |false |
16
+ */
17
+ export interface UAProcessDataVariable_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
18
+ pdDescriptor?: UAProperty<Byte[], DataType.Byte>;
19
+ processDataLength: UAProperty<Byte, DataType.Byte>;
20
+ }
21
+ export interface UAProcessDataVariable<T, DT extends DataType> extends UABaseDataVariable<T, DT>, UAProcessDataVariable_Base<T, DT> {
22
+ }