/// <summary> /// Parses the APDU from the stream /// </summary> /// <param name="apduStream">The stream to parse from</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/04/12 RCG 2.70.63 N/A Created public override void Parse(Stream apduStream) { base.Parse(apduStream); DLMSBinaryReader DataReader = new DLMSBinaryReader(apduStream); RequestType = DataReader.ReadEnum <GetRequestChoice>(); m_Request.Parse(apduStream); }
/// <summary> /// Parses the APDU from the stream /// </summary> /// <param name="apduStream">The stream to parse from</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 02/04/12 RCG 2.70.63 N/A Created public override void Parse(Stream apduStream) { base.Parse(apduStream); DLMSBinaryReader DataReader = new DLMSBinaryReader(apduStream); ResponseType = DataReader.ReadEnum <GetResponseChoices>(); // The Response data will be set by the ResponseType property so we can just call parse m_Response.Parse(apduStream); }