Skip to content

Latest commit

 

History

History
127 lines (103 loc) · 3.56 KB

ENUMS.md

File metadata and controls

127 lines (103 loc) · 3.56 KB

OPCUA Enums

Contents

UA_ClientState

Wrapped without prefix.

Fields:

  • DICONNECTED ( UA_CLIENTSTATE_DISCONNECTED )
  • CONNECTED ( UA_CLIENTSTATE_CONNECTED )
  • SECURECHANNEL ( UA_CLIENTSTATE_SECURECHANNEL )
  • SESSION ( UA_CLIENTSTATE_SESSION )
  • SESSION_RENEWED ( UA_CLIENTSTATE_SESSION_RENEWED )

Usage:

	local state = opcua.UA_ClientState.DISCONNECTED

VariantType

UA Variant Type

Fields:

  • BOOLEAN => UA_TYPES_BOOLEAN
  • SBYTE => UA_TYPES_SBYTE
  • NODEID => UA_TYPES_NODEID
  • SBYTE UA_TYPES_SBYTE,
  • BYTE => UA_TYPES_BYTE,
  • INT16 => UA_TYPES_INT16,
  • UINT16 => UA_TYPES_UINT16,
  • INT32 => UA_TYPES_INT32,
  • UINT32 => UA_TYPES_UINT32,
  • INT64 => UA_TYPES_INT64,
  • UINT64 => UA_TYPES_UINT64,
  • FLOAT => UA_TYPES_FLOAT,
  • DOUBLE => UA_TYPES_DOUBLE,
  • STRING => UA_TYPES_STRING,
  • DATETIME => UA_TYPES_DATETIME,
  • GUID => UA_TYPES_GUID,
  • BYTESTRING => UA_TYPES_BYTESTRING,
  • XMLELEMENT => UA_TYPES_XMLELEMENT,
  • NODEID => UA_TYPES_NODEID,
  • EXPANDEDNODEID => UA_TYPES_EXPANDEDNODEID,
  • STATUSCODE => UA_TYPES_STATUSCODE,
  • QUALIFIEDNAME => UA_TYPES_QUALIFIEDNAME,
  • LOCALIZEDTEXT => UA_TYPES_LOCALIZEDTEXT,
  • EXTENSIONOBJECT => UA_TYPES_EXTENSIONOBJECT,
  • DATAVALUE => UA_TYPES_DATAVALUE,
  • VARIANT => UA_TYPES_VARIANT,
  • DIAGNOSTICINFO => UA_TYPES_DIAGNOSTICINFO

AccessLevel

Fields:

  • READ => UA_ACCESSLEVELMASK_READ,
  • WRITE => UA_ACCESSLEVELMASK_WRITE,
  • HISTORYREAD => UA_ACCESSLEVELMASK_HISTORYREAD,
  • HISTORYWRITE => UA_ACCESSLEVELMASK_HISTORYWRITE,
  • SEMANTICCHANGE => UA_ACCESSLEVELMASK_SEMANTICCHANGE,
  • STATUSWRITE => UA_ACCESSLEVELMASK_STATUSWRITE,
  • TIMESTAMPWRITE => UA_ACCESSLEVELMASK_TIMESTAMPWRITE,
  • RW => UA_ACCESSLEVELMASK_READ | UA_ACCESSLEVELMASK_WRITE,
  • ALL => 0xF

WriteMask

Fields:

  • ACCESSLEVEL => UA_WRITEMASK_ACCESSLEVEL,
  • ARRAYDIMENSIONS => UA_WRITEMASK_ARRRAYDIMENSIONS,
  • BROWSENAME => UA_WRITEMASK_BROWSENAME,
  • CONTAINSNOLOOPS => UA_WRITEMASK_CONTAINSNOLOOPS,
  • DATATYPE => UA_WRITEMASK_DATATYPE,
  • DESCRIPTION => UA_WRITEMASK_DESCRIPTION,
  • DISPLAYNAME => UA_WRITEMASK_DISPLAYNAME,
  • EVENTNOTIFIER => UA_WRITEMASK_EVENTNOTIFIER,
  • EXECUTABLE => UA_WRITEMASK_EXECUTABLE,
  • HISTORIZING => UA_WRITEMASK_HISTORIZING,
  • INVERSENAME => UA_WRITEMASK_INVERSENAME,
  • ISABSTRACT => UA_WRITEMASK_ISABSTRACT,
  • MINIMUMSAMPLINGINTERVAL => UA_WRITEMASK_MINIMUMSAMPLINGINTERVAL,
  • NODECLASS => UA_WRITEMASK_NODECLASS,
  • NODEID => UA_WRITEMASK_NODEID,
  • SYMMETRIC => UA_WRITEMASK_SYMMETRIC,
  • USERACCESSLEVEL => UA_WRITEMASK_USERACCESSLEVEL,
  • USEREXECUTABLE => UA_WRITEMASK_USEREXECUTABLE,
  • USERWRITEMASK => UA_WRITEMASK_USERWRITEMASK,
  • VALUERANK => UA_WRITEMASK_VALUERANK,
  • WRITEMASK => UA_WRITEMASK_WRITEMASK,
  • VALUEFORVARIABLETYPE => UA_WRITEMASK_VALUEFORVARIABLETYPE,
  • ALL => 0xFF

LogLevel

Fields:

  • TRACE => UA_LogLevel::UA_LOGLEVEL_TRACE,
  • DEBUG => UA_LogLevel::UA_LOGLEVEL_DEBUG,
  • INFO => UA_LogLevel::UA_LOGLEVEL_INFO,
  • WARNING => UA_LogLevel::UA_LOGLEVEL_WARNING,
  • ERROR => UA_LogLevel::UA_LOGLEVEL_ERROR,
  • FATAL => UA_LogLevel::UA_LOGLEVEL_FATAL

LogCategory

Fields:

  • NETWORK => UA_LogCategory::UA_LOGCATEGORY_NETWORK,
  • SECURECHANNEL => UA_LogCategory::UA_LOGCATEGORY_SECURECHANNEL,
  • SESSION => UA_LogCategory::UA_LOGCATEGORY_SESSION,
  • SERVER => UA_LogCategory::UA_LOGCATEGORY_SERVER,
  • CLIENT => UA_LogCategory::UA_LOGCATEGORY_CLIENT,
  • USERLAND => UA_LogCategory::UA_LOGCATEGORY_USERLAND,
  • SECURITYPOLICY => UA_LogCategory::UA_LOGCATEGORY_SECURITYPOLICY