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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: MainDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of MainDlg.h
//----------------------------------------------------------------------------
// MainDlg.h : header file
//
#if !defined(AFX_MAINDLG_H__548CA4B0_98FF_4D3D_B273_D5EC7E534C22__INCLUDED_)
#define AFX_MAINDLG_H__548CA4B0_98FF_4D3D_B273_D5EC7E534C22__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "..\LgLib\Remote\LgRemoteClientTcpIpSlave.h"
#include "..\LgLib\LgAlarm.h"
#include "DeviceClient.h"
#include "LgButton.h"
#include "TabControlDlg.h"
#include "TabReportDlg.h"
#include "ProgramSkin.h" // Added by ClassView
class CMainDlg : public CDialog{// Construction
public: CMainDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMainDlg)
enum { IDD = IDD_MULTIIPICLIENT_DIALOG }; CStatic m_StaticStatusVoltage; CButton m_ButtonOk; CStatic m_StaticStatusTransfer; CStatic m_StaticStatusLgs; CStatic m_StaticStatusClient; //}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainDlg)
public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected: HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMainDlg)
virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnSize(UINT nType, int cx, int cy); //}}AFX_MSG
afx_msg LRESULT OnLgVideoClientEvent( WPARAM, LPARAM ); afx_msg LRESULT OnLgCameraPositionChanged( WPARAM, LPARAM ); DECLARE_MESSAGE_MAP()
public: CDeviceClient *GetDeviceClient() { return &m_DeviceClient; }// CLgAlarm *GetAlarm() { return &m_Alarm; }
public: void ShowReport( BOOL bReport ); void DoAlarm(); void AlarmMute( BOOL bMute ); void AlarmReset(); void AlarmStop();
private: void UpdateControlPosition(); CLgRemoteClientTcpIpMultiIPIClient m_VideoClient; CDeviceClient m_DeviceClient; CTabControlDlg m_TabControlDlg; CTabReportDlg m_TabReportDlg; CLgAlarm m_Alarm; BOOL m_bFirstAlarm;
BOOL m_bConnected; BOOL m_bLgsConnected; INT m_nConnect; BOOL m_bLgsVoltageOk;
private: CProgramSkin m_Skin; BOOL m_bControlsInitiated;};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINDLG_H__548CA4B0_98FF_4D3D_B273_D5EC7E534C22__INCLUDED_)
|