⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dcn.hpp

📁 GPS的协议为NMEA0183
💻 HPP
字号:
#if ! defined( DCN_CLASS_HEADER )
#define DCN_CLASS_HEADER

/*
** Author: Samuel R. Blackburn
** CI$: 76300,326
** Internet: sammy@sed.csc.com
**
** You can use it any way you like.
*/

typedef enum
{
   BasisUnknown = 0,
   NormalPatternBasis,
   LaneIdentificationPatternBasis,
   LaneIdentificationTransmissionsBasis
}
FIX_DATA_BASIS;

class DCN : public RESPONSE
{
   DECLARE_DYNAMIC( DCN )

   public:

      DCN();
     ~DCN();

      /*
      ** Data
      */

      int              DeccaChainID;
      LINE_OF_POSITION Red;
      LINE_OF_POSITION Green;
      LINE_OF_POSITION Purple;
      NMEA0183_BOOLEAN RedLineNavigationUse;
      NMEA0183_BOOLEAN GreenLineNavigationUse;
      NMEA0183_BOOLEAN PurpleLineNavigationUse;
      double           PositionUncertaintyNauticalMiles;
      FIX_DATA_BASIS   Basis;

      /*
      ** Methods
      */

      virtual void Empty( void );
      virtual BOOL Parse( const SENTENCE& sentence );
      virtual BOOL Write( SENTENCE& sentence );

      /*
      ** Operators
      */

      virtual const DCN& operator = ( const DCN& source );
};

#endif // DCN_CLASS_HEADER

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -