struct PlaceOS::Driver::Interface::Lighting::Area
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-driver/interface/lighting.crConstructors
- .new(pull : JSON::PullParser)
- .new(id : String | UInt32 | Nil = nil, channel : UInt32 | Nil = nil, component : Nil | String = nil, join : UInt32 | Nil = nil, append : Nil | String = nil)
Instance Method Summary
- #append(append : String | Nil)
- #append : String | Nil
- #append=(append : String | Nil)
- #channel : UInt32 | Nil
- #component : String | Nil
-
#id : UInt32 | String | Nil
Newer fields can be added if these don't meet requirements for newer lighting systems
- #join : UInt32 | Nil
- #join_with(area : Area) : Area
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
def self.new(id : String | UInt32 | Nil = nil, channel : UInt32 | Nil = nil, component : Nil | String = nil, join : UInt32 | Nil = nil, append : Nil | String = nil)
#
Instance Method Detail
def id : UInt32 | String | Nil
#
Newer fields can be added if these don't meet requirements for newer lighting systems