enum

PlaceOS::Driver::Interface::Sensor::Status

Inherits Enum < Comparable < Value < Object

Constants

Normal = 0
Alarm = 1
Fault = 2
OutOfService = 3

Instance methods

alarm?

Returns true if this enum value equals Alarm

Source
fault?

Returns true if this enum value equals Fault

Source
normal?

Returns true if this enum value equals Normal

Source
out_of_service?

Returns true if this enum value equals OutOfService

Source