238 lines
5.5 KiB
C++
238 lines
5.5 KiB
C++
#if !defined(AFX_PIPESETTINGCHILD2DLG_H__00686F26_6676_44A2_A841_D92C2EA717FA__INCLUDED_)
|
|
#define AFX_PIPESETTINGCHILD2DLG_H__00686F26_6676_44A2_A841_D92C2EA717FA__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "resource.h"
|
|
#include <MySpin.h>
|
|
class CPipeSettingChild2Dlg : public CDialog
|
|
{
|
|
public:
|
|
CPipeSettingChild2Dlg(CWnd* pParent = NULL);
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void ResetLineCombox();
|
|
//{{AFX_DATA(CPipeSettingChild2Dlg)
|
|
enum { IDD = IDD_PIPE_SET_CHILD2 };
|
|
CMySpin m_spinWidth23;
|
|
CMySpin m_spinWidth22;
|
|
CMySpin m_spinWidth21;
|
|
CMySpin m_spinWidth20;
|
|
CMySpin m_spinWidth19;
|
|
CMySpin m_spinWidth18;
|
|
CComboBox m_comboLineType23;
|
|
CComboBox m_comboLineType22;
|
|
CComboBox m_comboLineType21;
|
|
CComboBox m_comboLineType20;
|
|
CComboBox m_comboLineType19;
|
|
CComboBox m_comboLineType18;
|
|
CComboBox m_comboMat23;
|
|
CComboBox m_comboMat22;
|
|
CComboBox m_comboMat21;
|
|
CComboBox m_comboMat20;
|
|
CComboBox m_comboMat19;
|
|
CComboBox m_comboMat18;
|
|
CComboBox m_comboLineType17;
|
|
CComboBox m_comboLineType16;
|
|
CMySpin m_spinWidth17;
|
|
CMySpin m_spinWidth16;
|
|
CComboBox m_comboMat17;
|
|
CComboBox m_comboMat16;
|
|
CComboBox m_comboLineType14;
|
|
CComboBox m_comboLineType13;
|
|
CComboBox m_comboLineType12;
|
|
CComboBox m_comboLineType11;
|
|
CComboBox m_comboLineType10;
|
|
CComboBox m_comboMat14;
|
|
CComboBox m_comboMat13;
|
|
CComboBox m_comboMat12;
|
|
CComboBox m_comboMat11;
|
|
CMySpin m_spinWidth14;
|
|
CMySpin m_spinWidth13;
|
|
CMySpin m_spinWidth12;
|
|
CMySpin m_spinWidth11;
|
|
CComboBox m_comboMat10;
|
|
CMySpin m_spinWidth10;
|
|
CString m_csDim10;
|
|
int m_iLineType10;
|
|
int m_iMaterial10;
|
|
double m_nWidth10;
|
|
int m_iMaterial11;
|
|
int m_iMaterial12;
|
|
int m_iMaterial13;
|
|
int m_iMaterial14;
|
|
CString m_csDim11;
|
|
CString m_csDim12;
|
|
CString m_csDim13;
|
|
CString m_csDim14;
|
|
int m_iLineType11;
|
|
int m_iLineType12;
|
|
int m_iLineType13;
|
|
int m_iLineType14;
|
|
double m_nWidth11;
|
|
double m_nWidth12;
|
|
double m_nWidth13;
|
|
double m_nWidth14;
|
|
double m_nRadius10;
|
|
double m_nRadius11;
|
|
double m_nRadius12;
|
|
double m_nRadius13;
|
|
double m_nRadius14;
|
|
CString m_csPipeName1;
|
|
CString m_csPipeName2;
|
|
CString m_csPipeName3;
|
|
CString m_csPipeName4;
|
|
CString m_csPipeName5;
|
|
CString m_csPipeName6;
|
|
CString m_csPipeName7;
|
|
CString m_csDim16;
|
|
CString m_csDim17;
|
|
double m_nRadius16;
|
|
double m_nRadius17;
|
|
int m_iMaterial16;
|
|
int m_iMaterial17;
|
|
double m_nWidth16;
|
|
double m_nWidth17;
|
|
int m_iLineType16;
|
|
int m_iLineType17;
|
|
int m_iMaterial18;
|
|
int m_iMaterial19;
|
|
int m_iMaterial20;
|
|
int m_iMaterial21;
|
|
int m_iMaterial22;
|
|
int m_iMaterial23;
|
|
int m_iLineType18;
|
|
int m_iLineType19;
|
|
int m_iLineType20;
|
|
int m_iLineType21;
|
|
int m_iLineType22;
|
|
int m_iLineType23;
|
|
double m_nRadius18;
|
|
double m_nRadius19;
|
|
double m_nRadius20;
|
|
double m_nRadius21;
|
|
double m_nRadius22;
|
|
double m_nRadius23;
|
|
CString m_csDim18;
|
|
CString m_csDim19;
|
|
CString m_csDim20;
|
|
CString m_csDim21;
|
|
CString m_csDim22;
|
|
CString m_csDim23;
|
|
CString m_csPipeName10;
|
|
CString m_csPipeName11;
|
|
CString m_csPipeName13;
|
|
CString m_csPipeName12;
|
|
CString m_csPipeName8;
|
|
CString m_csPipeName9;
|
|
double m_nWidth18;
|
|
double m_nWidth19;
|
|
double m_nWidth20;
|
|
double m_nWidth22;
|
|
double m_nWidth21;
|
|
double m_nWidth23;
|
|
//}}AFX_DATA
|
|
|
|
|
|
BOOL m_bLineTypeByLayer;
|
|
BOOL m_bModify;
|
|
int m_iMode;
|
|
//{{AFX_VIRTUAL(CPipeSettingChild2Dlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
|
|
//{{AFX_MSG(CPipeSettingChild2Dlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnStaticColor10();
|
|
afx_msg void OnStaticColor11();
|
|
afx_msg void OnStaticColor12();
|
|
afx_msg void OnStaticColor13();
|
|
afx_msg void OnStaticColor14();
|
|
afx_msg void OnStaticColor16();
|
|
afx_msg void OnStaticColor17();
|
|
afx_msg void OnStaticColor40();
|
|
afx_msg void OnStaticColor41();
|
|
afx_msg void OnStaticColor42();
|
|
afx_msg void OnStaticColor43();
|
|
afx_msg void OnStaticColor44();
|
|
afx_msg void OnStaticColor46();
|
|
afx_msg void OnStaticColor47();
|
|
afx_msg void OnStaticColor48();
|
|
afx_msg void OnStaticColor49();
|
|
afx_msg void OnStaticColor50();
|
|
afx_msg void OnStaticColor51();
|
|
afx_msg void OnStaticColor52();
|
|
afx_msg void OnStaticColor53();
|
|
afx_msg void OnStaticColor18();
|
|
afx_msg void OnStaticColor19();
|
|
afx_msg void OnStaticColor20();
|
|
afx_msg void OnStaticColor21();
|
|
afx_msg void OnStaticColor22();
|
|
afx_msg void OnStaticColor23();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
//绘制控件颜色
|
|
void DrawStatic();
|
|
private:
|
|
//颜色数据
|
|
int m_iColor10;
|
|
int m_iColor11;
|
|
int m_iColor12;
|
|
int m_iColor13;
|
|
int m_iColor14;
|
|
|
|
int m_iVColor10;
|
|
int m_iVColor11;
|
|
int m_iVColor12;
|
|
int m_iVColor13;
|
|
int m_iVColor14;
|
|
|
|
int m_iColor16;
|
|
int m_iColor17;
|
|
int m_iVColor16;
|
|
int m_iVColor17;
|
|
|
|
// cet 2011.11.29 add
|
|
int m_iColor18;
|
|
int m_iColor19;
|
|
int m_iColor20;
|
|
int m_iColor21;
|
|
int m_iColor22;
|
|
int m_iColor23;
|
|
int m_iVColor18;
|
|
int m_iVColor19;
|
|
int m_iVColor20;
|
|
int m_iVColor21;
|
|
int m_iVColor22;
|
|
int m_iVColor23;
|
|
|
|
CString m_csLineType10;
|
|
CString m_csLineType11;
|
|
CString m_csLineType12;
|
|
CString m_csLineType13;
|
|
CString m_csLineType14;
|
|
CString m_csLineType16;
|
|
CString m_csLineType17;
|
|
// cet 2011.11.29 add
|
|
CString m_csLineType18;
|
|
CString m_csLineType19;
|
|
CString m_csLineType20;
|
|
CString m_csLineType21;
|
|
CString m_csLineType22;
|
|
CString m_csLineType23;
|
|
|
|
XStringList m_lstLineTypeName, m_lstLineTypeComment;
|
|
};
|
|
|
|
|
|
#endif // !defined(AFX_PIPESETTINGCHILD2DLG_H__00686F26_6676_44A2_A841_D92C2EA717FA__INCLUDED_)
|