UNPKG

@opcua/for-node-red

Version:

The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team

20 lines (19 loc) 1.09 kB
import type { UAProperty } from "node-opcua-address-space-base"; import type { NodeId } from "node-opcua-nodeid"; import type { DataType } from "node-opcua-variant"; import type { UAAlarmCondition, UAAlarmCondition_Base } from "./ua_alarm_condition"; /** * | | | * |----------------|------------------------------------------------------------| * |namespace |http://opcfoundation.org/UA/ | * |nodeClass |ObjectType | * |typedDefinition |DiscrepancyAlarmType i=17080 | * |isAbstract |false | */ export interface UADiscrepancyAlarm_Base extends UAAlarmCondition_Base { targetValueNode: UAProperty<NodeId, DataType.NodeId>; expectedTime: UAProperty<number, DataType.Double>; tolerance?: UAProperty<number, DataType.Double>; } export interface UADiscrepancyAlarm extends UAAlarmCondition, UADiscrepancyAlarm_Base { }