405 lines
10 KiB
C++
405 lines
10 KiB
C++
#if !defined(AFX_PIPESETTINGDLG_H__4EA8F78A_DA9C_4118_8A6A_872BACF24EF6__INCLUDED_)
|
|
#define AFX_PIPESETTINGDLG_H__4EA8F78A_DA9C_4118_8A6A_872BACF24EF6__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PipeSettingDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPipeSettingDlg dialog
|
|
#include "Resource.h"
|
|
#include <MySpin.h>
|
|
|
|
class CPipeSettingDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPipeSettingDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPipeSettingDlg)
|
|
enum { IDD = IDD_PIPE_SETTING };
|
|
CComboBox m_comboLineTypeFire3;
|
|
CComboBox m_comboLineTypeFire2;
|
|
CComboBox m_comboLineTypeHeatBack3;
|
|
CComboBox m_comboLineTypeHeatBack2;
|
|
CComboBox m_comboLineTypeHeatFeed3;
|
|
CComboBox m_comboLineTypeHeatFeed2;
|
|
CComboBox m_comboMatHeatFeed3;
|
|
CComboBox m_comboMatHeatFeed2;
|
|
CComboBox m_comboMatHeatBack3;
|
|
CComboBox m_comboMatHeatBack2;
|
|
CComboBox m_comboMatFire3;
|
|
CComboBox m_comboMatFire2;
|
|
CMySpin m_spinWidthHeatFeed3;
|
|
CMySpin m_spinWidthHeatFeed2;
|
|
CMySpin m_spinWidthHeatBack3;
|
|
CMySpin m_spinWidthHeatBack2;
|
|
CMySpin m_spinWidthFire3;
|
|
CMySpin m_spinWidthFire2;
|
|
CComboBox m_comboLineType17;
|
|
CComboBox m_comboLineType16;
|
|
CMySpin m_spinWidth17;
|
|
CMySpin m_spinWidth16;
|
|
CComboBox m_comboMat17;
|
|
CComboBox m_comboMat16;
|
|
CComboBox m_comboLineTypeFeed3;
|
|
CComboBox m_comboLineTypeFeed2;
|
|
CComboBox m_comboMatFeed3;
|
|
CComboBox m_comboMatFeed2;
|
|
CMySpin m_spinWidthFeed3;
|
|
CMySpin m_spinWidthFeed2;
|
|
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_comboLineType14;
|
|
CComboBox m_comboLineType13;
|
|
CComboBox m_comboLineType12;
|
|
CComboBox m_comboLineType11;
|
|
CComboBox m_comboLineType10;
|
|
CComboBox m_comboLineType1;
|
|
CComboBox m_comboMat15;
|
|
CComboBox m_comboMat14;
|
|
CComboBox m_comboMat13;
|
|
CComboBox m_comboMat12;
|
|
CComboBox m_comboMat11;
|
|
CMySpin m_spinWidth15;
|
|
CMySpin m_spinWidth14;
|
|
CMySpin m_spinWidth13;
|
|
CMySpin m_spinWidth12;
|
|
CMySpin m_spinWidth11;
|
|
CComboBox m_comboMat10;
|
|
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_spinWidth10;
|
|
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;
|
|
CString m_csDim10;
|
|
int m_iLineType10;
|
|
int m_iMaterial10;
|
|
double m_nWidth10;
|
|
BOOL m_bModify;
|
|
int m_iMaterial11;
|
|
int m_iMaterial12;
|
|
int m_iMaterial13;
|
|
int m_iMaterial14;
|
|
int m_iMaterial15;
|
|
CString m_csDim11;
|
|
CString m_csDim12;
|
|
CString m_csDim13;
|
|
CString m_csDim14;
|
|
CString m_csDim15;
|
|
int m_iLineType11;
|
|
int m_iLineType12;
|
|
int m_iLineType13;
|
|
int m_iLineType14;
|
|
int m_iLineType15;
|
|
double m_nWidth11;
|
|
double m_nWidth12;
|
|
double m_nWidth13;
|
|
double m_nWidth14;
|
|
double m_nWidth15;
|
|
double m_nRadius1;
|
|
double m_nRadius10;
|
|
double m_nRadius11;
|
|
double m_nRadius12;
|
|
double m_nRadius13;
|
|
double m_nRadius14;
|
|
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;
|
|
CString m_csPipeName1;
|
|
CString m_csPipeName2;
|
|
CString m_csPipeName3;
|
|
CString m_csPipeName4;
|
|
CString m_csPipeName5;
|
|
BOOL m_bLineTypeByLayer;
|
|
CString m_csDimFeed2;
|
|
CString m_csDimFeed3;
|
|
double m_dWidthFeed2;
|
|
double m_dWidthFeed3;
|
|
int m_iMaterialFeed2;
|
|
int m_iMaterialFeed3;
|
|
int m_iLineTypeFeed2;
|
|
int m_iLineTypeFeed3;
|
|
double m_dRadiusFeed2;
|
|
double m_dRadiusFeed3;
|
|
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;
|
|
CString m_csDimFire2;
|
|
CString m_csDimFire3;
|
|
CString m_csDimHeatBack2;
|
|
CString m_csDimHeatBack3;
|
|
CString m_csDimHeatFeed2;
|
|
CString m_csDimHeatFeed3;
|
|
double m_nRadiusFire2;
|
|
double m_nRadiusFire3;
|
|
double m_nRadiusHeatBack2;
|
|
double m_nRadiusHeatBack3;
|
|
double m_nRadiusHeatFeed2;
|
|
double m_nRadiusHeatFeed3;
|
|
double m_dWidthHeatBack2;
|
|
double m_dWidthHeatBack3;
|
|
double m_dWidthHeatFeed2;
|
|
double m_dWidthHeatFeed3;
|
|
double m_dWidthFire2;
|
|
double m_dWidthFire3;
|
|
int m_iMaterialHeatFeed2;
|
|
int m_iMaterialHeatFeed3;
|
|
int m_iMaterialHeatBack2;
|
|
int m_iMaterialHeatBack3;
|
|
int m_iMaterialFire2;
|
|
int m_iMaterialFire3;
|
|
int m_iLineTypeHeatFeed2;
|
|
int m_iLineTypeHeatFeed3;
|
|
int m_iLineTypeHeatBack2;
|
|
int m_iLineTypeHeatBack3;
|
|
int m_iLineTypeFire2;
|
|
int m_iLineTypeFire3;
|
|
//}}AFX_DATA
|
|
|
|
int m_iMode;
|
|
|
|
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_iColor10;
|
|
int m_iColor11;
|
|
int m_iColor12;
|
|
int m_iColor13;
|
|
int m_iColor14;
|
|
int m_iColor15;
|
|
int m_iColor16;
|
|
int m_iColor17;
|
|
int m_iColorFeed2;
|
|
int m_iColorFeed3;
|
|
int m_iColorHeatFeed2;
|
|
int m_iColorHeatFeed3;
|
|
int m_iColorHeatBack2;
|
|
int m_iColorHeatBack3;
|
|
int m_iColorFire2;
|
|
int m_iColorFire3;
|
|
|
|
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_iVColor10;
|
|
int m_iVColor11;
|
|
int m_iVColor12;
|
|
int m_iVColor13;
|
|
int m_iVColor14;
|
|
int m_iVColor15;
|
|
int m_iVColor16;
|
|
int m_iVColor17;
|
|
int m_iVColorFeed2;
|
|
int m_iVColorFeed3;
|
|
int m_iVColorHeatFeed2;
|
|
int m_iVColorHeatFeed3;
|
|
int m_iVColorHeatBack2;
|
|
int m_iVColorHeatBack3;
|
|
int m_iVColorFire2;
|
|
int m_iVColorFire3;
|
|
|
|
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_csLineType10;
|
|
CString m_csLineType11;
|
|
CString m_csLineType12;
|
|
CString m_csLineType13;
|
|
CString m_csLineType14;
|
|
CString m_csLineType15;
|
|
CString m_csLineType16;
|
|
CString m_csLineType17;
|
|
CString m_csLineTypeFeed2;
|
|
CString m_csLineTypeFeed3;
|
|
CString m_csLineTypeHeatFeed2;
|
|
CString m_csLineTypeHeatFeed3;
|
|
CString m_csLineTypeHeatBack2;
|
|
CString m_csLineTypeHeatBack3;
|
|
CString m_csLineTypeFire2;
|
|
CString m_csLineTypeFire3;
|
|
|
|
XStringList m_lstLineTypeName, m_lstLineTypeComment;
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void ResetLineCombox();
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPipeSettingDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
BOOL bIsMore;
|
|
void DrawStatic();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPipeSettingDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
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();
|
|
virtual void OnOK();
|
|
afx_msg void OnStaticColor10();
|
|
afx_msg void OnStaticColor11();
|
|
afx_msg void OnStaticColor12();
|
|
afx_msg void OnStaticColor13();
|
|
afx_msg void OnStaticColor14();
|
|
afx_msg void OnStaticColor15();
|
|
afx_msg void OnButtonNew();
|
|
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 OnStaticColor40();
|
|
afx_msg void OnStaticColor41();
|
|
afx_msg void OnStaticColor42();
|
|
afx_msg void OnStaticColor43();
|
|
afx_msg void OnStaticColor44();
|
|
afx_msg void OnStaticColor45();
|
|
afx_msg void OnStaticColorFeed2();
|
|
afx_msg void OnStaticColorFeed3();
|
|
afx_msg void OnStaticColorVfeed2();
|
|
afx_msg void OnStaticColorVfeed3();
|
|
afx_msg void OnStaticColor16();
|
|
afx_msg void OnStaticColor17();
|
|
afx_msg void OnStaticColor46();
|
|
afx_msg void OnStaticColor47();
|
|
afx_msg void OnButtonMore();
|
|
afx_msg void OnStaticColorHeadfeed2();
|
|
afx_msg void OnStaticColorHeadfeed3();
|
|
afx_msg void OnStaticColorHeadback2();
|
|
afx_msg void OnStaticColorHeadback3();
|
|
afx_msg void OnStaticColorFire2();
|
|
afx_msg void OnStaticColorFire3();
|
|
afx_msg void OnStaticColorVheadfeed2();
|
|
afx_msg void OnStaticColorVheadfeed3();
|
|
afx_msg void OnStaticColorVheadback2();
|
|
afx_msg void OnStaticColorVheadback3();
|
|
afx_msg void OnStaticColorVfire2();
|
|
afx_msg void OnStaticColorVfire3();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PIPESETTINGDLG_H__4EA8F78A_DA9C_4118_8A6A_872BACF24EF6__INCLUDED_)
|