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.
98 lines
2.6 KiB
98 lines
2.6 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: PropLgsDlg.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of PropLgsDlg.h
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_)
|
|
#define AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PropLgsDlg.h : header file
|
|
//
|
|
|
|
#include "..\DLIB\ObjectFactory.h"
|
|
#include "..\DLIB\SingleIPI.h" // Added by ClassView
|
|
#include "afxcmn.h"
|
|
#include "afxwin.h"
|
|
|
|
using namespace OFNS;
|
|
|
|
class CPropLgsDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPropLgsDlg(CWnd* pParent = NULL); // standard constructor
|
|
int DoModal(COFDevice *pDevice);
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPropLgsDlg)
|
|
enum { IDD = IDD_LGS_DLG };
|
|
CSpinButtonCtrl m_AddressCCC;
|
|
CSpinButtonCtrl m_SpinAddress;
|
|
CSpinButtonCtrl m_SpinZero;
|
|
CButton m_ButtonSingleIPI;
|
|
CEdit m_Address;
|
|
CComboBox m_Type;
|
|
int m_nAddress;
|
|
CString m_Name;
|
|
CSpinButtonCtrl m_SpinImageCount;
|
|
//}}AFX_DATA
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPropLgsDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPropLgsDlg)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnSelchangeComboLgsType();
|
|
afx_msg void OnButtonIpiOperator();
|
|
afx_msg void OnButtonClearDraw();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
CSingleIPI m_SingleIPI;
|
|
COFDeviceLGS *m_pDevice;
|
|
BOOL m_bSingleIPI;
|
|
|
|
public:
|
|
CListCtrl m_ListRemote;
|
|
CListCtrl m_ListTilt;
|
|
CSpinButtonCtrl m_SpinTilt;
|
|
CEdit m_EditMaster;
|
|
CEdit m_EditSlave;
|
|
CEdit m_EditPanShift;
|
|
CSpinButtonCtrl m_SpinPanShift;
|
|
CEdit m_EditTilt;
|
|
CButton m_CheckRemote;
|
|
|
|
public:
|
|
afx_msg void OnBnClickedCheckRemote();
|
|
|
|
afx_msg void OnLvnItemchangedListRemote(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnEnChangeEditRemote();
|
|
|
|
afx_msg void OnLvnItemchangedListTilt(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnEnChangeEditTilt();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_)
|