@opcua/for-node-red
Version:
The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team
26 lines (25 loc) • 1.75 kB
TypeScript
import type { UAProperty } from "node-opcua-address-space-base";
import type { UInt32 } from "node-opcua-basic-types";
import type { DataType } from "node-opcua-variant";
import type { EnumDiagnosticsLevel } from "./enum_diagnostics_level";
import type { EnumPubSubDiagnosticsCounterClassification } from "./enum_pub_sub_diagnostics_counter_classification";
import type { UABaseDataVariable, UABaseDataVariable_Base } from "./ua_base_data_variable";
/**
* | | |
* |----------------|------------------------------------------------------------|
* |namespace |http://opcfoundation.org/UA/ |
* |nodeClass |VariableType |
* |typedDefinition |PubSubDiagnosticsCounterType i=19725 |
* |dataType |UInt32 |
* |dataType Name |UInt32 i=7 |
* |value rank |-1 |
* |isAbstract |false |
*/
export interface UAPubSubDiagnosticsCounter_Base<T extends UInt32> extends UABaseDataVariable_Base<T, DataType.UInt32> {
active: UAProperty<boolean, DataType.Boolean>;
classification: UAProperty<EnumPubSubDiagnosticsCounterClassification, DataType.Int32>;
diagnosticsLevel: UAProperty<EnumDiagnosticsLevel, DataType.Int32>;
timeFirstChange?: UAProperty<Date, DataType.DateTime>;
}
export interface UAPubSubDiagnosticsCounter<T extends UInt32> extends UABaseDataVariable<T, DataType.UInt32>, UAPubSubDiagnosticsCounter_Base<T> {
}