import { LocalizedTextLike } from "node-opcua-data-model"; import { DataType } from "node-opcua-variant"; import { UAVariableT } from "node-opcua-address-space-base"; import { UATwoStateDiscrete_Base } from "node-opcua-nodeset-ua"; import { ISetStateOptions } from "../i_set_state_options"; /** * @see https://reference.opcfoundation.org/v104/Core/VariableTypes/TwoStateDiscreteType/ */ export interface UATwoStateDiscreteEx extends UAVariableT, UATwoStateDiscrete_Base { // --- helpers --- getValue(): boolean; getValueAsString(): string; setValue(value: boolean | LocalizedTextLike, options?: ISetStateOptions): void; }