/// <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(); }
/// <summary> /// Initialize the codecs. /// </summary> public AdcpCodecReadFile() { _binaryCodec = new AdcpBinaryCodecReadFile(); _pd0Codec = new AdcpPD0CodecReadFile(); _dvlCodec = new AdcpDvlCodecReadFile(); }