资源简介
电力行业规约645通信的VC++实现源码
代码片段和文件信息
// DlgChangeBaud.cpp : implementation file
//
#include “stdafx.h“
#include “ElemeterCom.h“
#include “DlgChangeBaud.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgChangeBaud dialog
CDlgChangeBaud::CDlgChangeBaud(CWnd* pParent /*=NULL*/)
: CDialog(CDlgChangeBaud::IDD pParent)
{
//{{AFX_DATA_INIT(CDlgChangeBaud)
m_bOuto = FALSE;
m_nBaud = 0;
//}}AFX_DATA_INIT
}
void CDlgChangeBaud::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgChangeBaud)
DDX_Check(pDX IDC_CHECK1 m_bOuto);
DDX_Radio(pDX IDC_RADIO1 m_nBaud);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgChangeBaud CDialog)
//{{AFX_MSG_MAP(CDlgChangeBaud)
ON_BN_CLICKED(IDC_RADIO2 OnRadio2)
ON_BN_CLICKED(IDC_RADIO3 OnRadio3)
ON_BN_CLICKED(IDC_RADIO4 OnRadio4)
ON_BN_CLICKED(IDC_RADIO5 OnRadio5)
ON_BN_CLICKED(IDC_RADIO6 OnRadio6)
ON_BN_CLICKED(IDC_RADIO7 OnRadio7)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgChangeBaud message handlers
void CDlgChangeBaud::OnRadio2()
{
// TODO: Add your control notification handler code here
m_nBaud = 1;
}
void CDlgChangeBaud::OnRadio3()
{
// TODO: Add your control notification handler code here
m_nBaud = 2;
}
void CDlgChangeBaud::OnRadio4()
{
// TODO: Add your control notification handler code here
m_nBaud = 3;
}
void CDlgChangeBaud::OnRadio5()
{
// TODO: Add your control notification handler code here
m_nBaud = 4;
}
void CDlgChangeBaud::OnRadio6()
{
// TODO: Add your control notification handler code here
m_nBaud = 5;
}
void CDlgChangeBaud::OnRadio7()
{
// TODO: Add your control notification handler code here
m_nBaud = 6;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 23856 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgChangeBaud.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgChangeBaud.sbr
I.A.... 25604 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgChangePassWord.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgChangePassWord.sbr
I.A.... 36466 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgCommSet.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgCommSet.sbr
I.A.... 20434 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgOption.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgOption.sbr
I.A.... 28886 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadFH.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadFH.sbr
I.A.... 49641 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadPQ.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadPQ.sbr
I.A.... 49535 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadSJ.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadSJ.sbr
I.A.... 49641 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadXL.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgReadXL.sbr
I.A.... 65811 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRwPara.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRwPara.sbr
I.A.... 63811 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRwPara1.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRwPara1.sbr
I.A.... 70755 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRWVariable.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgRWVariable.sbr
I.A.... 24472 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgStationSet.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgStationSet.sbr
I.A.... 24852 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgTimingKey.obj
I.A.... 0 2010-11-11 21:43 4.22\ElemeterCom\Debug\DlgTimingKey.sbr
I.A.... 3073024 2010-11-11 21:43 4.22\ElemeterCom\Debug\ElemeterCom.bsc
I.A.... 430168 2010-11-11 21:43 4.22\ElemeterCom\Debug\ElemeterCom.exe
I.A.... 736832 2010-11-11 21:43 4.22\ElemeterCom\Debug\ElemeterCom.ilk
I.A.... 46893 2010-11-11 21:43 4.22\ElemeterCom\Debug\ElemeterCom.obj
............此处省略96个文件信息
- 上一篇:网络编程-----抓包程序C语言版
- 下一篇:免杀的捆绑器vc源码
评论
共有 条评论