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.
-
#channel_ids ⇒ Array<Integer>
The IDs of the channels using the display.
-
#channels ⇒ Array<Channel>
The channels using the display.
-
#data_bits ⇒ String
The data bits setting of the RS232 connection to the display.
-
#input_ids ⇒ Array<Integer>
The IDs of the inputs supported by 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.
-
#resolution_ids ⇒ Array<Integer>
The IDs of the resolutions supported by the display.
-
#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.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#aspect_ratio ⇒ String?
Returns the aspect ratio of the display.
421 |
# File 'lib/lws/apps/digital_signage.rb', line 421 attribute :aspect_ratio |
#baud_rate ⇒ String
Returns the baud rate of the RS232 connection to the display.
425 |
# File 'lib/lws/apps/digital_signage.rb', line 425 attribute :baud_rate |
#channel_ids ⇒ Array<Integer>
Returns the IDs of the channels using the display.
429 |
# File 'lib/lws/apps/digital_signage.rb', line 429 attribute :channel_ids |
#channels ⇒ Array<Channel>
Returns the channels using the display.
433 |
# File 'lib/lws/apps/digital_signage.rb', line 433 has_many :channels, class_name: "LWS::DigitalSignage::Channel" |
#data_bits ⇒ String
Returns the data bits setting of the RS232 connection to the display.
437 |
# File 'lib/lws/apps/digital_signage.rb', line 437 attribute :data_bits |
#input_ids ⇒ Array<Integer>
Returns the IDs of the inputs supported by the display.
441 |
# File 'lib/lws/apps/digital_signage.rb', line 441 attribute :input_ids |
#inputs ⇒ Array<Display::Input>
Returns the inputs supported by the display.
445 |
# File 'lib/lws/apps/digital_signage.rb', line 445 has_many :inputs, class_name: "LWS::DigitalSignage::Display::Input" |
#name ⇒ String
Returns the name of the display.
449 |
# File 'lib/lws/apps/digital_signage.rb', line 449 attribute :name |
#parity ⇒ "none", ...
Returns the parity setting of the RS232 connection to the display.
454 |
# File 'lib/lws/apps/digital_signage.rb', line 454 attribute :parity |
#power_off_command ⇒ String?
Returns the command to turn the display off via the RS232 connection.
470 |
# File 'lib/lws/apps/digital_signage.rb', line 470 attribute :power_off_command |
#power_off_feedback_command ⇒ String?
Returns the feedback command to turn the display off via the RS232 connection.
474 |
# File 'lib/lws/apps/digital_signage.rb', line 474 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.
478 |
# File 'lib/lws/apps/digital_signage.rb', line 478 attribute :power_off_feedback_result |
#power_on_command ⇒ String?
Returns the command to turn the display on via the RS232 connection.
458 |
# File 'lib/lws/apps/digital_signage.rb', line 458 attribute :power_on_command |
#power_on_feedback_command ⇒ String?
Returns the feedback command to turn the display on via the RS232 connection.
462 |
# File 'lib/lws/apps/digital_signage.rb', line 462 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.
466 |
# File 'lib/lws/apps/digital_signage.rb', line 466 attribute :power_on_feedback_result |
#resolution_ids ⇒ Array<Integer>
Returns the IDs of the resolutions supported by the display.
482 |
# File 'lib/lws/apps/digital_signage.rb', line 482 attribute :resolution_ids |
#resolutions ⇒ Array<Display::Resolution>
Returns the resolutions supported by the display.
486 |
# File 'lib/lws/apps/digital_signage.rb', line 486 has_many :resolutions, class_name: "LWS::DigitalSignage::Display::Resolution" |
#slug ⇒ String (readonly)
Returns the slug(ified name) of the display.
490 |
# File 'lib/lws/apps/digital_signage.rb', line 490 attribute :slug |
#stop_bits ⇒ String
Returns the stop bits setting of the RS232 connection to the display.
494 |
# File 'lib/lws/apps/digital_signage.rb', line 494 attribute :stop_bits |