#pragma once class GlwUGRampDataManage { public: GlwUGRampDataManage(void); ~GlwUGRampDataManage(void); void UpdateDataManage(double dRampWidth, double dTurningRad, int nLOPLoc, BOOL bIsDrawMidLine, BOOL bIsDimArrow, int nArrowDrec, int nDrawStyle); void SetRampWidth(double dRampWidth); void SetTurningRad(double dTurningRad); void SetLOPLoc(int nLOPLoc); void SetIsDrawMidLine(BOOL bIsDrawMidLine); void SetIsDimArrow(BOOL bIsDimArrow); void SetArrowDrec(int nArrowDrec); void SetDrawStyle(int nStyle); double GetRampWidth(); double GetTurningRad(); int GetLOPLoc(); BOOL GetIsDrawMidLine(); BOOL GetIsDimArrow(); int GetArrowDrec(); int GetDrawStyle(); private: int m_nDrawStyle; //绘制样式 double m_dRampWidth; //坡道宽 double m_dTurningRad; //转弯半径 int m_nLOPLoc; //定位线位置 BOOL m_bIsDrawMidLine; //是否绘制中心线 BOOL m_bIsDimArrow; //是否标注箭头 int m_nArrowDrec; //箭头方向 };