ValveConfigurationAndControlTrait.ValveFaultBitmap

data class ValveConfigurationAndControlTrait.ValveFaultBitmap : ClusterBitmap


The reason for a valve fault condition.

Summary

Public constructors

ValveFaultBitmap(
    generalFault: Boolean,
    blocked: Boolean,
    leaking: Boolean,
    notConnected: Boolean,
    shortCircuit: Boolean,
    currentExceeded: Boolean
)

Creates the ValveFaultBitmap data class.

Public functions

open ULong

Public properties

Boolean

Blocked.

Boolean

Available current exceeded.

Boolean

Unspecified fault.

Boolean

Leak detected.

Boolean

No valve is connected to the controller.

Boolean

Short circuit detected.

Public constructors

ValveFaultBitmap

ValveFaultBitmap(
    generalFault: Boolean = false,
    blocked: Boolean = false,
    leaking: Boolean = false,
    notConnected: Boolean = false,
    shortCircuit: Boolean = false,
    currentExceeded: Boolean = false
)

Creates the ValveFaultBitmap data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

blocked

val blockedBoolean

Blocked.

currentExceeded

val currentExceededBoolean

Available current exceeded.

generalFault

val generalFaultBoolean

Unspecified fault.

leaking

val leakingBoolean

Leak detected.

notConnected

val notConnectedBoolean

No valve is connected to the controller.

shortCircuit

val shortCircuitBoolean

Short circuit detected.