DiscoveryType coding group

Codings Group from mainline\inBasic\inDataSource.h\Class CDataSource: _type : uint32_t { tnil = 0x0, type_generic, db_oledb, db_odbc, db_hap, opc_classic, opc_xml, opc_ua, network, tmax };.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.DiscoveryType.TYPE_DB_HAP

Codings

Name Code Description
TYPE_DB_HAP 5 Type DB HAP
TYPE_GENERIC 2 Type Generic
TYPE_NETWORK 9 Type OPC Network
TYPE_NIL 1 enum _type : uint32_t { tnil = 0x0, type_generic, db_oledb, db_odbc, db_hap, opc_classic, opc_xml, opc_ua, network, tmax };
TYPE_ODBC 4 Type ODBC
TYPE_OLEDB 3 Type OleDB
TYPE_OPC_CLASSIC 6 Type OPC Classic
TYPE_OPC_UA 8 Type OPC UA
TYPE_OPC_XML 7 Type OPC CML