Exemplo n.º 1
0
        public CONNECT_RESP() : base()
        {
            Header.SetCommand(CapiMessages_Enum.CONNECT_RESP);

            m_BProtocol             = new CapiStruct_BProtocol(this);
            m_ConnectedNumber       = new CapiStruct_ConnectedNumber(this);
            m_ConnectedSubaddress   = new CapiStruct_SubAddress(this);
            m_LowLayerCompatibility = new CapiStruct_Data(this);
            m_AdditionalInfo        = new CapiStruct_AdditionalInfo(this);
        }
Exemplo n.º 2
0
        public CONNECT_ACTIVE_IND(byte[] lbData, int liOffset)
        {
            m_ConnectedNumber       = new CapiStruct_ConnectedNumber(this);
            m_ConnectedSubaddress   = new CapiStruct_SubAddress(this);
            m_LowLayerCompatibility = new CapiStruct_Data(this);

            m_PLCI.SetValue(BitConverter.ToUInt32(lbData, liOffset));
            liOffset = m_ConnectedNumber.SetData(lbData, liOffset + 4);
            liOffset = m_ConnectedSubaddress.SetData(lbData, liOffset);
            liOffset = m_LowLayerCompatibility.SetData(lbData, liOffset);
        }