private void _parse() { _pduType = ((AcsePduType)m_io.ReadU1()); switch (PduType) { case AcsePduType.Abrt: { _pdu = new AbrtPdu(m_io, this, m_root); break; } case AcsePduType.Aarq: { _pdu = new AarqPdu(m_io, this, m_root); break; } case AcsePduType.Rlrq: { _pdu = new RlrqPdu(m_io, this, m_root); break; } case AcsePduType.Aare: { _pdu = new AarePdu(m_io, this, m_root); break; } case AcsePduType.Adt: { _pdu = new AdtPdu(m_io, this, m_root); break; } case AcsePduType.Rlre: { _pdu = new RlrePdu(m_io, this, m_root); break; } } }
public AarqPduField(KaitaiStream io, AarqPdu parent = null, DlmsAcse root = null) : base(io) { m_parent = parent; m_root = root; _parse(); }