示例#1
0
        protected void ParseDestinationAddress(IndividualEndianessBinaryReader br)
        {
            var dst = br.ReadU2be();

            if (_controlField2.DestinationAddressType == AddressType.GroupAddress)
            {
                _destinationAddress = new GroupAddress(dst);
            }
            else
            {
                _destinationAddress = new IndividualAddress(dst);
            }
        }
示例#2
0
        protected void ParseSourceAddress(IndividualEndianessBinaryReader br)
        {
            var src = br.ReadU2be();

            _sourceAddress = new IndividualAddress(src);
        }