Class: Lib::TL1::Huawei::Message::LstBoard

Inherits:
Input
  • Object
show all
Defined in:
lib/lib/tl1/huawei/message/lst_board.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeObject (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

#devObject (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

#didObject (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_numberObject (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_infoObject (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_optionObject (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_numberObject (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