Class: Lib::TL1::Huawei::Message::LstBoard
- Defined in:
- lib/lib/tl1/huawei/message/lst_board.rb
Instance Attribute Summary collapse
-
#board_type ⇒ Object
readonly
Returns the value of attribute board_type.
-
#dev ⇒ Object
readonly
Returns the value of attribute dev.
-
#did ⇒ Object
readonly
Returns the value of attribute did.
-
#frame_number ⇒ Object
readonly
Returns the value of attribute frame_number.
-
#onu_locate_info ⇒ Object
readonly
Returns the value of attribute onu_locate_info.
-
#show_option ⇒ Object
readonly
Returns the value of attribute show_option.
-
#slot_number ⇒ Object
readonly
Returns the value of attribute slot_number.
Instance Method Summary collapse
-
#initialize(dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, board_type: nil, show_option: nil) ⇒ LstBoard
constructor
A new instance of LstBoard.
Constructor Details
#initialize(dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, board_type: nil, show_option: nil) ⇒ LstBoard
Returns a new instance of LstBoard.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 13 def initialize( dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, board_type: nil, show_option: nil ) @dev = dev @did = did @frame_number = frame_number @onu_locate_info = onu_locate_info @slot_number = slot_number @board_type = board_type @show_option = show_option super( aid: hash_to_string( dev: dev, did: did, onu_locate_info: onu_locate_info, fn: frame_number, sn: slot_number, bt: board_type ), payload: __show_option(*show_option) ) end |
Instance Attribute Details
#board_type ⇒ Object (readonly)
Returns the value of attribute board_type.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def board_type @board_type end |
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def dev @dev end |
#did ⇒ Object (readonly)
Returns the value of attribute did.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def did @did end |
#frame_number ⇒ Object (readonly)
Returns the value of attribute frame_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def frame_number @frame_number end |
#onu_locate_info ⇒ Object (readonly)
Returns the value of attribute onu_locate_info.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def onu_locate_info @onu_locate_info end |
#show_option ⇒ Object (readonly)
Returns the value of attribute show_option.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def show_option @show_option end |
#slot_number ⇒ Object (readonly)
Returns the value of attribute slot_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_board.rb', line 11 def slot_number @slot_number end |