www.gusucode.com > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口, > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口,有线MODEM一个。其它配置没有严格的要求,一般配置即可。/铁路列车车辆监控系统/电子地图显示模块(江军)/EagleViewNew/InfoWnd.cpp

    // InfoWnd.cpp : implementation file
//

#include "stdafx.h"
#include "EagleView.h"
#include "InfoWnd.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CInfoWnd

IMPLEMENT_DYNCREATE(CInfoWnd, CFormView)

CInfoWnd::CInfoWnd()
	: CFormView(CInfoWnd::IDD)
{
	//{{AFX_DATA_INIT(CInfoWnd)
	m_TrianNum = _T("");
	m_PointStart = _T("");
	m_RoutStart = _T("");
	m_RoutEnd = _T("");
	//}}AFX_DATA_INIT
}

CInfoWnd::~CInfoWnd()
{
}

void CInfoWnd::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInfoWnd)
	DDX_Text(pDX, IDC_TRIANNUM, m_TrianNum);
	DDX_Text(pDX, IDC_POINT_START, m_PointStart);
	DDX_Text(pDX, IDC_POINT_ROUT_START, m_RoutStart);
	DDX_Text(pDX, IDC_POINT_ROUT_END, m_RoutEnd);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInfoWnd, CFormView)
	//{{AFX_MSG_MAP(CInfoWnd)
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInfoWnd diagnostics

#ifdef _DEBUG
void CInfoWnd::AssertValid() const
{
	CFormView::AssertValid();
}

void CInfoWnd::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CInfoWnd message handlers

void CInfoWnd::OnSize(UINT nType, int cx, int cy) 
{
	CFormView::OnSize(nType, cx, cy);
	
	// TODO: Add your message handler code here
	
}