node-opcua-nodeset-robotics 2.75.0 → 2.77.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/ua_auxiliary_component.d.ts +1 -1
- package/dist/ua_axis.d.ts +4 -4
- package/dist/ua_controller.d.ts +12 -12
- package/dist/ua_drive.d.ts +1 -1
- package/dist/ua_emergency_stop_function.d.ts +2 -2
- package/dist/ua_gear.d.ts +5 -5
- package/dist/ua_load.d.ts +1 -1
- package/dist/ua_motion_device.d.ts +8 -8
- package/dist/ua_motor.d.ts +7 -7
- package/dist/ua_power_train.d.ts +1 -2
- package/dist/ua_protective_stop_function.d.ts +3 -3
- package/dist/ua_safety_state.d.ts +3 -3
- package/dist/ua_task_control.d.ts +4 -4
- package/dist/ua_user.d.ts +2 -2
- package/package.json +10 -10
- package/source/ua_auxiliary_component.ts +2 -2
- package/source/ua_axis.ts +4 -4
- package/source/ua_controller.ts +12 -12
- package/source/ua_drive.ts +1 -1
- package/source/ua_emergency_stop_function.ts +2 -2
- package/source/ua_gear.ts +5 -5
- package/source/ua_load.ts +1 -1
- package/source/ua_motion_device.ts +8 -8
- package/source/ua_motion_device_system.ts +1 -1
- package/source/ua_motor.ts +7 -7
- package/source/ua_power_train.ts +1 -2
- package/source/ua_protective_stop_function.ts +3 -3
- package/source/ua_safety_state.ts +3 -3
- package/source/ua_task_control.ts +4 -4
- package/source/ua_user.ts +2 -2
|
@@ -22,7 +22,7 @@ export interface UAAuxiliaryComponent_Base extends UADevice_Base {
|
|
|
22
22
|
* information displayed on type shields or in ERP
|
|
23
23
|
* systems.
|
|
24
24
|
*/
|
|
25
|
-
productCode: UAProperty<UAString,
|
|
25
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
26
26
|
}
|
|
27
27
|
export interface UAAuxiliaryComponent extends Omit<UADevice, "productCode">, UAAuxiliaryComponent_Base {
|
|
28
28
|
}
|
package/dist/ua_axis.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ export interface UAAxis_parameterSet extends UAObject {
|
|
|
10
10
|
* The axis position inclusive Unit and
|
|
11
11
|
* RangeOfMotion.
|
|
12
12
|
*/
|
|
13
|
-
actualPosition: UAAnalogUnit<number,
|
|
13
|
+
actualPosition: UAAnalogUnit<number, DataType.Double>;
|
|
14
14
|
/**
|
|
15
15
|
* actualSpeed
|
|
16
16
|
* The axis speed on load side (after gear/spindle)
|
|
17
17
|
* inclusive Unit.
|
|
18
18
|
*/
|
|
19
|
-
actualSpeed?: UAAnalogUnit<number,
|
|
19
|
+
actualSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
20
20
|
/**
|
|
21
21
|
* actualAcceleration
|
|
22
22
|
* : The ActualAcceleration variable provides the
|
|
@@ -24,7 +24,7 @@ export interface UAAxis_parameterSet extends UAObject {
|
|
|
24
24
|
* of the axis shall be provided by the EURange
|
|
25
25
|
* property of the AnalogUnitType.
|
|
26
26
|
*/
|
|
27
|
-
actualAcceleration?: UAAnalogUnit<number,
|
|
27
|
+
actualAcceleration?: UAAnalogUnit<number, DataType.Double>;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* The AxisType describes an axis of a motion device.
|
|
@@ -47,7 +47,7 @@ export interface UAAxis_Base extends UAComponent_Base {
|
|
|
47
47
|
* The kind of axis motion as defined with the
|
|
48
48
|
* AxisMotionProfileEnumeration.
|
|
49
49
|
*/
|
|
50
|
-
motionProfile: UAProperty<EnumAxisMotionProfile,
|
|
50
|
+
motionProfile: UAProperty<EnumAxisMotionProfile, DataType.Int32>;
|
|
51
51
|
/**
|
|
52
52
|
* additionalLoad
|
|
53
53
|
* The additional load which is mounted on this
|
package/dist/ua_controller.d.ts
CHANGED
|
@@ -13,36 +13,36 @@ export interface UAController_parameterSet extends UAObject {
|
|
|
13
13
|
* The total accumulated time the controller was
|
|
14
14
|
* powered on.
|
|
15
15
|
*/
|
|
16
|
-
totalPowerOnTime?: UABaseDataVariable<UAString,
|
|
16
|
+
totalPowerOnTime?: UABaseDataVariable<UAString, DataType.String>;
|
|
17
17
|
/**
|
|
18
18
|
* startUpTime
|
|
19
19
|
* The date and time of the last start-up of the
|
|
20
20
|
* controller.
|
|
21
21
|
*/
|
|
22
|
-
startUpTime?: UABaseDataVariable<Date,
|
|
22
|
+
startUpTime?: UABaseDataVariable<Date, DataType.DateTime>;
|
|
23
23
|
/**
|
|
24
24
|
* upsState
|
|
25
25
|
* The vendor specific status of an integrated UPS
|
|
26
26
|
* or accumulator system.
|
|
27
27
|
*/
|
|
28
|
-
upsState?: UABaseDataVariable<UAString,
|
|
28
|
+
upsState?: UABaseDataVariable<UAString, DataType.String>;
|
|
29
29
|
/**
|
|
30
30
|
* totalEnergyConsumption
|
|
31
31
|
* The total accumulated energy consumed by the
|
|
32
32
|
* motion devices related with this controller
|
|
33
33
|
* instance.
|
|
34
34
|
*/
|
|
35
|
-
totalEnergyConsumption?: UAAnalogUnit<number,
|
|
35
|
+
totalEnergyConsumption?: UAAnalogUnit<number, DataType.Double>;
|
|
36
36
|
/**
|
|
37
37
|
* cabinetFanSpeed
|
|
38
38
|
* The speed of the cabinet fan.
|
|
39
39
|
*/
|
|
40
|
-
cabinetFanSpeed?: UAAnalogUnit<number,
|
|
40
|
+
cabinetFanSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
41
41
|
/**
|
|
42
42
|
* cpUFanSpeed
|
|
43
43
|
* The speed of the CPU fan.
|
|
44
44
|
*/
|
|
45
|
-
cpUFanSpeed?: UAAnalogUnit<number,
|
|
45
|
+
cpUFanSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
46
46
|
/**
|
|
47
47
|
* inputVoltage
|
|
48
48
|
* The input voltage of the controller which can be
|
|
@@ -50,13 +50,13 @@ export interface UAController_parameterSet extends UAObject {
|
|
|
50
50
|
* or DC supply the optional property Definition of
|
|
51
51
|
* the base type DataItemType shall be used.
|
|
52
52
|
*/
|
|
53
|
-
inputVoltage?: UAAnalogUnit<number,
|
|
53
|
+
inputVoltage?: UAAnalogUnit<number, DataType.Double>;
|
|
54
54
|
/**
|
|
55
55
|
* temperature
|
|
56
56
|
* The controller temperature given by a temperature
|
|
57
57
|
* sensor inside of the controller.
|
|
58
58
|
*/
|
|
59
|
-
temperature?: UAAnalogUnit<number,
|
|
59
|
+
temperature?: UAAnalogUnit<number, DataType.Double>;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* The ControllerType describes the control unit of
|
|
@@ -76,10 +76,10 @@ export interface UAController_Base extends UAComponent_Base {
|
|
|
76
76
|
* Flat list of Parameters
|
|
77
77
|
*/
|
|
78
78
|
parameterSet?: UAController_parameterSet;
|
|
79
|
-
manufacturer: UAProperty<LocalizedText,
|
|
80
|
-
model: UAProperty<LocalizedText,
|
|
81
|
-
productCode: UAProperty<UAString,
|
|
82
|
-
serialNumber: UAProperty<UAString,
|
|
79
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
80
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
81
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
82
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
83
83
|
/**
|
|
84
84
|
* currentUser
|
|
85
85
|
* The given name of the device.
|
package/dist/ua_drive.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface UADrive_Base extends UADevice_Base {
|
|
|
23
23
|
* information displayed on type shields or in ERP
|
|
24
24
|
* systems.
|
|
25
25
|
*/
|
|
26
|
-
productCode: UAProperty<UAString,
|
|
26
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
27
27
|
}
|
|
28
28
|
export interface UADrive extends Omit<UADevice, "productCode">, UADrive_Base {
|
|
29
29
|
}
|
|
@@ -21,14 +21,14 @@ export interface UAEmergencyStopFunction_Base {
|
|
|
21
21
|
* provides a manufacturer-specific emergency stop
|
|
22
22
|
* function identifier within the safety system.
|
|
23
23
|
*/
|
|
24
|
-
name: UAProperty<UAString,
|
|
24
|
+
name: UAProperty<UAString, DataType.String>;
|
|
25
25
|
/**
|
|
26
26
|
* active
|
|
27
27
|
* The Active variable is TRUE if this particular
|
|
28
28
|
* emergency stop function is active, e.g. that the
|
|
29
29
|
* emergency stop button is pressed, FALSE otherwise.
|
|
30
30
|
*/
|
|
31
|
-
active: UABaseDataVariable<boolean,
|
|
31
|
+
active: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
32
32
|
}
|
|
33
33
|
export interface UAEmergencyStopFunction extends UAObject, UAEmergencyStopFunction_Base {
|
|
34
34
|
}
|
package/dist/ua_gear.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_c
|
|
|
18
18
|
* |isAbstract |false |
|
|
19
19
|
*/
|
|
20
20
|
export interface UAGear_Base extends UAComponent_Base {
|
|
21
|
-
manufacturer: UAProperty<LocalizedText,
|
|
22
|
-
model: UAProperty<LocalizedText,
|
|
23
|
-
productCode: UAProperty<UAString,
|
|
24
|
-
serialNumber: UAProperty<UAString,
|
|
21
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
22
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
23
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
24
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
25
25
|
/**
|
|
26
26
|
* gearRatio
|
|
27
27
|
* The transmission ratio of the gear expressed as a
|
|
@@ -38,7 +38,7 @@ export interface UAGear_Base extends UAComponent_Base {
|
|
|
38
38
|
* to describe the overall transmission from input
|
|
39
39
|
* to output of the gear.
|
|
40
40
|
*/
|
|
41
|
-
pitch?: UABaseDataVariable<number,
|
|
41
|
+
pitch?: UABaseDataVariable<number, DataType.Double>;
|
|
42
42
|
}
|
|
43
43
|
export interface UAGear extends Omit<UAComponent, "manufacturer" | "model" | "productCode" | "serialNumber">, UAGear_Base {
|
|
44
44
|
}
|
package/dist/ua_load.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface UALoad_Base {
|
|
|
23
23
|
* The weight of the load mounted on one mounting
|
|
24
24
|
* point.
|
|
25
25
|
*/
|
|
26
|
-
mass: UAAnalogUnit<number,
|
|
26
|
+
mass: UAAnalogUnit<number, DataType.Double>;
|
|
27
27
|
/**
|
|
28
28
|
* centerOfMass
|
|
29
29
|
* The position and orientation of the center of the
|
|
@@ -18,7 +18,7 @@ export interface UAMotionDevice_parameterSet extends UAObject {
|
|
|
18
18
|
* false. If OnPath is false, the motion device
|
|
19
19
|
* needs repositioning to continue program execution.
|
|
20
20
|
*/
|
|
21
|
-
onPath?: UABaseDataVariable<boolean,
|
|
21
|
+
onPath?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
22
22
|
/**
|
|
23
23
|
* inControl
|
|
24
24
|
* InControl provides the information if the
|
|
@@ -26,13 +26,13 @@ export interface UAMotionDevice_parameterSet extends UAObject {
|
|
|
26
26
|
* device are powered up and in control: "true". The
|
|
27
27
|
* motion device might be in a standstill.
|
|
28
28
|
*/
|
|
29
|
-
inControl?: UABaseDataVariable<boolean,
|
|
29
|
+
inControl?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
30
30
|
/**
|
|
31
31
|
* speedOverride
|
|
32
32
|
* SpeedOverride provides the current speed setting
|
|
33
33
|
* in percent of programmed speed (0 - 100%).
|
|
34
34
|
*/
|
|
35
|
-
speedOverride: UABaseDataVariable<number,
|
|
35
|
+
speedOverride: UABaseDataVariable<number, DataType.Double>;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Represents a specific motion device in the motion
|
|
@@ -53,17 +53,17 @@ export interface UAMotionDevice_Base extends UAComponent_Base {
|
|
|
53
53
|
* Flat list of Parameters
|
|
54
54
|
*/
|
|
55
55
|
parameterSet: UAMotionDevice_parameterSet;
|
|
56
|
-
manufacturer: UAProperty<LocalizedText,
|
|
57
|
-
model: UAProperty<LocalizedText,
|
|
58
|
-
productCode: UAProperty<UAString,
|
|
59
|
-
serialNumber: UAProperty<UAString,
|
|
56
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
57
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
58
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
59
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
60
60
|
/**
|
|
61
61
|
* motionDeviceCategory
|
|
62
62
|
* The variable MotionDeviceCategory provides the
|
|
63
63
|
* kind of motion device defined by
|
|
64
64
|
* MotionDeviceCategoryEnumeration based on ISO 8373.
|
|
65
65
|
*/
|
|
66
|
-
motionDeviceCategory: UAProperty<EnumMotionDeviceCategory,
|
|
66
|
+
motionDeviceCategory: UAProperty<EnumMotionDeviceCategory, DataType.Int32>;
|
|
67
67
|
/**
|
|
68
68
|
* axes
|
|
69
69
|
* Axes is a container for one or more instances of
|
package/dist/ua_motor.d.ts
CHANGED
|
@@ -13,14 +13,14 @@ export interface UAMotor_parameterSet extends UAObject {
|
|
|
13
13
|
* motor is free to run. FALSE means that the motor
|
|
14
14
|
* shaft is locked by the brake.
|
|
15
15
|
*/
|
|
16
|
-
brakeReleased?: UABaseDataVariable<boolean,
|
|
16
|
+
brakeReleased?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
17
17
|
/**
|
|
18
18
|
* motorTemperature
|
|
19
19
|
* The motor temperature provides the temperature of
|
|
20
20
|
* the motor. If there is no temperature sensor the
|
|
21
21
|
* value is set to \"null\".
|
|
22
22
|
*/
|
|
23
|
-
motorTemperature: UAAnalogUnit<number,
|
|
23
|
+
motorTemperature: UAAnalogUnit<number, DataType.Double>;
|
|
24
24
|
/**
|
|
25
25
|
* effectiveLoadRate
|
|
26
26
|
* EffectiveLoadRate is expressed as a percentage of
|
|
@@ -29,7 +29,7 @@ export interface UAMotor_parameterSet extends UAObject {
|
|
|
29
29
|
* Duration should be defined and documented by the
|
|
30
30
|
* vendor.
|
|
31
31
|
*/
|
|
32
|
-
effectiveLoadRate?: UABaseDataVariable<UInt16,
|
|
32
|
+
effectiveLoadRate?: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The MotorType is for representing instances of
|
|
@@ -48,10 +48,10 @@ export interface UAMotor_Base extends UAComponent_Base {
|
|
|
48
48
|
* Flat list of Parameters
|
|
49
49
|
*/
|
|
50
50
|
parameterSet: UAMotor_parameterSet;
|
|
51
|
-
manufacturer: UAProperty<LocalizedText,
|
|
52
|
-
model: UAProperty<LocalizedText,
|
|
53
|
-
productCode: UAProperty<UAString,
|
|
54
|
-
serialNumber: UAProperty<UAString,
|
|
51
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
52
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
53
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
54
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
55
55
|
}
|
|
56
56
|
export interface UAMotor extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAMotor_Base {
|
|
57
57
|
}
|
package/dist/ua_power_train.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_c
|
|
|
10
10
|
* |typedDefinition |7:PowerTrainType ns=7;i=16794 |
|
|
11
11
|
* |isAbstract |false |
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
14
|
-
}
|
|
13
|
+
export declare type UAPowerTrain_Base = UAComponent_Base;
|
|
15
14
|
export interface UAPowerTrain extends UAComponent, UAPowerTrain_Base {
|
|
16
15
|
}
|
|
@@ -22,7 +22,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
22
22
|
* provides a manufacturer-specific protective stop
|
|
23
23
|
* function identifier within the safety system.
|
|
24
24
|
*/
|
|
25
|
-
name: UAProperty<UAString,
|
|
25
|
+
name: UAProperty<UAString, DataType.String>;
|
|
26
26
|
/**
|
|
27
27
|
* enabled
|
|
28
28
|
* – The Enabled variable is TRUE if this
|
|
@@ -37,7 +37,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
37
37
|
* enabled in manual modes and disabled in automatic
|
|
38
38
|
* modes.
|
|
39
39
|
*/
|
|
40
|
-
enabled: UABaseDataVariable<boolean,
|
|
40
|
+
enabled: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
41
41
|
/**
|
|
42
42
|
* active
|
|
43
43
|
* – The Active variable is TRUE if this
|
|
@@ -45,7 +45,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
45
45
|
* i.e. that a stop is initiated, FALSE otherwise.
|
|
46
46
|
* If Enabled is FALSE then Active shall be FALSE.
|
|
47
47
|
*/
|
|
48
|
-
active: UABaseDataVariable<boolean,
|
|
48
|
+
active: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
49
49
|
}
|
|
50
50
|
export interface UAProtectiveStopFunction extends UAObject, UAProtectiveStopFunction_Base {
|
|
51
51
|
}
|
|
@@ -13,7 +13,7 @@ export interface UASafetyState_parameterSet extends UAObject {
|
|
|
13
13
|
* OperationalModeEnumeration, see ISO 10218-1:2011
|
|
14
14
|
* Ch.5.7 Operational Modes.
|
|
15
15
|
*/
|
|
16
|
-
operationalMode: UABaseDataVariable<EnumOperationalMode,
|
|
16
|
+
operationalMode: UABaseDataVariable<EnumOperationalMode, DataType.Int32>;
|
|
17
17
|
/**
|
|
18
18
|
* emergencyStop
|
|
19
19
|
* The EmergencyStop variable is TRUE if one or more
|
|
@@ -23,7 +23,7 @@ export interface UASafetyState_parameterSet extends UAObject {
|
|
|
23
23
|
* the value of this variable is TRUE if one or more
|
|
24
24
|
* of the listed emergency stop functions are active.
|
|
25
25
|
*/
|
|
26
|
-
emergencyStop: UABaseDataVariable<boolean,
|
|
26
|
+
emergencyStop: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
27
27
|
/**
|
|
28
28
|
* protectiveStop
|
|
29
29
|
* The ProtectiveStop variable is TRUE if one or
|
|
@@ -34,7 +34,7 @@ export interface UASafetyState_parameterSet extends UAObject {
|
|
|
34
34
|
* of the listed protective stop functions are
|
|
35
35
|
* enabled and active.
|
|
36
36
|
*/
|
|
37
|
-
protectiveStop: UABaseDataVariable<boolean,
|
|
37
|
+
protectiveStop: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* SafetyStateType describes the safety states of
|
|
@@ -10,20 +10,20 @@ export interface UATaskControl_parameterSet extends UAObject {
|
|
|
10
10
|
* taskProgramName
|
|
11
11
|
* A customer given identifier for the task program.
|
|
12
12
|
*/
|
|
13
|
-
taskProgramName: UABaseDataVariable<UAString,
|
|
13
|
+
taskProgramName: UABaseDataVariable<UAString, DataType.String>;
|
|
14
14
|
/**
|
|
15
15
|
* taskProgramLoaded
|
|
16
16
|
* The TaskProgramLoaded variable is TRUE if a task
|
|
17
17
|
* program is loaded in the task control, FALSE
|
|
18
18
|
* otherwise.
|
|
19
19
|
*/
|
|
20
|
-
taskProgramLoaded: UABaseDataVariable<boolean,
|
|
20
|
+
taskProgramLoaded: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
21
21
|
/**
|
|
22
22
|
* executionMode
|
|
23
23
|
* Execution mode of the task control (continuous or
|
|
24
24
|
* step-wise).
|
|
25
25
|
*/
|
|
26
|
-
executionMode?: UABaseDataVariable<EnumExecutionMode,
|
|
26
|
+
executionMode?: UABaseDataVariable<EnumExecutionMode, DataType.Int32>;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Represents a specific task control active on the
|
|
@@ -47,7 +47,7 @@ export interface UATaskControl_Base extends UAComponent_Base {
|
|
|
47
47
|
* A user writable name provided by the vendor,
|
|
48
48
|
* integrator or user of the device.
|
|
49
49
|
*/
|
|
50
|
-
componentName: UAProperty<LocalizedText,
|
|
50
|
+
componentName: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
51
51
|
}
|
|
52
52
|
export interface UATaskControl extends Omit<UAComponent, "parameterSet" | "componentName">, UATaskControl_Base {
|
|
53
53
|
}
|
package/dist/ua_user.d.ts
CHANGED
|
@@ -19,13 +19,13 @@ export interface UAUser_Base {
|
|
|
19
19
|
* The weight of the load mounted on one mounting
|
|
20
20
|
* point.
|
|
21
21
|
*/
|
|
22
|
-
level: UAProperty<UAString,
|
|
22
|
+
level: UAProperty<UAString, DataType.String>;
|
|
23
23
|
/**
|
|
24
24
|
* name
|
|
25
25
|
* The name for the current user within the control
|
|
26
26
|
* system.
|
|
27
27
|
*/
|
|
28
|
-
name?: UAProperty<UAString,
|
|
28
|
+
name?: UAProperty<UAString, DataType.String>;
|
|
29
29
|
}
|
|
30
30
|
export interface UAUser extends UAObject, UAUser_Base {
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-robotics",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.77.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,14 +10,14 @@
|
|
|
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-di": "2.
|
|
19
|
-
"node-opcua-nodeset-ua": "2.
|
|
20
|
-
"node-opcua-variant": "2.
|
|
13
|
+
"node-opcua-address-space-base": "2.77.0",
|
|
14
|
+
"node-opcua-basic-types": "2.77.0",
|
|
15
|
+
"node-opcua-data-access": "2.77.0",
|
|
16
|
+
"node-opcua-data-model": "2.77.0",
|
|
17
|
+
"node-opcua-nodeid": "2.77.0",
|
|
18
|
+
"node-opcua-nodeset-di": "2.77.0",
|
|
19
|
+
"node-opcua-nodeset-ua": "2.77.0",
|
|
20
|
+
"node-opcua-variant": "2.77.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "5c8d45772d786fa4ba59369dd26679353ab5482b"
|
|
23
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
-
import { DataType } from "node-opcua-variant"
|
|
3
|
+
import { DataType, VariantOptions } from "node-opcua-variant"
|
|
4
4
|
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
5
5
|
import { Int32, UAString } from "node-opcua-basic-types"
|
|
6
6
|
import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
|
|
@@ -26,7 +26,7 @@ export interface UAAuxiliaryComponent_Base extends UADevice_Base {
|
|
|
26
26
|
* information displayed on type shields or in ERP
|
|
27
27
|
* systems.
|
|
28
28
|
*/
|
|
29
|
-
productCode: UAProperty<UAString,
|
|
29
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
30
30
|
}
|
|
31
31
|
export interface UAAuxiliaryComponent extends Omit<UADevice, "productCode">, UAAuxiliaryComponent_Base {
|
|
32
32
|
}
|
package/source/ua_axis.ts
CHANGED
|
@@ -11,13 +11,13 @@ export interface UAAxis_parameterSet extends UAObject { // Object
|
|
|
11
11
|
* The axis position inclusive Unit and
|
|
12
12
|
* RangeOfMotion.
|
|
13
13
|
*/
|
|
14
|
-
actualPosition: UAAnalogUnit<number,
|
|
14
|
+
actualPosition: UAAnalogUnit<number, DataType.Double>;
|
|
15
15
|
/**
|
|
16
16
|
* actualSpeed
|
|
17
17
|
* The axis speed on load side (after gear/spindle)
|
|
18
18
|
* inclusive Unit.
|
|
19
19
|
*/
|
|
20
|
-
actualSpeed?: UAAnalogUnit<number,
|
|
20
|
+
actualSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
21
21
|
/**
|
|
22
22
|
* actualAcceleration
|
|
23
23
|
* : The ActualAcceleration variable provides the
|
|
@@ -25,7 +25,7 @@ export interface UAAxis_parameterSet extends UAObject { // Object
|
|
|
25
25
|
* of the axis shall be provided by the EURange
|
|
26
26
|
* property of the AnalogUnitType.
|
|
27
27
|
*/
|
|
28
|
-
actualAcceleration?: UAAnalogUnit<number,
|
|
28
|
+
actualAcceleration?: UAAnalogUnit<number, DataType.Double>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* The AxisType describes an axis of a motion device.
|
|
@@ -48,7 +48,7 @@ export interface UAAxis_Base extends UAComponent_Base {
|
|
|
48
48
|
* The kind of axis motion as defined with the
|
|
49
49
|
* AxisMotionProfileEnumeration.
|
|
50
50
|
*/
|
|
51
|
-
motionProfile: UAProperty<EnumAxisMotionProfile,
|
|
51
|
+
motionProfile: UAProperty<EnumAxisMotionProfile, DataType.Int32>;
|
|
52
52
|
/**
|
|
53
53
|
* additionalLoad
|
|
54
54
|
* The additional load which is mounted on this
|
package/source/ua_controller.ts
CHANGED
|
@@ -14,36 +14,36 @@ export interface UAController_parameterSet extends UAObject { // Object
|
|
|
14
14
|
* The total accumulated time the controller was
|
|
15
15
|
* powered on.
|
|
16
16
|
*/
|
|
17
|
-
totalPowerOnTime?: UABaseDataVariable<UAString,
|
|
17
|
+
totalPowerOnTime?: UABaseDataVariable<UAString, DataType.String>;
|
|
18
18
|
/**
|
|
19
19
|
* startUpTime
|
|
20
20
|
* The date and time of the last start-up of the
|
|
21
21
|
* controller.
|
|
22
22
|
*/
|
|
23
|
-
startUpTime?: UABaseDataVariable<Date,
|
|
23
|
+
startUpTime?: UABaseDataVariable<Date, DataType.DateTime>;
|
|
24
24
|
/**
|
|
25
25
|
* upsState
|
|
26
26
|
* The vendor specific status of an integrated UPS
|
|
27
27
|
* or accumulator system.
|
|
28
28
|
*/
|
|
29
|
-
upsState?: UABaseDataVariable<UAString,
|
|
29
|
+
upsState?: UABaseDataVariable<UAString, DataType.String>;
|
|
30
30
|
/**
|
|
31
31
|
* totalEnergyConsumption
|
|
32
32
|
* The total accumulated energy consumed by the
|
|
33
33
|
* motion devices related with this controller
|
|
34
34
|
* instance.
|
|
35
35
|
*/
|
|
36
|
-
totalEnergyConsumption?: UAAnalogUnit<number,
|
|
36
|
+
totalEnergyConsumption?: UAAnalogUnit<number, DataType.Double>;
|
|
37
37
|
/**
|
|
38
38
|
* cabinetFanSpeed
|
|
39
39
|
* The speed of the cabinet fan.
|
|
40
40
|
*/
|
|
41
|
-
cabinetFanSpeed?: UAAnalogUnit<number,
|
|
41
|
+
cabinetFanSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
42
42
|
/**
|
|
43
43
|
* cpUFanSpeed
|
|
44
44
|
* The speed of the CPU fan.
|
|
45
45
|
*/
|
|
46
|
-
cpUFanSpeed?: UAAnalogUnit<number,
|
|
46
|
+
cpUFanSpeed?: UAAnalogUnit<number, DataType.Double>;
|
|
47
47
|
/**
|
|
48
48
|
* inputVoltage
|
|
49
49
|
* The input voltage of the controller which can be
|
|
@@ -51,13 +51,13 @@ export interface UAController_parameterSet extends UAObject { // Object
|
|
|
51
51
|
* or DC supply the optional property Definition of
|
|
52
52
|
* the base type DataItemType shall be used.
|
|
53
53
|
*/
|
|
54
|
-
inputVoltage?: UAAnalogUnit<number,
|
|
54
|
+
inputVoltage?: UAAnalogUnit<number, DataType.Double>;
|
|
55
55
|
/**
|
|
56
56
|
* temperature
|
|
57
57
|
* The controller temperature given by a temperature
|
|
58
58
|
* sensor inside of the controller.
|
|
59
59
|
*/
|
|
60
|
-
temperature?: UAAnalogUnit<number,
|
|
60
|
+
temperature?: UAAnalogUnit<number, DataType.Double>;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* The ControllerType describes the control unit of
|
|
@@ -77,10 +77,10 @@ export interface UAController_Base extends UAComponent_Base {
|
|
|
77
77
|
* Flat list of Parameters
|
|
78
78
|
*/
|
|
79
79
|
parameterSet?: UAController_parameterSet;
|
|
80
|
-
manufacturer: UAProperty<LocalizedText,
|
|
81
|
-
model: UAProperty<LocalizedText,
|
|
82
|
-
productCode: UAProperty<UAString,
|
|
83
|
-
serialNumber: UAProperty<UAString,
|
|
80
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
81
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
82
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
83
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
84
84
|
/**
|
|
85
85
|
* currentUser
|
|
86
86
|
* The given name of the device.
|
package/source/ua_drive.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface UADrive_Base extends UADevice_Base {
|
|
|
24
24
|
* information displayed on type shields or in ERP
|
|
25
25
|
* systems.
|
|
26
26
|
*/
|
|
27
|
-
productCode: UAProperty<UAString,
|
|
27
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
28
28
|
}
|
|
29
29
|
export interface UADrive extends Omit<UADevice, "productCode">, UADrive_Base {
|
|
30
30
|
}
|
|
@@ -22,14 +22,14 @@ export interface UAEmergencyStopFunction_Base {
|
|
|
22
22
|
* provides a manufacturer-specific emergency stop
|
|
23
23
|
* function identifier within the safety system.
|
|
24
24
|
*/
|
|
25
|
-
name: UAProperty<UAString,
|
|
25
|
+
name: UAProperty<UAString, DataType.String>;
|
|
26
26
|
/**
|
|
27
27
|
* active
|
|
28
28
|
* The Active variable is TRUE if this particular
|
|
29
29
|
* emergency stop function is active, e.g. that the
|
|
30
30
|
* emergency stop button is pressed, FALSE otherwise.
|
|
31
31
|
*/
|
|
32
|
-
active: UABaseDataVariable<boolean,
|
|
32
|
+
active: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
33
33
|
}
|
|
34
34
|
export interface UAEmergencyStopFunction extends UAObject, UAEmergencyStopFunction_Base {
|
|
35
35
|
}
|
package/source/ua_gear.ts
CHANGED
|
@@ -19,10 +19,10 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_c
|
|
|
19
19
|
* |isAbstract |false |
|
|
20
20
|
*/
|
|
21
21
|
export interface UAGear_Base extends UAComponent_Base {
|
|
22
|
-
manufacturer: UAProperty<LocalizedText,
|
|
23
|
-
model: UAProperty<LocalizedText,
|
|
24
|
-
productCode: UAProperty<UAString,
|
|
25
|
-
serialNumber: UAProperty<UAString,
|
|
22
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
23
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
24
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
25
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
26
26
|
/**
|
|
27
27
|
* gearRatio
|
|
28
28
|
* The transmission ratio of the gear expressed as a
|
|
@@ -39,7 +39,7 @@ export interface UAGear_Base extends UAComponent_Base {
|
|
|
39
39
|
* to describe the overall transmission from input
|
|
40
40
|
* to output of the gear.
|
|
41
41
|
*/
|
|
42
|
-
pitch?: UABaseDataVariable<number,
|
|
42
|
+
pitch?: UABaseDataVariable<number, DataType.Double>;
|
|
43
43
|
}
|
|
44
44
|
export interface UAGear extends Omit<UAComponent, "manufacturer"|"model"|"productCode"|"serialNumber">, UAGear_Base {
|
|
45
45
|
}
|
package/source/ua_load.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface UALoad_Base {
|
|
|
24
24
|
* The weight of the load mounted on one mounting
|
|
25
25
|
* point.
|
|
26
26
|
*/
|
|
27
|
-
mass: UAAnalogUnit<number,
|
|
27
|
+
mass: UAAnalogUnit<number, DataType.Double>;
|
|
28
28
|
/**
|
|
29
29
|
* centerOfMass
|
|
30
30
|
* The position and orientation of the center of the
|
|
@@ -19,7 +19,7 @@ export interface UAMotionDevice_parameterSet extends UAObject { // Object
|
|
|
19
19
|
* false. If OnPath is false, the motion device
|
|
20
20
|
* needs repositioning to continue program execution.
|
|
21
21
|
*/
|
|
22
|
-
onPath?: UABaseDataVariable<boolean,
|
|
22
|
+
onPath?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
23
23
|
/**
|
|
24
24
|
* inControl
|
|
25
25
|
* InControl provides the information if the
|
|
@@ -27,13 +27,13 @@ export interface UAMotionDevice_parameterSet extends UAObject { // Object
|
|
|
27
27
|
* device are powered up and in control: "true". The
|
|
28
28
|
* motion device might be in a standstill.
|
|
29
29
|
*/
|
|
30
|
-
inControl?: UABaseDataVariable<boolean,
|
|
30
|
+
inControl?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
31
31
|
/**
|
|
32
32
|
* speedOverride
|
|
33
33
|
* SpeedOverride provides the current speed setting
|
|
34
34
|
* in percent of programmed speed (0 - 100%).
|
|
35
35
|
*/
|
|
36
|
-
speedOverride: UABaseDataVariable<number,
|
|
36
|
+
speedOverride: UABaseDataVariable<number, DataType.Double>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Represents a specific motion device in the motion
|
|
@@ -54,17 +54,17 @@ export interface UAMotionDevice_Base extends UAComponent_Base {
|
|
|
54
54
|
* Flat list of Parameters
|
|
55
55
|
*/
|
|
56
56
|
parameterSet: UAMotionDevice_parameterSet;
|
|
57
|
-
manufacturer: UAProperty<LocalizedText,
|
|
58
|
-
model: UAProperty<LocalizedText,
|
|
59
|
-
productCode: UAProperty<UAString,
|
|
60
|
-
serialNumber: UAProperty<UAString,
|
|
57
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
58
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
59
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
60
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
61
61
|
/**
|
|
62
62
|
* motionDeviceCategory
|
|
63
63
|
* The variable MotionDeviceCategory provides the
|
|
64
64
|
* kind of motion device defined by
|
|
65
65
|
* MotionDeviceCategoryEnumeration based on ISO 8373.
|
|
66
66
|
*/
|
|
67
|
-
motionDeviceCategory: UAProperty<EnumMotionDeviceCategory,
|
|
67
|
+
motionDeviceCategory: UAProperty<EnumMotionDeviceCategory, DataType.Int32>;
|
|
68
68
|
/**
|
|
69
69
|
* axes
|
|
70
70
|
* Axes is a container for one or more instances of
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
|
-
import { DataType, Variant } from "node-opcua-variant"
|
|
2
|
+
import { DataType, Variant, VariantOptions } from "node-opcua-variant"
|
|
3
3
|
import { LocalizedText } from "node-opcua-data-model"
|
|
4
4
|
import { EUInformation } from "node-opcua-data-access"
|
|
5
5
|
import { NodeId } from "node-opcua-nodeid"
|
package/source/ua_motor.ts
CHANGED
|
@@ -14,14 +14,14 @@ export interface UAMotor_parameterSet extends UAObject { // Object
|
|
|
14
14
|
* motor is free to run. FALSE means that the motor
|
|
15
15
|
* shaft is locked by the brake.
|
|
16
16
|
*/
|
|
17
|
-
brakeReleased?: UABaseDataVariable<boolean,
|
|
17
|
+
brakeReleased?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
18
18
|
/**
|
|
19
19
|
* motorTemperature
|
|
20
20
|
* The motor temperature provides the temperature of
|
|
21
21
|
* the motor. If there is no temperature sensor the
|
|
22
22
|
* value is set to \"null\".
|
|
23
23
|
*/
|
|
24
|
-
motorTemperature: UAAnalogUnit<number,
|
|
24
|
+
motorTemperature: UAAnalogUnit<number, DataType.Double>;
|
|
25
25
|
/**
|
|
26
26
|
* effectiveLoadRate
|
|
27
27
|
* EffectiveLoadRate is expressed as a percentage of
|
|
@@ -30,7 +30,7 @@ export interface UAMotor_parameterSet extends UAObject { // Object
|
|
|
30
30
|
* Duration should be defined and documented by the
|
|
31
31
|
* vendor.
|
|
32
32
|
*/
|
|
33
|
-
effectiveLoadRate?: UABaseDataVariable<UInt16,
|
|
33
|
+
effectiveLoadRate?: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* The MotorType is for representing instances of
|
|
@@ -49,10 +49,10 @@ export interface UAMotor_Base extends UAComponent_Base {
|
|
|
49
49
|
* Flat list of Parameters
|
|
50
50
|
*/
|
|
51
51
|
parameterSet: UAMotor_parameterSet;
|
|
52
|
-
manufacturer: UAProperty<LocalizedText,
|
|
53
|
-
model: UAProperty<LocalizedText,
|
|
54
|
-
productCode: UAProperty<UAString,
|
|
55
|
-
serialNumber: UAProperty<UAString,
|
|
52
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
53
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
54
|
+
productCode: UAProperty<UAString, DataType.String>;
|
|
55
|
+
serialNumber: UAProperty<UAString, DataType.String>;
|
|
56
56
|
}
|
|
57
57
|
export interface UAMotor extends Omit<UAComponent, "parameterSet"|"manufacturer"|"model"|"productCode"|"serialNumber">, UAMotor_Base {
|
|
58
58
|
}
|
package/source/ua_power_train.ts
CHANGED
|
@@ -11,7 +11,6 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_c
|
|
|
11
11
|
* |typedDefinition |7:PowerTrainType ns=7;i=16794 |
|
|
12
12
|
* |isAbstract |false |
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
}
|
|
14
|
+
export type UAPowerTrain_Base = UAComponent_Base;
|
|
16
15
|
export interface UAPowerTrain extends UAComponent, UAPowerTrain_Base {
|
|
17
16
|
}
|
|
@@ -23,7 +23,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
23
23
|
* provides a manufacturer-specific protective stop
|
|
24
24
|
* function identifier within the safety system.
|
|
25
25
|
*/
|
|
26
|
-
name: UAProperty<UAString,
|
|
26
|
+
name: UAProperty<UAString, DataType.String>;
|
|
27
27
|
/**
|
|
28
28
|
* enabled
|
|
29
29
|
* – The Enabled variable is TRUE if this
|
|
@@ -38,7 +38,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
38
38
|
* enabled in manual modes and disabled in automatic
|
|
39
39
|
* modes.
|
|
40
40
|
*/
|
|
41
|
-
enabled: UABaseDataVariable<boolean,
|
|
41
|
+
enabled: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
42
42
|
/**
|
|
43
43
|
* active
|
|
44
44
|
* – The Active variable is TRUE if this
|
|
@@ -46,7 +46,7 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
46
46
|
* i.e. that a stop is initiated, FALSE otherwise.
|
|
47
47
|
* If Enabled is FALSE then Active shall be FALSE.
|
|
48
48
|
*/
|
|
49
|
-
active: UABaseDataVariable<boolean,
|
|
49
|
+
active: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
50
50
|
}
|
|
51
51
|
export interface UAProtectiveStopFunction extends UAObject, UAProtectiveStopFunction_Base {
|
|
52
52
|
}
|
|
@@ -14,7 +14,7 @@ export interface UASafetyState_parameterSet extends UAObject { // Object
|
|
|
14
14
|
* OperationalModeEnumeration, see ISO 10218-1:2011
|
|
15
15
|
* Ch.5.7 Operational Modes.
|
|
16
16
|
*/
|
|
17
|
-
operationalMode: UABaseDataVariable<EnumOperationalMode,
|
|
17
|
+
operationalMode: UABaseDataVariable<EnumOperationalMode, DataType.Int32>;
|
|
18
18
|
/**
|
|
19
19
|
* emergencyStop
|
|
20
20
|
* The EmergencyStop variable is TRUE if one or more
|
|
@@ -24,7 +24,7 @@ export interface UASafetyState_parameterSet extends UAObject { // Object
|
|
|
24
24
|
* the value of this variable is TRUE if one or more
|
|
25
25
|
* of the listed emergency stop functions are active.
|
|
26
26
|
*/
|
|
27
|
-
emergencyStop: UABaseDataVariable<boolean,
|
|
27
|
+
emergencyStop: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
28
28
|
/**
|
|
29
29
|
* protectiveStop
|
|
30
30
|
* The ProtectiveStop variable is TRUE if one or
|
|
@@ -35,7 +35,7 @@ export interface UASafetyState_parameterSet extends UAObject { // Object
|
|
|
35
35
|
* of the listed protective stop functions are
|
|
36
36
|
* enabled and active.
|
|
37
37
|
*/
|
|
38
|
-
protectiveStop: UABaseDataVariable<boolean,
|
|
38
|
+
protectiveStop: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* SafetyStateType describes the safety states of
|
|
@@ -11,20 +11,20 @@ export interface UATaskControl_parameterSet extends UAObject { // Object
|
|
|
11
11
|
* taskProgramName
|
|
12
12
|
* A customer given identifier for the task program.
|
|
13
13
|
*/
|
|
14
|
-
taskProgramName: UABaseDataVariable<UAString,
|
|
14
|
+
taskProgramName: UABaseDataVariable<UAString, DataType.String>;
|
|
15
15
|
/**
|
|
16
16
|
* taskProgramLoaded
|
|
17
17
|
* The TaskProgramLoaded variable is TRUE if a task
|
|
18
18
|
* program is loaded in the task control, FALSE
|
|
19
19
|
* otherwise.
|
|
20
20
|
*/
|
|
21
|
-
taskProgramLoaded: UABaseDataVariable<boolean,
|
|
21
|
+
taskProgramLoaded: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
22
22
|
/**
|
|
23
23
|
* executionMode
|
|
24
24
|
* Execution mode of the task control (continuous or
|
|
25
25
|
* step-wise).
|
|
26
26
|
*/
|
|
27
|
-
executionMode?: UABaseDataVariable<EnumExecutionMode,
|
|
27
|
+
executionMode?: UABaseDataVariable<EnumExecutionMode, DataType.Int32>;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Represents a specific task control active on the
|
|
@@ -48,7 +48,7 @@ export interface UATaskControl_Base extends UAComponent_Base {
|
|
|
48
48
|
* A user writable name provided by the vendor,
|
|
49
49
|
* integrator or user of the device.
|
|
50
50
|
*/
|
|
51
|
-
componentName: UAProperty<LocalizedText,
|
|
51
|
+
componentName: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
52
52
|
}
|
|
53
53
|
export interface UATaskControl extends Omit<UAComponent, "parameterSet"|"componentName">, UATaskControl_Base {
|
|
54
54
|
}
|
package/source/ua_user.ts
CHANGED
|
@@ -20,13 +20,13 @@ export interface UAUser_Base {
|
|
|
20
20
|
* The weight of the load mounted on one mounting
|
|
21
21
|
* point.
|
|
22
22
|
*/
|
|
23
|
-
level: UAProperty<UAString,
|
|
23
|
+
level: UAProperty<UAString, DataType.String>;
|
|
24
24
|
/**
|
|
25
25
|
* name
|
|
26
26
|
* The name for the current user within the control
|
|
27
27
|
* system.
|
|
28
28
|
*/
|
|
29
|
-
name?: UAProperty<UAString,
|
|
29
|
+
name?: UAProperty<UAString, DataType.String>;
|
|
30
30
|
}
|
|
31
31
|
export interface UAUser extends UAObject, UAUser_Base {
|
|
32
32
|
}
|