MTCMSMessage Class Methods
This class allows building MagTek CMS messages to be used in communications with MagTek CMS devices.
MTCMSMessage
This constructor method builds an MTCMSMessage instance with the provided values.
public void MTCMSMessage(int messageType, int applicationID, int commandID, int dataTag, byte[] data)
Parameters:
Return Value: None
This constructor method builds an MTCMSMessage instance with the provided byte array value.
Parameters:
Return Value: None
This method sets the value of MessageType.
Parameters:
Return Value: None
This method sets the value of ApplciationID.
Parameters:
Return Value: None
This method sets the value of CommandID.
Parameters:
Return Value: None
This method sets the value of ResultCode.
Parameters:
Return Value: None
This method sets the value of Data Tag and the value of Data.
Parameters:
Return Value: None
This method returns the value of MessageType.
Return Value: MessageType value.
This method returns the value of ApplicationID.
Return Value: ApplicationID value.
This method returns the value of CommandID.
Return Value: CommandID value.
This method returns the value of ResultCode.
Return Value: ResultCode value.
This method returns the value of Data Tag.
Return Value: Data Tag value.
This method returns the value of Data.
Return Value: Data value.
This method returns the message bytes.
Return Value: Message bytes.