@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.37 kB
TypeScript
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 { UABaseDataVariable, UABaseDataVariable_Base } from "./ua_base_data_variable";
/**
* | | |
* |----------------|------------------------------------------------------------|
* |namespace |http://opcfoundation.org/UA/ |
* |nodeClass |VariableType |
* |typedDefinition |OptionSetType i=11487 |
* |dataType |Null |
* |dataType Name |VariantOptions i=0 |
* |value rank |-1 |
* |isAbstract |false |
*/
export interface UAOptionSet_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
optionSetValues: UAProperty<LocalizedText[], DataType.LocalizedText>;
bitMask?: UAProperty<boolean[], DataType.Boolean>;
}
export interface UAOptionSet<T, DT extends DataType> extends UABaseDataVariable<T, DT>, UAOptionSet_Base<T, DT> {
}