You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
C++
59 lines
1.2 KiB
C++
|
|
// FaultRoseDiagramDlg.h : 头文件
|
|
//
|
|
|
|
#pragma once
|
|
#include "../FaultRoseLib/FaultRosesCreator.h"
|
|
#include "afxcolorbutton.h"
|
|
|
|
// CFaultRoseDiagramDlg 对话框
|
|
class CFaultRoseDiagramDlg : public CDialog
|
|
{
|
|
// 构造
|
|
public:
|
|
CFaultRoseDiagramDlg(CWnd* pParent = NULL); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_FAULTROSEDIAGRAM_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
protected:
|
|
void SetParas(CFaultRosesCreator* pFRC);
|
|
|
|
afx_msg void OnBnClickedButtonInput();
|
|
CString m_strInput;
|
|
int m_iColumn;
|
|
int m_iRotateAngle;
|
|
float m_fBarInterval;
|
|
int m_nBarMaxNumber;
|
|
BOOL m_bAutoCalc;
|
|
double m_dCX;
|
|
double m_dCY;
|
|
double m_dR;
|
|
CString m_strOutput;
|
|
afx_msg void OnBnClickedButtonOutput();
|
|
afx_msg void OnBnClickedCheckAutoCalc();
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedCancel();
|
|
public:
|
|
int m_iRowStart;
|
|
|
|
CMFCColorButton m_clrCtrl;
|
|
int m_ctickinterval;
|
|
};
|