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.
 
 
 
 
 

83 lines
2.4 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 13/04/2001
// PROJECT:
// SUBSYSTEM:
// FILE: SensorPropertyDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of SensorPropertyDlg.h
//----------------------------------------------------------------------------
#if !defined(AFX_SENSORPROPERTYDLG_H__DBC974E1_7447_11D4_A1F0_0010B55CB330__INCLUDED_)
#define AFX_SENSORPROPERTYDLG_H__DBC974E1_7447_11D4_A1F0_0010B55CB330__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SensorPropertyDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSensorPropertyDlg dialog
#include "Sensor.h"
class CSensorPropertyDlg : public CDialog
{
// Construction
public:
void UpdateSensor();
void SetSensor( CSensor *pSensor );
CSensorPropertyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSensorPropertyDlg)
enum { IDD = IDD_SENSOR_PROPERTY_DLG };
CStatic m_StaticImage;
CButton m_ButtonSensorEnable;
int m_iSensorAddress;
CString m_strSensorName;
CString m_strSensorState;
CString m_strSensorType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSensorPropertyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSensorPropertyDlg)
afx_msg void OnMoving(UINT fwSide, LPRECT pRect);
afx_msg void OnButtonSensorEnable();
afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
afx_msg void OnTimer(UINT nIDEvent);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_bInverse;
BOOL m_bUpdate;
CSensor * m_pSensor;
private:
virtual void OnOK() {}
virtual void OnCancel() {}
private:
CBitmap* m_pOverlayBitmapOld;
CBitmap m_OverlayBitmap;
CDC m_OverlayDC;
CDC m_OverlayDCBackground;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SENSORPROPERTYDLG_H__DBC974E1_7447_11D4_A1F0_0010B55CB330__INCLUDED_)