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
84 lines
2.4 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: SettingsDlg.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of SettingsDlg.h
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_)
|
|
#define AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SettingsDlg.h : header file
|
|
//
|
|
|
|
#include "..\DLIB\SensorArray.h"
|
|
|
|
class CSettingsDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
int DoModal( CSensorArray *pSensorArray );
|
|
CSettingsDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSettingsDlg)
|
|
enum { IDD = IDD_SETTINGS_DLG };
|
|
CEdit m_EditAutoResetLGS;
|
|
CButton m_CheckAutoResetLGS;
|
|
CSpinButtonCtrl m_SpinReportDays;
|
|
CSpinButtonCtrl m_SpinCaptureZoom;
|
|
CSpinButtonCtrl m_SpinAutoResetLGS;
|
|
CComboBox m_ComboAlarmComPort;
|
|
CButton m_CheckAlarmRTSNC;
|
|
CButton m_CheckAlarmRTS;
|
|
CButton m_CheckAlarmEnable;
|
|
CButton m_CheckAlarmDTRNC;
|
|
CButton m_CheckAlarmDTR;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSettingsDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSettingsDlg)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnButtonColorVideo();
|
|
afx_msg void OnButtonFontReport();
|
|
afx_msg void OnButtonFontVideo();
|
|
afx_msg void OnCheckAlarmEnable();
|
|
afx_msg void OnCheckAlarmRTS();
|
|
afx_msg void OnCheckAlarmDTR();
|
|
afx_msg void OnCheckAlarmDTRNC();
|
|
afx_msg void OnCheckAlarmRTSNC();
|
|
afx_msg void OnCheckAutoResetEnable();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
CSensorArray::SETTINGS m_Settings;
|
|
CSensorArray *m_pSensorArray;
|
|
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SETTINGSDLG_H__161B9330_363A_4B73_9B46_A98E4953ECDB__INCLUDED_)
|