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.

93 lines
2.7 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: PropCameraPTZDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropCameraPTZDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_)
  15. #define AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #include "..\DLIB\ObjectFactory.h"
  20. #include "HexEdit.h"
  21. #include "afxwin.h"
  22. #include "afxcmn.h"
  23. using namespace OFNS;
  24. class CPropCameraPTZDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28. int DoModal( COFDevice *pDevice );
  29. CPropCameraPTZDlg(CWnd* pParent = NULL); // standard constructor
  30. // Dialog Data
  31. //{{AFX_DATA(CPropCameraPTZDlg)
  32. enum { IDD = IDD_CAMERA_PTZ_DLG };
  33. CSpinButtonCtrl m_SpinDoplerTimeout;
  34. CSpinButtonCtrl m_SpinDoplerAngle;
  35. CEdit m_EditDoplerTimeout;
  36. CEdit m_EditDoplerAngle;
  37. CEdit m_edPTZAddress;
  38. CSpinButtonCtrl m_spPTZAddress;
  39. CEdit m_EditZoom;
  40. CEdit m_EditFocus;
  41. CComboBox m_cbSubType;
  42. CHexEdit m_heMigvanHid5;
  43. CHexEdit m_heMigvanHid4;
  44. CHexEdit m_heMigvanHid3;
  45. CHexEdit m_heMigvanHid2;
  46. CHexEdit m_heMigvanHid1;
  47. CButton m_bnMigvanAuto;
  48. CString m_Name;
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CPropCameraPTZDlg)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(CPropCameraPTZDlg)
  60. virtual BOOL OnInitDialog();
  61. virtual void OnOK();
  62. afx_msg void OnCheckMigvanAuto();
  63. afx_msg void OnSelchangeComboCameraPtzSubType();
  64. afx_msg void OnLvnItemchangedListZoomFocus(NMHDR *pNMHDR, LRESULT *pResult);
  65. afx_msg void OnEnChangeEditZoomFocus();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. private:
  69. COFDeviceCameraPTZ *m_pDevice;
  70. COFDeviceCameraPTZ::CAMERA_DATA m_CameraData;
  71. public:
  72. // List box that reperesent zoom&focus data for the specified range
  73. CListCtrl m_ListZoomFocus;
  74. // hold zoom for current range
  75. CSpinButtonCtrl m_SpinZoom;
  76. // holds focus for current range
  77. CSpinButtonCtrl m_SpinFocus;
  78. };
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  81. #endif // !defined(AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_)