enum PlaceOS::Model::Settings::ParentType

Overview

Possible parent documents

Defined in:

placeos-models/settings.cr

Enum Members

ControlSystem = 0
Driver = 1
Module = 2
Zone = 3

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_id?(id : String | Nil) : ParentType | Nil #

[View source]

Instance Method Detail

def control_system? #

[View source]
def driver? #

[View source]
def module? #

[View source]
def zone? #

[View source]