Class: Lib::TL1::Huawei::Message::LstFrame

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dev: nil, did: nil, frame_number: nil, show_option: nil) ⇒ LstFrame



13
14
15
16
17
18
19
20
21
22
# File 'lib/lib/tl1/huawei/message/lst_frame.rb', line 13

def initialize(dev: nil, did: nil, frame_number: nil, show_option: nil)
  @dev = dev
  @did = did
  @frame_number = frame_number
  @show_option = show_option
  super(
    aid: hash_to_string(dev: dev, did: did, fn: frame_number),
    payload: __show_option(*show_option)
  )
end

Instance Attribute Details

#devObject (readonly)

Returns the value of attribute dev.



11
12
13
# File 'lib/lib/tl1/huawei/message/lst_frame.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_frame.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_frame.rb', line 11

def frame_number
  @frame_number
end

#show_optionObject (readonly)

Returns the value of attribute show_option.



11
12
13
# File 'lib/lib/tl1/huawei/message/lst_frame.rb', line 11

def show_option
  @show_option
end