//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: PropCameraPTZDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of PropCameraPTZDlg.h //---------------------------------------------------------------------------- #if !defined(AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_) #define AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "..\DLIB\ObjectFactory.h" #include "HexEdit.h" #include "afxwin.h" #include "afxcmn.h" using namespace OFNS; class CPropCameraPTZDlg : public CDialog { // Construction public: int DoModal( COFDevice *pDevice ); CPropCameraPTZDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CPropCameraPTZDlg) enum { IDD = IDD_CAMERA_PTZ_DLG }; CSpinButtonCtrl m_SpinDoplerTimeout; CSpinButtonCtrl m_SpinDoplerAngle; CEdit m_EditDoplerTimeout; CEdit m_EditDoplerAngle; CEdit m_edPTZAddress; CSpinButtonCtrl m_spPTZAddress; CEdit m_EditZoom; CEdit m_EditFocus; CComboBox m_cbSubType; CHexEdit m_heMigvanHid5; CHexEdit m_heMigvanHid4; CHexEdit m_heMigvanHid3; CHexEdit m_heMigvanHid2; CHexEdit m_heMigvanHid1; CButton m_bnMigvanAuto; CString m_Name; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPropCameraPTZDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CPropCameraPTZDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnCheckMigvanAuto(); afx_msg void OnSelchangeComboCameraPtzSubType(); afx_msg void OnLvnItemchangedListZoomFocus(NMHDR *pNMHDR, LRESULT *pResult); afx_msg void OnEnChangeEditZoomFocus(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: COFDeviceCameraPTZ *m_pDevice; COFDeviceCameraPTZ::CAMERA_DATA m_CameraData; public: // List box that reperesent zoom&focus data for the specified range CListCtrl m_ListZoomFocus; // hold zoom for current range CSpinButtonCtrl m_SpinZoom; // holds focus for current range CSpinButtonCtrl m_SpinFocus; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PROPCAMERAPTZDLG_H__29BB025F_972C_4DC4_B89F_CF424A35DB3E__INCLUDED_)