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.
 
 
 
 
 

80 lines
2.2 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 13/04/2001
// PROJECT:
// SUBSYSTEM:
// FILE: PropDCLinkDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of PropDCLinkDlg.h
//----------------------------------------------------------------------------
#if !defined(AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_)
#define AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropDCLinkDlg.h : header file
//
#include "ImageWnd.h" // Added by ClassView
#include "..\DLIB\ObjectFactory.h" // Added by ClassView
class CPropDCLinkDlg : public CDialog
{
// Construction
public:
int DoModal( COFDevice *pSensor, COFDevice *pDryContact );
CPropDCLinkDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPropDCLinkDlg)
enum { IDD = IDD_DC_LINK_DLG };
CListBox m_ListTemplate;
CListBox m_ListLink;
CListBox m_ListDevice;
CButton m_ButtonDelAll;
CButton m_ButtonDel;
CButton m_ButtonAddAll;
CButton m_ButtonAdd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPropDCLinkDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPropDCLinkDlg)
afx_msg void OnButtonAdd();
afx_msg void OnButtonAddall();
afx_msg void OnButtonDel();
afx_msg void OnButtonDelall();
afx_msg void OnSelchangeList();
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
COFDeviceDryContacts *m_pDryContact;
COFDevice *m_pDevice;
CImageWnd m_ImageWnd;
private:
void FillControls();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_)