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.

76 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: PropDryContactDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropDryContactDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_DRYCONTACTDLG_H__CB23A442_D7B8_4102_B179_24C838A9399F__INCLUDED_)
  15. #define AFX_DRYCONTACTDLG_H__CB23A442_D7B8_4102_B179_24C838A9399F__INCLUDED_
  16. #include "ImageWnd.h" // Added by ClassView
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. // DryContactDlg.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CPropDCDlg dialog
  24. class CPropDCDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28. int DoModal( COFDevice *pDryContact );
  29. CPropDCDlg(CWnd* pParent = NULL); // standard constructor
  30. // Dialog Data
  31. //{{AFX_DATA(CPropDCDlg)
  32. enum { IDD = IDD_DC_DLG };
  33. CSpinButtonCtrl m_AddressCCC;
  34. CEdit m_EditName;
  35. CComboBox m_ComboTemplate;
  36. double m_Pan;
  37. double m_Tilt;
  38. double m_Zoom;
  39. CSpinButtonCtrl m_SpinImageCount;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(CPropDCDlg)
  44. public:
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CPropDCDlg)
  52. afx_msg void OnSelchangeComboTemplate();
  53. virtual void OnOK();
  54. virtual BOOL OnInitDialog();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. private:
  58. void FillControls();
  59. private:
  60. CImageWnd m_ImageWnd;
  61. COFDeviceDryContacts *m_pDryContact;
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_DRYCONTACTDLG_H__CB23A442_D7B8_4102_B179_24C838A9399F__INCLUDED_)