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.
- package/LICENSE +23 -0
- package/dist/enum_encoding_enum.d.ts +12 -0
- package/dist/enum_encoding_enum.js +18 -0
- package/dist/enum_encoding_enum.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_device_variant.d.ts +22 -0
- package/dist/ua_device_variant.js +3 -0
- package/dist/ua_device_variant.js.map +1 -0
- package/dist/ua_io_link_alarm.d.ts +17 -0
- package/dist/ua_io_link_alarm.js +3 -0
- package/dist/ua_io_link_alarm.js.map +1 -0
- package/dist/ua_io_link_device.d.ts +119 -0
- package/dist/ua_io_link_device.js +3 -0
- package/dist/ua_io_link_device.js.map +1 -0
- package/dist/ua_io_link_device_alarm.d.ts +12 -0
- package/dist/ua_io_link_device_alarm.js +3 -0
- package/dist/ua_io_link_device_alarm.js.map +1 -0
- package/dist/ua_io_link_device_event.d.ts +12 -0
- package/dist/ua_io_link_device_event.js +3 -0
- package/dist/ua_io_link_device_event.js.map +1 -0
- package/dist/ua_io_link_event.d.ts +17 -0
- package/dist/ua_io_link_event.js +3 -0
- package/dist/ua_io_link_event.js.map +1 -0
- package/dist/ua_io_link_iodd_device.d.ts +54 -0
- package/dist/ua_io_link_iodd_device.js +3 -0
- package/dist/ua_io_link_iodd_device.js.map +1 -0
- package/dist/ua_io_link_iodd_device_alarm.d.ts +17 -0
- package/dist/ua_io_link_iodd_device_alarm.js +3 -0
- package/dist/ua_io_link_iodd_device_alarm.js.map +1 -0
- package/dist/ua_io_link_iodd_device_event.d.ts +17 -0
- package/dist/ua_io_link_iodd_device_event.js +3 -0
- package/dist/ua_io_link_iodd_device_event.js.map +1 -0
- package/dist/ua_io_link_master.d.ts +82 -0
- package/dist/ua_io_link_master.js +3 -0
- package/dist/ua_io_link_master.js.map +1 -0
- package/dist/ua_io_link_master_alarm.d.ts +12 -0
- package/dist/ua_io_link_master_alarm.js +3 -0
- package/dist/ua_io_link_master_alarm.js.map +1 -0
- package/dist/ua_io_link_master_event.d.ts +12 -0
- package/dist/ua_io_link_master_event.js +3 -0
- package/dist/ua_io_link_master_event.js.map +1 -0
- package/dist/ua_io_link_port.d.ts +99 -0
- package/dist/ua_io_link_port.js +3 -0
- package/dist/ua_io_link_port.js.map +1 -0
- package/dist/ua_io_link_port_alarm.d.ts +12 -0
- package/dist/ua_io_link_port_alarm.js +3 -0
- package/dist/ua_io_link_port_alarm.js.map +1 -0
- package/dist/ua_io_link_port_event.d.ts +17 -0
- package/dist/ua_io_link_port_event.js +3 -0
- package/dist/ua_io_link_port_event.js.map +1 -0
- package/dist/ua_process_data_variable.d.ts +21 -0
- package/dist/ua_process_data_variable.js +3 -0
- package/dist/ua_process_data_variable.js.map +1 -0
- package/package.json +41 -0
- package/source/enum_encoding_enum.ts +14 -0
- package/source/index.ts +17 -0
- package/source/ua_device_variant.ts +23 -0
- package/source/ua_io_link_alarm.ts +23 -0
- package/source/ua_io_link_device.ts +121 -0
- package/source/ua_io_link_device_alarm.ts +13 -0
- package/source/ua_io_link_device_event.ts +13 -0
- package/source/ua_io_link_event.ts +18 -0
- package/source/ua_io_link_iodd_device.ts +56 -0
- package/source/ua_io_link_iodd_device_alarm.ts +18 -0
- package/source/ua_io_link_iodd_device_event.ts +18 -0
- package/source/ua_io_link_master.ts +85 -0
- package/source/ua_io_link_master_alarm.ts +13 -0
- package/source/ua_io_link_master_event.ts +13 -0
- package/source/ua_io_link_port.ts +100 -0
- package/source/ua_io_link_port_alarm.ts +13 -0
- package/source/ua_io_link_port_event.ts +18 -0
- package/source/ua_process_data_variable.ts +22 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UInt32, UInt16, Byte } from "node-opcua-basic-types";
|
|
4
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
+
import { UAMultiStateDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_discrete";
|
|
6
|
+
import { UAOptionSet } from "node-opcua-nodeset-ua/source/ua_option_set";
|
|
7
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
8
|
+
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group";
|
|
9
|
+
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element";
|
|
10
|
+
import { UAIOLinkDevice } from "./ua_io_link_device";
|
|
11
|
+
export interface UAIOLinkPort_capabilities extends UAFunctionalGroup {
|
|
12
|
+
maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
|
|
13
|
+
pin2Support: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
14
|
+
portClass: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
15
|
+
}
|
|
16
|
+
export interface UAIOLinkPort_configuration extends UAFunctionalGroup {
|
|
17
|
+
configuredDevice: UAFunctionalGroup;
|
|
18
|
+
cycleTime: UABaseDataVariable<number, DataType.Double>;
|
|
19
|
+
pin2Configuration: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
20
|
+
portMode: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
21
|
+
updateConfiguration: UAMethod;
|
|
22
|
+
useIODD: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
23
|
+
validationAndBackup: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
24
|
+
}
|
|
25
|
+
export interface UAIOLinkPort_information extends UAFunctionalGroup {
|
|
26
|
+
actualCycleTime: UABaseDataVariable<number, DataType.Double>;
|
|
27
|
+
baudrate: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
28
|
+
quality: UAOptionSet<Byte, DataType.Byte>;
|
|
29
|
+
status: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
30
|
+
}
|
|
31
|
+
export interface UAIOLinkPort_methodSet extends UAObject {
|
|
32
|
+
updateConfiguration: UAMethod;
|
|
33
|
+
resetStatistics?: UAMethod;
|
|
34
|
+
}
|
|
35
|
+
export interface UAIOLinkPort_parameterSet extends UAObject {
|
|
36
|
+
maxPowerSupply: UABaseDataVariable<number, DataType.Double>;
|
|
37
|
+
pin2Support: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
38
|
+
portClass: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
39
|
+
deviceID: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
40
|
+
vendorID: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
41
|
+
cycleTime: UABaseDataVariable<number, DataType.Double>;
|
|
42
|
+
pin2Configuration: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
43
|
+
portMode: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
44
|
+
useIODD: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
45
|
+
validationAndBackup: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
46
|
+
actualCycleTime: UABaseDataVariable<number, DataType.Double>;
|
|
47
|
+
baudrate: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
48
|
+
quality: UAOptionSet<Byte, DataType.Byte>;
|
|
49
|
+
status: UAMultiStateDiscrete<Byte, DataType.Byte>;
|
|
50
|
+
dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
|
|
51
|
+
numberOfAborts?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
52
|
+
numberOfCycles?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
53
|
+
numberOfDeviceHasBeenExchanged?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
54
|
+
numberOfRetries?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
55
|
+
pin2ProcessData?: UABaseDataVariable<any, any>;
|
|
56
|
+
pin4ProcessData?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
57
|
+
}
|
|
58
|
+
export interface UAIOLinkPort_siOProcessData extends UAFunctionalGroup {
|
|
59
|
+
pin2ProcessData?: UABaseDataVariable<any, any>;
|
|
60
|
+
pin4ProcessData?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
61
|
+
}
|
|
62
|
+
export interface UAIOLinkPort_statistics extends UAFunctionalGroup {
|
|
63
|
+
resetStatistics?: UAMethod;
|
|
64
|
+
dateOfLastStatisticsReset?: UABaseDataVariable<Date, DataType.DateTime>;
|
|
65
|
+
numberOfAborts?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
66
|
+
numberOfCycles?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
67
|
+
numberOfDeviceHasBeenExchanged?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
68
|
+
numberOfRetries?: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* | | |
|
|
72
|
+
* |----------------|------------------------------------------------------------|
|
|
73
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
74
|
+
* |nodeClass |ObjectType |
|
|
75
|
+
* |typedDefinition |IOLinkPortType i=1015 |
|
|
76
|
+
* |isAbstract |false |
|
|
77
|
+
*/
|
|
78
|
+
export interface UAIOLinkPort_Base extends UATopologyElement_Base {
|
|
79
|
+
alarms?: UAFolder;
|
|
80
|
+
capabilities: UAIOLinkPort_capabilities;
|
|
81
|
+
configuration: UAIOLinkPort_configuration;
|
|
82
|
+
device?: UAIOLinkDevice;
|
|
83
|
+
deviceConfigurationDisabled: UAProperty<boolean, DataType.Boolean>;
|
|
84
|
+
information: UAIOLinkPort_information;
|
|
85
|
+
/**
|
|
86
|
+
* methodSet
|
|
87
|
+
* Flat list of Methods
|
|
88
|
+
*/
|
|
89
|
+
methodSet: UAIOLinkPort_methodSet;
|
|
90
|
+
/**
|
|
91
|
+
* parameterSet
|
|
92
|
+
* Flat list of Parameters
|
|
93
|
+
*/
|
|
94
|
+
parameterSet: UAIOLinkPort_parameterSet;
|
|
95
|
+
siOProcessData: UAIOLinkPort_siOProcessData;
|
|
96
|
+
statistics: UAIOLinkPort_statistics;
|
|
97
|
+
}
|
|
98
|
+
export interface UAIOLinkPort extends Omit<UATopologyElement, "methodSet" | "parameterSet">, UAIOLinkPort_Base {
|
|
99
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_io_link_port.js","sourceRoot":"","sources":["../source/ua_io_link_port.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UAIOLinkAlarm, UAIOLinkAlarm_Base } from "./ua_io_link_alarm";
|
|
2
|
+
/**
|
|
3
|
+
* | | |
|
|
4
|
+
* |----------------|------------------------------------------------------------|
|
|
5
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
6
|
+
* |nodeClass |ObjectType |
|
|
7
|
+
* |typedDefinition |IOLinkPortAlarmType i=1010 |
|
|
8
|
+
* |isAbstract |false |
|
|
9
|
+
*/
|
|
10
|
+
export type UAIOLinkPortAlarm_Base = UAIOLinkAlarm_Base;
|
|
11
|
+
export interface UAIOLinkPortAlarm extends UAIOLinkAlarm, UAIOLinkPortAlarm_Base {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_io_link_port_alarm.js","sourceRoot":"","sources":["../source/ua_io_link_port_alarm.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UInt16 } from "node-opcua-basic-types";
|
|
4
|
+
import { UAIOLinkEvent, UAIOLinkEvent_Base } from "./ua_io_link_event";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |IOLinkPortEventType i=1005 |
|
|
11
|
+
* |isAbstract |true |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAIOLinkPortEvent_Base extends UAIOLinkEvent_Base {
|
|
14
|
+
ioLinkEventCode: UAProperty<UInt16, DataType.UInt16>;
|
|
15
|
+
}
|
|
16
|
+
export interface UAIOLinkPortEvent extends Omit<UAIOLinkEvent, "ioLinkEventCode">, UAIOLinkPortEvent_Base {
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_io_link_port_event.js","sourceRoot":"","sources":["../source/ua_io_link_port_event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { Byte } from "node-opcua-basic-types";
|
|
4
|
+
import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
9
|
+
* |nodeClass |VariableType |
|
|
10
|
+
* |typedDefinition |ProcessDataVariableType i=2002 |
|
|
11
|
+
* |dataType |Null |
|
|
12
|
+
* |dataType Name |VariantOptions[] i=0 |
|
|
13
|
+
* |value rank |1 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAProcessDataVariable_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
|
|
17
|
+
pdDescriptor?: UAProperty<Byte[], DataType.Byte>;
|
|
18
|
+
processDataLength: UAProperty<Byte, DataType.Byte>;
|
|
19
|
+
}
|
|
20
|
+
export interface UAProcessDataVariable<T, DT extends DataType> extends UABaseDataVariable<T, DT>, UAProcessDataVariable_Base<T, DT> {
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_process_data_variable.js","sourceRoot":"","sources":["../source/ua_process_data_variable.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-opcua-nodeset-io-link",
|
|
3
|
+
"version": "2.140.0",
|
|
4
|
+
"description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-io-link",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"clean": "npx rimraf -g dist *.tsbuildinfo",
|
|
9
|
+
"build": "tsc -b"
|
|
10
|
+
},
|
|
11
|
+
"author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"node-opcua-address-space-base": "2.139.0",
|
|
15
|
+
"node-opcua-basic-types": "2.139.0",
|
|
16
|
+
"node-opcua-data-model": "2.139.0",
|
|
17
|
+
"node-opcua-nodeid": "2.139.0",
|
|
18
|
+
"node-opcua-nodeset-di": "2.140.0",
|
|
19
|
+
"node-opcua-nodeset-ua": "2.139.0",
|
|
20
|
+
"node-opcua-status-code": "2.139.0",
|
|
21
|
+
"node-opcua-variant": "2.139.0"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"source"
|
|
26
|
+
],
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git://github.com/node-opcua/node-opcua.git"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"OPCUA",
|
|
33
|
+
"opcua",
|
|
34
|
+
"m2m",
|
|
35
|
+
"iot",
|
|
36
|
+
"opc ua",
|
|
37
|
+
"internet of things"
|
|
38
|
+
],
|
|
39
|
+
"homepage": "http://node-opcua.github.io/",
|
|
40
|
+
"gitHead": "f966ee4ce83c1012795fbf030d261df091c3c189"
|
|
41
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |-----------|------------------------------------------------------------|
|
|
6
|
+
* | namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
7
|
+
* | nodeClass |DataType |
|
|
8
|
+
* | name |EncodingEnum |
|
|
9
|
+
* | isAbstract|false |
|
|
10
|
+
*/
|
|
11
|
+
export enum EnumEncodingEnum {
|
|
12
|
+
ASCII_0 = 0,
|
|
13
|
+
UTF8_1 = 1,
|
|
14
|
+
}
|
package/source/index.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "./enum_encoding_enum";
|
|
2
|
+
export * from "./ua_device_variant";
|
|
3
|
+
export * from "./ua_io_link_alarm";
|
|
4
|
+
export * from "./ua_io_link_device";
|
|
5
|
+
export * from "./ua_io_link_device_alarm";
|
|
6
|
+
export * from "./ua_io_link_device_event";
|
|
7
|
+
export * from "./ua_io_link_event";
|
|
8
|
+
export * from "./ua_io_link_iodd_device";
|
|
9
|
+
export * from "./ua_io_link_iodd_device_alarm";
|
|
10
|
+
export * from "./ua_io_link_iodd_device_event";
|
|
11
|
+
export * from "./ua_io_link_master";
|
|
12
|
+
export * from "./ua_io_link_master_alarm";
|
|
13
|
+
export * from "./ua_io_link_master_event";
|
|
14
|
+
export * from "./ua_io_link_port";
|
|
15
|
+
export * from "./ua_io_link_port_alarm";
|
|
16
|
+
export * from "./ua_io_link_port_event";
|
|
17
|
+
export * from "./ua_process_data_variable";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { UAString } from "node-opcua-basic-types"
|
|
6
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
7
|
+
/**
|
|
8
|
+
* | | |
|
|
9
|
+
* |----------------|------------------------------------------------------------|
|
|
10
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
11
|
+
* |nodeClass |ObjectType |
|
|
12
|
+
* |typedDefinition |DeviceVariantType i=1013 |
|
|
13
|
+
* |isAbstract |false |
|
|
14
|
+
*/
|
|
15
|
+
export interface UADeviceVariant_Base {
|
|
16
|
+
"$description": UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
17
|
+
deviceIcon?: UABaseDataVariable<Buffer, DataType.ByteString>;
|
|
18
|
+
deviceSymbol?: UABaseDataVariable<Buffer, DataType.ByteString>;
|
|
19
|
+
name: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
20
|
+
productId: UAProperty<UAString, DataType.String>;
|
|
21
|
+
}
|
|
22
|
+
export interface UADeviceVariant extends UAObject, UADeviceVariant_Base {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType, VariantOptions } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
5
|
+
import { NodeId } from "node-opcua-nodeid"
|
|
6
|
+
import { StatusCode } from "node-opcua-status-code"
|
|
7
|
+
import { UInt32, UInt16, Int16, UAString } from "node-opcua-basic-types"
|
|
8
|
+
import { DTTimeZone } from "node-opcua-nodeset-ua/source/dt_time_zone"
|
|
9
|
+
import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
|
|
10
|
+
import { UAOffNormalAlarm, UAOffNormalAlarm_Base } from "node-opcua-nodeset-ua/source/ua_off_normal_alarm"
|
|
11
|
+
/**
|
|
12
|
+
* | | |
|
|
13
|
+
* |----------------|------------------------------------------------------------|
|
|
14
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
15
|
+
* |nodeClass |ObjectType |
|
|
16
|
+
* |typedDefinition |IOLinkAlarmType i=1007 |
|
|
17
|
+
* |isAbstract |true |
|
|
18
|
+
*/
|
|
19
|
+
export interface UAIOLinkAlarm_Base extends UAOffNormalAlarm_Base {
|
|
20
|
+
ioLinkEventCode: UAProperty<UInt16, DataType.UInt16>;
|
|
21
|
+
}
|
|
22
|
+
export interface UAIOLinkAlarm extends UAOffNormalAlarm, UAIOLinkAlarm_Base {
|
|
23
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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, QualifiedName } from "node-opcua-data-model"
|
|
5
|
+
import { UInt32, UInt16, Byte, UAString } from "node-opcua-basic-types"
|
|
6
|
+
import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
8
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
|
|
9
|
+
import { EnumDeviceHealth } from "node-opcua-nodeset-di/source/enum_device_health"
|
|
10
|
+
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group"
|
|
11
|
+
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element"
|
|
12
|
+
import { UAProcessDataVariable } from "./ua_process_data_variable"
|
|
13
|
+
export interface UAIOLinkDevice_general extends UAFunctionalGroup { // Object
|
|
14
|
+
applicationReset: UAMethod;
|
|
15
|
+
applicationSpecificTag: UABaseDataVariable<UAString, DataType.String>;
|
|
16
|
+
detailedDeviceStatus?: UABaseDataVariable<Byte[], DataType.Byte>;
|
|
17
|
+
deviceReset: UAMethod;
|
|
18
|
+
errorCount?: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
19
|
+
functionTag: UABaseDataVariable<UAString, DataType.String>;
|
|
20
|
+
locationTag: UABaseDataVariable<UAString, DataType.String>;
|
|
21
|
+
offsetTime?: UABaseDataVariable<number, DataType.Double>;
|
|
22
|
+
paramBreak: UAMethod;
|
|
23
|
+
paramDownloadToDeviceStart: UAMethod;
|
|
24
|
+
paramDownloadToDeviceStop: UAMethod;
|
|
25
|
+
paramDownloadToDeviceStore: UAMethod;
|
|
26
|
+
paramUploadFromDeviceStart: UAMethod;
|
|
27
|
+
paramUploadFromDeviceStop: UAMethod;
|
|
28
|
+
processDataInput: UAProcessDataVariable<Byte[], DataType.Byte>;
|
|
29
|
+
processDataOutput: UAProcessDataVariable<Byte[], DataType.Byte>;
|
|
30
|
+
readISDU: UAMethod;
|
|
31
|
+
restoreFactorySettings: UAMethod;
|
|
32
|
+
systemCommand: UAMethod;
|
|
33
|
+
writeISDU: UAMethod;
|
|
34
|
+
}
|
|
35
|
+
export interface UAIOLinkDevice_identification extends UAFunctionalGroup { // Object
|
|
36
|
+
deviceID: UAProperty<UInt32, DataType.UInt32>;
|
|
37
|
+
applicationSpecificTag: UABaseDataVariable<UAString, DataType.String>;
|
|
38
|
+
functionTag: UABaseDataVariable<UAString, DataType.String>;
|
|
39
|
+
locationTag: UABaseDataVariable<UAString, DataType.String>;
|
|
40
|
+
/**
|
|
41
|
+
* serialNumber
|
|
42
|
+
* Identifier that uniquely identifies, within a
|
|
43
|
+
* manufacturer, a device instance
|
|
44
|
+
*/
|
|
45
|
+
serialNumber?: UAProperty<UAString, DataType.String>;
|
|
46
|
+
vendorID: UAProperty<UInt16, DataType.UInt16>;
|
|
47
|
+
}
|
|
48
|
+
export interface UAIOLinkDevice_methodSet extends UAObject { // Object
|
|
49
|
+
applicationReset: UAMethod;
|
|
50
|
+
deviceReset: UAMethod;
|
|
51
|
+
paramBreak: UAMethod;
|
|
52
|
+
paramDownloadToDeviceStart: UAMethod;
|
|
53
|
+
paramDownloadToDeviceStop: UAMethod;
|
|
54
|
+
paramDownloadToDeviceStore: UAMethod;
|
|
55
|
+
paramUploadFromDeviceStart: UAMethod;
|
|
56
|
+
paramUploadFromDeviceStop: UAMethod;
|
|
57
|
+
readISDU: UAMethod;
|
|
58
|
+
restoreFactorySettings: UAMethod;
|
|
59
|
+
systemCommand: UAMethod;
|
|
60
|
+
writeISDU: UAMethod;
|
|
61
|
+
}
|
|
62
|
+
export interface UAIOLinkDevice_parameterSet extends UAObject { // Object
|
|
63
|
+
applicationSpecificTag: UABaseDataVariable<UAString, DataType.String>;
|
|
64
|
+
detailedDeviceStatus?: UABaseDataVariable<Byte[], DataType.Byte>;
|
|
65
|
+
errorCount?: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
66
|
+
functionTag: UABaseDataVariable<UAString, DataType.String>;
|
|
67
|
+
locationTag: UABaseDataVariable<UAString, DataType.String>;
|
|
68
|
+
offsetTime?: UABaseDataVariable<number, DataType.Double>;
|
|
69
|
+
processDataInput: UAProcessDataVariable<Byte[], DataType.Byte>;
|
|
70
|
+
processDataOutput: UAProcessDataVariable<Byte[], DataType.Byte>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* | | |
|
|
74
|
+
* |----------------|------------------------------------------------------------|
|
|
75
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
76
|
+
* |nodeClass |ObjectType |
|
|
77
|
+
* |typedDefinition |IOLinkDeviceType i=1002 |
|
|
78
|
+
* |isAbstract |false |
|
|
79
|
+
*/
|
|
80
|
+
export interface UAIOLinkDevice_Base extends UATopologyElement_Base {
|
|
81
|
+
alarms?: UAFolder;
|
|
82
|
+
deviceAccessLocks?: UAProperty<UInt16, DataType.UInt16>;
|
|
83
|
+
deviceHealth?: UABaseDataVariable<EnumDeviceHealth, DataType.Int32>;
|
|
84
|
+
deviceID: UAProperty<UInt32, DataType.UInt32>;
|
|
85
|
+
general: UAIOLinkDevice_general;
|
|
86
|
+
hardwareRevision?: UAProperty<UAString, DataType.String>;
|
|
87
|
+
/**
|
|
88
|
+
* identification
|
|
89
|
+
* Used to organize parameters for identification of
|
|
90
|
+
* this TopologyElement
|
|
91
|
+
*/
|
|
92
|
+
identification: UAIOLinkDevice_identification;
|
|
93
|
+
/**
|
|
94
|
+
* serialNumber
|
|
95
|
+
* Identifier that uniquely identifies, within a
|
|
96
|
+
* manufacturer, a device instance
|
|
97
|
+
*/
|
|
98
|
+
serialNumber?: UAProperty<UAString, DataType.String>;
|
|
99
|
+
vendorID: UAProperty<UInt16, DataType.UInt16>;
|
|
100
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
101
|
+
/**
|
|
102
|
+
* methodSet
|
|
103
|
+
* Flat list of Methods
|
|
104
|
+
*/
|
|
105
|
+
methodSet: UAIOLinkDevice_methodSet;
|
|
106
|
+
minCycleTime: UAProperty<number, DataType.Double>;
|
|
107
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
108
|
+
/**
|
|
109
|
+
* parameterSet
|
|
110
|
+
* Flat list of Parameters
|
|
111
|
+
*/
|
|
112
|
+
parameterSet: UAIOLinkDevice_parameterSet;
|
|
113
|
+
productID?: UAProperty<UAString, DataType.String>;
|
|
114
|
+
productText?: UAProperty<UAString, DataType.String>;
|
|
115
|
+
profileCharacteristic?: UAProperty<UInt16[], DataType.UInt16>;
|
|
116
|
+
revisionID: UAProperty<UAString, DataType.String>;
|
|
117
|
+
softwareRevision?: UAProperty<UAString, DataType.String>;
|
|
118
|
+
vendorText?: UAProperty<UAString, DataType.String>;
|
|
119
|
+
}
|
|
120
|
+
export interface UAIOLinkDevice extends Omit<UATopologyElement, "identification"|"methodSet"|"parameterSet">, UAIOLinkDevice_Base {
|
|
121
|
+
}
|
|
@@ -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 |IOLinkDeviceAlarmType i=1008 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export type UAIOLinkDeviceAlarm_Base = UAIOLinkAlarm_Base;
|
|
12
|
+
export interface UAIOLinkDeviceAlarm extends UAIOLinkAlarm, UAIOLinkDeviceAlarm_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 |IOLinkDeviceEventType i=1004 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export type UAIOLinkDeviceEvent_Base = UAIOLinkEvent_Base;
|
|
12
|
+
export interface UAIOLinkDeviceEvent extends UAIOLinkEvent, UAIOLinkDeviceEvent_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 { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event"
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |IOLinkEventType i=1003 |
|
|
12
|
+
* |isAbstract |true |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAIOLinkEvent_Base extends UABaseEvent_Base {
|
|
15
|
+
ioLinkEventCode: UAProperty<UInt16, DataType.UInt16>;
|
|
16
|
+
}
|
|
17
|
+
export interface UAIOLinkEvent extends UABaseEvent, UAIOLinkEvent_Base {
|
|
18
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { 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 { UInt16, Byte, UAString } from "node-opcua-basic-types"
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
8
|
+
import { UAOptionSet } from "node-opcua-nodeset-ua/source/ua_option_set"
|
|
9
|
+
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group"
|
|
10
|
+
import { UAIOLinkDevice_parameterSet, UAIOLinkDevice, UAIOLinkDevice_Base } from "./ua_io_link_device"
|
|
11
|
+
import { UADeviceVariant } from "./ua_device_variant"
|
|
12
|
+
export interface UAIOLinkIODDDevice_deviceTypeImage extends UAFolder { // Object
|
|
13
|
+
// PlaceHolder for $ImageIdentifier$
|
|
14
|
+
deviceIcon?: UABaseDataVariable<Buffer, DataType.ByteString>;
|
|
15
|
+
deviceSymbol?: UABaseDataVariable<Buffer, DataType.ByteString>;
|
|
16
|
+
}
|
|
17
|
+
export interface UAIOLinkIODDDevice_ioDDInformation extends UAFolder { // Object
|
|
18
|
+
copyright: UAProperty<UAString, DataType.String>;
|
|
19
|
+
ioLinkRevision: UAProperty<UAString, DataType.String>;
|
|
20
|
+
releaseDate: UAProperty<UAString, DataType.String>;
|
|
21
|
+
version: UAProperty<UAString, DataType.String>;
|
|
22
|
+
}
|
|
23
|
+
export interface UAIOLinkIODDDevice_parameterSet extends UAIOLinkDevice_parameterSet { // Object
|
|
24
|
+
supportedAccessLocks?: UAOptionSet<Byte, DataType.Byte>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* | | |
|
|
28
|
+
* |----------------|------------------------------------------------------------|
|
|
29
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
30
|
+
* |nodeClass |ObjectType |
|
|
31
|
+
* |typedDefinition |IOLinkIODDDeviceType i=1012 |
|
|
32
|
+
* |isAbstract |true |
|
|
33
|
+
*/
|
|
34
|
+
export interface UAIOLinkIODDDevice_Base extends UAIOLinkDevice_Base {
|
|
35
|
+
deviceName: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
36
|
+
/**
|
|
37
|
+
* deviceTypeImage
|
|
38
|
+
* Organizes pictures of the device.
|
|
39
|
+
*/
|
|
40
|
+
deviceTypeImage?: UAIOLinkIODDDevice_deviceTypeImage;
|
|
41
|
+
deviceVariant: UADeviceVariant;
|
|
42
|
+
deviceVariants: UAFolder;
|
|
43
|
+
ioDDInformation: UAIOLinkIODDDevice_ioDDInformation;
|
|
44
|
+
/**
|
|
45
|
+
* parameterSet
|
|
46
|
+
* Flat list of Parameters
|
|
47
|
+
*/
|
|
48
|
+
parameterSet: UAIOLinkIODDDevice_parameterSet;
|
|
49
|
+
vendorLogo?: UAProperty<Buffer, DataType.ByteString>;
|
|
50
|
+
vendorURL: UAProperty<UAString, DataType.String>;
|
|
51
|
+
maintenance: UAFunctionalGroup;
|
|
52
|
+
observer: UAFunctionalGroup;
|
|
53
|
+
specialist: UAFunctionalGroup;
|
|
54
|
+
}
|
|
55
|
+
export interface UAIOLinkIODDDevice extends Omit<UAIOLinkDevice, "parameterSet">, UAIOLinkIODDDevice_Base {
|
|
56
|
+
}
|
|
@@ -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 { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { UAIOLinkDeviceAlarm, UAIOLinkDeviceAlarm_Base } from "./ua_io_link_device_alarm"
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |IOLinkIODDDeviceAlarmType i=1009 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAIOLinkIODDDeviceAlarm_Base extends UAIOLinkDeviceAlarm_Base {
|
|
15
|
+
name: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
16
|
+
}
|
|
17
|
+
export interface UAIOLinkIODDDeviceAlarm extends UAIOLinkDeviceAlarm, UAIOLinkIODDDeviceAlarm_Base {
|
|
18
|
+
}
|
|
@@ -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 { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { UAIOLinkDeviceEvent, UAIOLinkDeviceEvent_Base } from "./ua_io_link_device_event"
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/IOLink/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |IOLinkIODDDeviceEventType i=1021 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAIOLinkIODDDeviceEvent_Base extends UAIOLinkDeviceEvent_Base {
|
|
15
|
+
name: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
16
|
+
}
|
|
17
|
+
export interface UAIOLinkIODDDeviceEvent extends UAIOLinkDeviceEvent, UAIOLinkIODDDeviceEvent_Base {
|
|
18
|
+
}
|