DescriptorTrait.SemanticTagStruct

class DescriptorTrait.SemanticTagStruct


An object describing an endpoint label specific to a manufacturer.

Summary

Public constructors

SemanticTagStruct(
    mfgCode: UShort?,
    namespaceId: UByte,
    tag: UByte,
    label: OptionalValue<String?>
)

Creates the SemanticTagStruct class.

Public properties

OptionalValue<String?>

The human-readable text suitable for display on a client.

UShort?

The manufacturer ID.

UByte
UByte

The semantic tag ID located within the namespace.

Public constructors

SemanticTagStruct

SemanticTagStruct(
    mfgCode: UShort? = null,
    namespaceId: UByte,
    tag: UByte,
    label: OptionalValue<String?> = OptionalValue.absent()
)

Creates the SemanticTagStruct class.

Public properties

label

val labelOptionalValue<String?>

The human-readable text suitable for display on a client.

mfgCode

val mfgCodeUShort?

The manufacturer ID.

namespaceId

val namespaceIdUByte

tag

val tagUByte

The semantic tag ID located within the namespace.