Class: Ucp::Pdu::Ucp55Operation

Inherits:
Ucp51Operation show all
Defined in:
lib/ucp/pdu/ucp55_operation.rb

Constant Summary

Constants inherited from UCPMessage

Ucp::Pdu::UCPMessage::DELIMITER, Ucp::Pdu::UCPMessage::ETX, Ucp::Pdu::UCPMessage::STX

Instance Attribute Summary

Attributes inherited from UCPMessage

#dcs, #message_ref, #operation, #operation_type, #part_nr, #total_parts, #trn

Instance Method Summary collapse

Methods inherited from Ucp51Operation

#add_xser, #add_xser_raw, #basic_submit, #parse_xser, #to_s

Methods inherited from UCP5x

#initialize_message, #set_fields

Methods inherited from UCPMessage

#checksum, #get_field, #is_ack?, #is_nack?, #is_operation?, #is_result?, #length, #set_field, #set_fields, #to_s

Constructor Details

#initialize(fields = nil) ⇒ Ucp55Operation

Returns a new instance of Ucp55Operation.



25
26
27
28
# File 'lib/ucp/pdu/ucp55_operation.rb', line 25

def initialize(fields=nil)
  super(fields)
  @operation="55"
end