ClosureDimensionTrait.RangePercent100thsStruct

class ClosureDimensionTrait.RangePercent100thsStruct : ClusterStruct


Defines an operational range, from a minimum to a maximum percentage. for a dimension of a closure.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the RangePercent100thsStruct 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

UShort

The maximum value in hundredths of a percent, ranging from min to 100.00%.

UShort

The minimum value in hundredths of a percent, ranging from 0.00% to max.

Public constructors

RangePercent100thsStruct

RangePercent100thsStruct(min: UShort, max: UShort)

Creates the RangePercent100thsStruct class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

max

val maxUShort

The maximum value in hundredths of a percent, ranging from min to 100.00%.

min

val minUShort

The minimum value in hundredths of a percent, ranging from 0.00% to max.