UNPKG

@opcua/for-node-red

Version:

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

28 lines (27 loc) 1.23 kB
import type { UAString, UInt16 } from "node-opcua-basic-types"; import type { LocalizedText } from "node-opcua-data-model"; import type { ExtensionObject } from "node-opcua-extension-object"; import type { NodeId } from "node-opcua-nodeid"; import type { DTNameValuePair } from "./dt_name_value_pair"; import type { DTStructure } from "./dt_structure"; import type { DTTraceContext } from "./dt_trace_context"; /** * | | | * |-----------|------------------------------------------------------------| * | namespace |http://opcfoundation.org/UA/ | * | nodeClass |DataType | * | name |LogRecord | * | isAbstract|false | */ export interface DTLogRecord extends DTStructure { time: Date; severity: UInt16; eventType?: NodeId; sourceNode?: NodeId; sourceName?: UAString; message: LocalizedText; traceContext?: DTTraceContext; additionalData?: DTNameValuePair[]; } export interface UDTLogRecord extends ExtensionObject, DTLogRecord { }