56 void SetData(DASH_CAP,
double, wxString);
57 wxSize GetSize(
int orient, wxSize hint);
61 int m_SpdRecCnt, m_DirRecCnt, m_SpdStartVal, m_DirStartVal;
67 double m_ArrayWindDirHistory[WIND_RECORD_COUNT];
68 double m_ArrayWindSpdHistory[WIND_RECORD_COUNT];
69 double m_ExpSmoothArrayWindSpd[WIND_RECORD_COUNT];
70 double m_ExpSmoothArrayWindDir[WIND_RECORD_COUNT];
71 wxDateTime::Tm m_ArrayRecTime[WIND_RECORD_COUNT];
75 double m_WindDirRange;
77 double m_TotalMaxWindSpd;
80 double m_MaxWindSpdScale;
85 wxString m_WindSpeedUnit;
87 int speedw, degw, degh;
90 wxRect m_DrawAreaRect;
91 int m_DrawingWidth, m_TopLineHeight, m_DrawingHeight;
92 int m_width, m_height;
93 int m_LeftLegend, m_RightLegend;
94 int m_currSec, m_lastSec, m_SpdCntperSec, m_DirCntperSec;
95 double m_cntSpd, m_cntDir, m_avgSpd, m_avgDir;
97 void Draw(wxGCDC* dc);
98 void DrawBackground(wxGCDC* dc);
99 void DrawForeground(wxGCDC* dc);
100 void SetMinMaxWindScale();
101 void DrawWindDirScale(wxGCDC* dc);
102 void DrawWindSpeedScale(wxGCDC* dc);
104 wxString GetWindDirStr(wxString WindDir);