Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: GuardDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of GuardDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_)
  15. #define AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_
  16. #include "..\DLIB\SensorArray.h" // Added by ClassView
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. // GuardDlg.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CGuardDlg dialog
  24. class CGuardDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28. CString& GetErrorString();
  29. void SetSensorArray( CSensorArray *pSensorArray );
  30. int DoModal( BOOL bOld );
  31. CGuardDlg(CWnd* pParent = NULL); // standard constructor
  32. // Dialog Data
  33. //{{AFX_DATA(CGuardDlg)
  34. enum { IDD = IDD_GUARD_DLG };
  35. CEdit m_GuardOld;
  36. CEdit m_GuardNew;
  37. CString m_strGuardNew;
  38. CString m_strGuardOld;
  39. //}}AFX_DATA
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CGuardDlg)
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(CGuardDlg)
  50. virtual BOOL OnInitDialog();
  51. afx_msg void OnTimer(UINT nIDEvent);
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. private:
  55. CString m_ErrorString;
  56. CString m_LastGuard;
  57. CSensorArray *m_pSensorArray;
  58. BOOL m_bOldGuard;
  59. DWORD m_dwStartTime;
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_)