Class: Orion6Rep::EmployeeQuantityGet

Inherits:
Command
  • Object
show all
Defined in:
lib/orion6_rep/employee_quantity_get.rb

Instance Method Summary collapse

Methods inherited from Command

convert_to_integer_as_big_endian, convert_to_integer_as_little_endian, #execute, xor

Constructor Details

#initialize(equipment_number, host_address, tcp_port = 3000) ⇒ EmployeeQuantityGet

Returns a new instance of EmployeeQuantityGet.



25
26
27
28
29
30
# File 'lib/orion6_rep/employee_quantity_get.rb', line 25

def initialize(equipment_number, host_address, tcp_port = 3000)
  @equipment_number = equipment_number
  @host_address = host_address
  @tcp_port = tcp_port
  @reponse_size = 9
end