标题:
电力系统故障录波数据管理系统分析仪c++源码
[打印本页]
作者:
siyiren
时间:
2018-1-8 21:49
标题:
电力系统故障录波数据管理系统分析仪c++源码
故障记录分析仪源码。完美型!
0.jpg
(39.88 KB, 下载次数: 88)
下载附件
2018-1-9 00:36 上传
0.jpg
(21.92 KB, 下载次数: 78)
下载附件
2018-1-9 00:37 上传
c++源程序如下:
// DDCJ.cpp : implementation file
//
#include "stdafx.h"
#include "wgl_32.h"
#include "DDCJ.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDDCJ dialog
CDDCJ::CDDCJ(CWnd* pParent /*=NULL*/)
: CDialog(CDDCJ::IDD, pParent)
{
//{{AFX_DATA_INIT(CDDCJ)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDDCJ::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDDCJ)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDDCJ, CDialog)
//{{AFX_MSG_MAP(CDDCJ)
ON_WM_PAINT()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDDCJ message handlers
BOOL CDDCJ::OnInitDialog()
{
CDialog::OnInitDialog();
GetDlgItem(IDC_RESULT)->GetWindowRect(&m_ResultRect);
ScreenToClient(&m_ResultRect);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CDDCJ::OnPaint()
{
CPaintDC dc(this); // device context for painting
char temp[20];
dc.SetBkMode(TRANSPARENT);
if(fFaultJL == -1)
dc.TextOut(m_ResultRect.left+20, m_ResultRect.top+40, "故障距离未知!");
else
{
sprintf(temp, "故障距离=%-.2fKM", fFaultJL);
dc.TextOut(m_ResultRect.left+20, m_ResultRect.top+40, temp);
}
}
复制代码
所有资料51hei提供下载:
61549840WGL.rar
(8.36 MB, 下载次数: 97)
2018-1-8 21:48 上传
点击文件名下载附件
下载积分: 黑币 -5
作者:
li_9314
时间:
2018-3-16 17:10
好资料,51黑有你更精彩!!!
作者:
li_9314
时间:
2018-3-16 17:12
好资料,51黑有你更精彩!!!
作者:
isliulin@163
时间:
2018-6-25 16:51
故障录波查看分析软件!
作者:
rqpanny
时间:
2020-1-28 14:10
下载了。还不错
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1