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.
75 lines
2.3 KiB
75 lines
2.3 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: EnableDlg.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of EnableDlg.h
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_EnableDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_)
|
|
#define AFX_EnableDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// EnableDlg.h : header file
|
|
//
|
|
#include "..\DLIB\SensorArray.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEnableDlg dialog
|
|
|
|
class CEnableDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CEnableDlg(CWnd* pParent = NULL); // standard constructor
|
|
void SetParam( CSensorArray *pSensorArray );
|
|
void SetParam( CSensorArray *pSensorArray, CZone *pZone );
|
|
void SetParam( CSensorArray *pSensorArray, CSensor *pSensor );
|
|
void SetParam( CSensorArray *pSensorArray, CSensor *pSensor, int nBit );
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CEnableDlg)
|
|
enum { IDD = IDD_ENABLE_DLG };
|
|
// NOTE: the ClassWizard will add data members here
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CEnableDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CEnableDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSelchangeEnableComboZone();
|
|
afx_msg void OnSelchangeEnableComboSensor();
|
|
afx_msg void OnEnable();
|
|
afx_msg void OnDisable();
|
|
afx_msg void OnSelchangeEnableComboDtrbit();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
enum { COMMON, ZONE, SENSOR, DTRBIT };
|
|
CSensorArray *m_pSensorArray;
|
|
int m_nZone;
|
|
int m_nSensor;
|
|
int m_nBit;
|
|
int m_nMode;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_EnableDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_)
|