示例#1
0
        /// <summary>
        /// Initialize the codecs.
        /// </summary>
        public AdcpCodecReadFile()
        {
            _binaryCodec = new AdcpBinaryCodecReadFile();
            _binaryCodec.GoodEnsembleEvent += ReceivedGoodEnsembleEvent;
            _binaryCodec.BadEnsembleEvent  += ReceivedBadEnsembleEvent;

            _pd0Codec = new AdcpPD0CodecReadFile();
            _pd0Codec.GoodEnsembleEvent += ReceivedGoodEnsembleEvent;
            _pd0Codec.BadEnsembleEvent  += ReceivedBadEnsembleEvent;


            _dvlCodec = new AdcpDvlCodecReadFile();
        }
示例#2
0
 /// <summary>
 /// Initialize the codecs.
 /// </summary>
 public AdcpCodecReadFile()
 {
     _binaryCodec = new AdcpBinaryCodecReadFile();
     _pd0Codec    = new AdcpPD0CodecReadFile();
     _dvlCodec    = new AdcpDvlCodecReadFile();
 }