190 lines
4.1 KiB
C++
190 lines
4.1 KiB
C++
#if !defined(AFX_PIPESETTINGCHILD1_H__4BD55ED6_A08F_4AFD_882F_A3E78971F501__INCLUDED_)
|
|
#define AFX_PIPESETTINGCHILD1_H__4BD55ED6_A08F_4AFD_882F_A3E78971F501__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "resource.h"
|
|
#include <MySpin.h>
|
|
class CPipeSettingChild1Dlg : public CDialog
|
|
{
|
|
|
|
public:
|
|
CPipeSettingChild1Dlg(CWnd* pParent = NULL);
|
|
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void ResetLineCombox();
|
|
//{{AFX_DATA(CPipeSettingChild1Dlg)
|
|
enum { IDD = IDD_PIPE_SET_CHILD1 };
|
|
CComboBox m_comboLineType9;
|
|
CComboBox m_comboLineType8;
|
|
CComboBox m_comboLineType7;
|
|
CComboBox m_comboLineType6;
|
|
CComboBox m_comboLineType5;
|
|
CComboBox m_comboLineType4;
|
|
CComboBox m_comboLineType3;
|
|
CComboBox m_comboLineType2;
|
|
CComboBox m_comboLineType15;
|
|
CComboBox m_comboLineType1;
|
|
CComboBox m_comboMat15;
|
|
CMySpin m_spinWidth15;
|
|
CComboBox m_comboMat9;
|
|
CComboBox m_comboMat8;
|
|
CComboBox m_comboMat7;
|
|
CComboBox m_comboMat6;
|
|
CComboBox m_comboMat5;
|
|
CComboBox m_comboMat4;
|
|
CComboBox m_comboMat3;
|
|
CComboBox m_comboMat2;
|
|
CComboBox m_comboMat1;
|
|
CMySpin m_spinWidth9;
|
|
CMySpin m_spinWidth8;
|
|
CMySpin m_spinWidth7;
|
|
CMySpin m_spinWidth6;
|
|
CMySpin m_spinWidth5;
|
|
CMySpin m_spinWidth4;
|
|
CMySpin m_spinWidth3;
|
|
CMySpin m_spinWidth2;
|
|
CMySpin m_spinWidth1;
|
|
int m_iMaterial1;
|
|
int m_iMaterial2;
|
|
int m_iMaterial3;
|
|
int m_iMaterial4;
|
|
int m_iMaterial5;
|
|
int m_iMaterial6;
|
|
int m_iMaterial7;
|
|
int m_iMaterial8;
|
|
int m_iMaterial9;
|
|
int m_iLineType1;
|
|
int m_iLineType2;
|
|
int m_iLineType3;
|
|
int m_iLineType4;
|
|
int m_iLineType5;
|
|
int m_iLineType6;
|
|
int m_iLineType7;
|
|
int m_iLineType8;
|
|
int m_iLineType9;
|
|
CString m_csDim1;
|
|
CString m_csDim2;
|
|
CString m_csDim3;
|
|
CString m_csDim4;
|
|
CString m_csDim5;
|
|
CString m_csDim6;
|
|
CString m_csDim7;
|
|
CString m_csDim8;
|
|
CString m_csDim9;
|
|
double m_nWidth1;
|
|
double m_nWidth2;
|
|
double m_nWidth3;
|
|
double m_nWidth4;
|
|
double m_nWidth5;
|
|
double m_nWidth6;
|
|
double m_nWidth7;
|
|
double m_nWidth8;
|
|
double m_nWidth9;
|
|
BOOL m_bTwo1;
|
|
BOOL m_bTwo2;
|
|
BOOL m_bTwo3;
|
|
BOOL m_bTwo4;
|
|
BOOL m_bTwo5;
|
|
BOOL m_bTwo6;
|
|
BOOL m_bTwo7;
|
|
BOOL m_bTwo8;
|
|
BOOL m_bTwo9;
|
|
int m_iMaterial15;
|
|
CString m_csDim15;
|
|
int m_iLineType15;
|
|
double m_nWidth15;
|
|
double m_nRadius1;
|
|
double m_nRadius15;
|
|
double m_nRadius2;
|
|
double m_nRadius3;
|
|
double m_nRadius4;
|
|
double m_nRadius5;
|
|
double m_nRadius6;
|
|
double m_nRadius7;
|
|
double m_nRadius8;
|
|
double m_nRadius9;
|
|
//}}AFX_DATA
|
|
|
|
|
|
BOOL m_bLineTypeByLayer;
|
|
BOOL m_bModify;
|
|
int m_iMode;
|
|
//{{AFX_VIRTUAL(CPipeSettingChild1Dlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
|
|
//{{AFX_MSG(CPipeSettingChild1Dlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnStaticColor1();
|
|
afx_msg void OnStaticColor2();
|
|
afx_msg void OnStaticColor3();
|
|
afx_msg void OnStaticColor4();
|
|
afx_msg void OnStaticColor5();
|
|
afx_msg void OnStaticColor6();
|
|
afx_msg void OnStaticColor7();
|
|
afx_msg void OnStaticColor8();
|
|
afx_msg void OnStaticColor9();
|
|
afx_msg void OnStaticColor15();
|
|
afx_msg void OnStaticColor31();
|
|
afx_msg void OnStaticColor32();
|
|
afx_msg void OnStaticColor33();
|
|
afx_msg void OnStaticColor34();
|
|
afx_msg void OnStaticColor35();
|
|
afx_msg void OnStaticColor36();
|
|
afx_msg void OnStaticColor37();
|
|
afx_msg void OnStaticColor38();
|
|
afx_msg void OnStaticColor39();
|
|
afx_msg void OnStaticColor45();
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
//绘制静态控件颜色
|
|
void DrawStatic();
|
|
private:
|
|
int m_iColor1;
|
|
int m_iColor2;
|
|
int m_iColor3;
|
|
int m_iColor4;
|
|
int m_iColor5;
|
|
int m_iColor6;
|
|
int m_iColor7;
|
|
int m_iColor8;
|
|
int m_iColor9;
|
|
int m_iColor15;
|
|
|
|
int m_iVColor1;
|
|
int m_iVColor2;
|
|
int m_iVColor3;
|
|
int m_iVColor4;
|
|
int m_iVColor5;
|
|
int m_iVColor6;
|
|
int m_iVColor7;
|
|
int m_iVColor8;
|
|
int m_iVColor9;
|
|
int m_iVColor15;
|
|
|
|
CString m_csLineType1;
|
|
CString m_csLineType2;
|
|
CString m_csLineType3;
|
|
CString m_csLineType4;
|
|
CString m_csLineType5;
|
|
CString m_csLineType6;
|
|
CString m_csLineType7;
|
|
CString m_csLineType8;
|
|
CString m_csLineType9;
|
|
CString m_csLineType15;
|
|
|
|
XStringList m_lstLineTypeName, m_lstLineTypeComment;
|
|
};
|
|
|
|
|
|
#endif // !defined(AFX_PIPESETTINGCHILD1_H__4BD55ED6_A08F_4AFD_882F_A3E78971F501__INCLUDED_)
|