00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "iangulargaugex.h"
00025 #include "iledrectanglex.h"
00026 #include "iledroundx.h"
00027 #include "iplotlibrary.h"
00028 #include "iplotx.h"
00029 #include "ithermometerx.h"
00030
00031 #include "valform.h"
00034
00035
00036 #ifndef __AFXEXT_H__
00037 #include <afxext.h>
00038 #endif
00039
00040 class CViewZeitGraph : public CValidForm
00041 {
00042 public:
00043 CViewZeitGraph();
00044 DECLARE_DYNCREATE(CViewZeitGraph)
00045
00046
00047 public:
00048
00049 enum { IDD = IDD_ZEITGRAPH_FORM };
00050 CButton m_UeberUnterResetButton;
00051 CiPlotX m_Plot;
00052 CiThermometerX m_Temperature;
00053 CiThermometerX m_UB;
00054 CiLedRoundX m_TempUeberLed;
00055 CiLedRoundX m_TempUnterLed;
00056 CiLedRoundX m_VoltUeberLed;
00057 CiLedRoundX m_VoltUnterLed;
00058 CiLedRectangleX m_ShowUbCtrl;
00059 CiLedRectangleX m_ShowSchaltCtrl;
00060 CiLedRectangleX m_ShowGreiferCtrl;
00061 CString m_TempAnz;
00062 CString m_VoltAnz;
00063
00064
00065
00066 public:
00067
00068
00069 public:
00070 private:
00071 int m_nTimer;
00072 bool m_bIsInitialized;
00073 int m_iIndAktSenVal;
00074 double m_dCurPosX;
00075 CBrush m_GreiferBrush;
00076
00077
00078
00079
00080 public:
00081 virtual void OnInitialUpdate();
00082 virtual void OnFinalRelease();
00083 protected:
00084 virtual void DoDataExchange(CDataExchange* pDX);
00085 virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
00086
00087
00088
00089 protected:
00090 virtual ~CViewZeitGraph();
00091 #ifdef _DEBUG
00092 virtual void AssertValid() const;
00093 virtual void Dump(CDumpContext& dc) const;
00094 #endif
00095
00096
00097
00098 afx_msg void OnUeberUnterReset();
00099 afx_msg void OnOnClickUb();
00100 afx_msg void OnOnClickGreifer();
00101 afx_msg void OnOnClickSchalt();
00102 DECLARE_EVENTSINK_MAP()
00103
00104 DECLARE_MESSAGE_MAP()
00105 };