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.
 
 
 
 
 

70 lines
2.1 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 13/04/2001
// PROJECT:
// SUBSYSTEM:
// FILE: EnableDTRDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of EnableDTRDlg.h
//----------------------------------------------------------------------------
#if !defined(AFX_ENABLEDTRDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_)
#define AFX_ENABLEDTRDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EnableDTRDlg.h : header file
//
#include "SensorArray.h"
/////////////////////////////////////////////////////////////////////////////
// CEnableDTRDlg dialog
class CEnableDTRDlg : public CDialog
{
// Construction
public:
CEnableDTRDlg(CWnd* pParent = NULL); // standard constructor
void SetParam( CSensorArray *pSensorArray, int nZone, int nSensor, int nBit );
// Dialog Data
//{{AFX_DATA(CEnableDTRDlg)
enum { IDD = IDD_ENABLE_DTR_DLG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEnableDTRDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEnableDTRDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeEnableDtrComboZone();
afx_msg void OnSelchangeEnableDtrComboSensor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void SetZone(CSensorArray *pSensorArray, int nZone );
void SetSensor(CSensorArray *pSensorArray, int nSensor );
void SetBit(CSensorArray *pSensorArray, int nSensor, int nBit );
CSensorArray *m_pSensorArray;
int m_nZone;
int m_nSensor;
int m_nBit;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ENABLEDTRDLG_H__058341C1_8989_11D4_A1F0_0010B55CB330__INCLUDED_)