ElevatorControlTrait.FloorNameSynonym

class ElevatorControlTrait.FloorNameSynonym : ClusterStruct


Synonyms for this floor in a given language.

Summary

Public constructors

FloorNameSynonym(lang: String, synonyms: List<String>)

Creates the FloorNameSynonym class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

ISO 639-1 language code, for example, en for English.

List<String>

Synonyms for this floor.

Public constructors

FloorNameSynonym

FloorNameSynonym(lang: String = "", synonyms: List<String> = emptyList())

Creates the FloorNameSynonym class.

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

lang

val langString

ISO 639-1 language code, for example, en for English.

synonyms

val synonymsList<String>

Synonyms for this floor. The first string in this list is used as the default name of the floor in this language.