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.

84 lines
2.4 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: SettingsDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SettingsDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_)
  15. #define AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // SettingsDlg.h : header file
  20. //
  21. #include "..\DLIB\SensorArray.h"
  22. class CSettingsDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26. int DoModal( CSensorArray *pSensorArray );
  27. CSettingsDlg(CWnd* pParent = NULL); // standard constructor
  28. // Dialog Data
  29. //{{AFX_DATA(CSettingsDlg)
  30. enum { IDD = IDD_SETTINGS_DLG };
  31. CEdit m_EditAutoResetLGS;
  32. CButton m_CheckAutoResetLGS;
  33. CSpinButtonCtrl m_SpinReportDays;
  34. CSpinButtonCtrl m_SpinCaptureZoom;
  35. CSpinButtonCtrl m_SpinAutoResetLGS;
  36. CComboBox m_ComboAlarmComPort;
  37. CButton m_CheckAlarmRTSNC;
  38. CButton m_CheckAlarmRTS;
  39. CButton m_CheckAlarmEnable;
  40. CButton m_CheckAlarmDTRNC;
  41. CButton m_CheckAlarmDTR;
  42. //}}AFX_DATA
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(CSettingsDlg)
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. protected:
  51. // Generated message map functions
  52. //{{AFX_MSG(CSettingsDlg)
  53. virtual BOOL OnInitDialog();
  54. virtual void OnOK();
  55. afx_msg void OnButtonColorVideo();
  56. afx_msg void OnButtonFontReport();
  57. afx_msg void OnButtonFontVideo();
  58. afx_msg void OnCheckAlarmEnable();
  59. afx_msg void OnCheckAlarmRTS();
  60. afx_msg void OnCheckAlarmDTR();
  61. afx_msg void OnCheckAlarmDTRNC();
  62. afx_msg void OnCheckAlarmRTSNC();
  63. afx_msg void OnCheckAutoResetEnable();
  64. //}}AFX_MSG
  65. DECLARE_MESSAGE_MAP()
  66. private:
  67. CSensorArray::SETTINGS m_Settings;
  68. CSensorArray *m_pSensorArray;
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_)