UNPKG

@opcua/for-node-red

Version:

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

24 lines (21 loc) 1.48 kB
import type { UAProperty } from "node-opcua-address-space-base"; import type { LocalizedText } from "node-opcua-data-model"; import type { DataType } from "node-opcua-variant"; import type { UADiscreteItem, UADiscreteItem_Base } from "./ua_discrete_item"; // ----- this file has been automatically generated - do not edit /** * | | | * |----------------|------------------------------------------------------------| * |namespace |http://opcfoundation.org/UA/ | * |nodeClass |VariableType | * |typedDefinition |TwoStateDiscreteType i=2373 | * |dataType |Boolean | * |dataType Name |(boolean | boolean[]) i=1 | * |value rank |-2 | * |isAbstract |false | */ export interface UATwoStateDiscrete_Base<T extends (boolean | boolean[])> extends UADiscreteItem_Base<T, DataType.Boolean> { falseState: UAProperty<LocalizedText, DataType.LocalizedText>; trueState: UAProperty<LocalizedText, DataType.LocalizedText>; } export interface UATwoStateDiscrete<T extends (boolean | boolean[])> extends UADiscreteItem<T, DataType.Boolean>, UATwoStateDiscrete_Base<T> {}