Class: LWS::DigitalSignage::Display
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Display
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The display class
Defined Under Namespace
Classes: Input, Resolution
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String?
The aspect ratio of the display.
-
#baud_rate ⇒ String
The baud rate of the RS232 connection to the display.
-
#channels ⇒ Array<Channel>
The channels using the display.
-
#created_at ⇒ String
readonly
The timestamp of when the display was created.
-
#data_bits ⇒ String
The data bits setting of the RS232 connection to the display.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the display.
-
#inputs ⇒ Array<Display::Input>
The inputs supported by the display.
-
#name ⇒ String
The name of the display.
-
#parity ⇒ "none", ...
The parity setting of the RS232 connection to the display.
-
#power_off_command ⇒ String?
The command to turn the display off via the RS232 connection.
-
#power_off_feedback_command ⇒ String?
The feedback command to turn the display off via the RS232 connection.
-
#power_off_feedback_result ⇒ String?
The result of the feedback command to turn the display off via the RS232 connection.
-
#power_on_command ⇒ String?
The command to turn the display on via the RS232 connection.
-
#power_on_feedback_command ⇒ String?
The feedback command to turn the display on via the RS232 connection.
-
#power_on_feedback_result ⇒ String?
The result of the feedback command to turn the display on via the RS232 connection.
-
#resolutions ⇒ Array<Display::Resolution>
The resolutions supported by the display.
-
#slug ⇒ String
readonly
The slug(ified name) of the display.
-
#stop_bits ⇒ String
The stop bits setting of the RS232 connection to the display.
-
#updated_at ⇒ String
readonly
The timestamp of when the display was last updated.
Instance Attribute Details
#aspect_ratio ⇒ String?
Returns the aspect ratio of the display.
406 |
# File 'lib/lws/apps/digital_signage.rb', line 406 attribute :aspect_ratio |
#baud_rate ⇒ String
Returns the baud rate of the RS232 connection to the display.
410 |
# File 'lib/lws/apps/digital_signage.rb', line 410 attribute :baud_rate |
#channels ⇒ Array<Channel>
Returns the channels using the display.
414 |
# File 'lib/lws/apps/digital_signage.rb', line 414 has_many :channels, class_name: "LWS::DigitalSignage::Channel" |
#created_at ⇒ String (readonly)
Returns the timestamp of when the display was created.
471 |
# File 'lib/lws/apps/digital_signage.rb', line 471 attribute :created_at |
#data_bits ⇒ String
Returns the data bits setting of the RS232 connection to the display.
418 |
# File 'lib/lws/apps/digital_signage.rb', line 418 attribute :data_bits |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the display.
402 |
# File 'lib/lws/apps/digital_signage.rb', line 402 attribute :id |
#inputs ⇒ Array<Display::Input>
Returns the inputs supported by the display.
422 |
# File 'lib/lws/apps/digital_signage.rb', line 422 has_many :inputs, class_name: "LWS::DigitalSignage::Display::Input" |
#name ⇒ String
Returns the name of the display.
426 |
# File 'lib/lws/apps/digital_signage.rb', line 426 attribute :name |
#parity ⇒ "none", ...
Returns the parity setting of the RS232 connection to the display.
431 |
# File 'lib/lws/apps/digital_signage.rb', line 431 attribute :parity |
#power_off_command ⇒ String?
Returns the command to turn the display off via the RS232 connection.
447 |
# File 'lib/lws/apps/digital_signage.rb', line 447 attribute :power_off_command |
#power_off_feedback_command ⇒ String?
Returns the feedback command to turn the display off via the RS232 connection.
451 |
# File 'lib/lws/apps/digital_signage.rb', line 451 attribute :power_off_feedback_command |
#power_off_feedback_result ⇒ String?
Returns the result of the feedback command to turn the display off via the RS232 connection.
455 |
# File 'lib/lws/apps/digital_signage.rb', line 455 attribute :power_off_feedback_result |
#power_on_command ⇒ String?
Returns the command to turn the display on via the RS232 connection.
435 |
# File 'lib/lws/apps/digital_signage.rb', line 435 attribute :power_on_command |
#power_on_feedback_command ⇒ String?
Returns the feedback command to turn the display on via the RS232 connection.
439 |
# File 'lib/lws/apps/digital_signage.rb', line 439 attribute :power_on_feedback_command |
#power_on_feedback_result ⇒ String?
Returns the result of the feedback command to turn the display on via the RS232 connection.
443 |
# File 'lib/lws/apps/digital_signage.rb', line 443 attribute :power_on_feedback_result |
#resolutions ⇒ Array<Display::Resolution>
Returns the resolutions supported by the display.
459 |
# File 'lib/lws/apps/digital_signage.rb', line 459 has_many :resolutions, class_name: "LWS::DigitalSignage::Display::Resolution" |
#slug ⇒ String (readonly)
Returns the slug(ified name) of the display.
463 |
# File 'lib/lws/apps/digital_signage.rb', line 463 attribute :slug |
#stop_bits ⇒ String
Returns the stop bits setting of the RS232 connection to the display.
467 |
# File 'lib/lws/apps/digital_signage.rb', line 467 attribute :stop_bits |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the display was last updated.
475 |
# File 'lib/lws/apps/digital_signage.rb', line 475 attribute :updated_at |