UNPKG

@opcua/for-node-red

Version:

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

22 lines (21 loc) 1.35 kB
import type { UAProperty } from "node-opcua-address-space-base"; import type { LocalizedText } from "node-opcua-data-model"; import type { NodeId } from "node-opcua-nodeid"; import type { DataType } from "node-opcua-variant"; import type { UAStateVariable, UAStateVariable_Base } from "./ua_state_variable"; /** * | | | * |----------------|------------------------------------------------------------| * |namespace |http://opcfoundation.org/UA/ | * |nodeClass |VariableType | * |typedDefinition |FiniteStateVariableType i=2760 | * |dataType |LocalizedText | * |dataType Name |LocalizedText i=21 | * |value rank |-1 | * |isAbstract |false | */ export interface UAFiniteStateVariable_Base<T extends LocalizedText> extends UAStateVariable_Base<T> { id: UAProperty<NodeId, DataType.NodeId>; } export interface UAFiniteStateVariable<T extends LocalizedText> extends Omit<UAStateVariable<T>, "id">, UAFiniteStateVariable_Base<T> { }