204 lines
5.5 KiB
C++
204 lines
5.5 KiB
C++
#if !defined(AFX_PIPESETTINGCHILD3DLG_H__A693D60D_65C8_4DB7_9805_2DC0B4C25163__INCLUDED_)
|
|
#define AFX_PIPESETTINGCHILD3DLG_H__A693D60D_65C8_4DB7_9805_2DC0B4C25163__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "resource.h"
|
|
#include <MySpin.h>
|
|
class CPipeSettingChild3Dlg : public CDialog
|
|
{
|
|
public:
|
|
CPipeSettingChild3Dlg(CWnd* pParent = NULL);
|
|
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void ResetLineCombox();
|
|
//{{AFX_DATA(CPipeSettingChild3Dlg)
|
|
enum { IDD = IDD_PIPE_SET_CHILD3 };
|
|
CComboBox m_comboLineTypeUsed3;
|
|
CComboBox m_comboLineTypeUsed2;
|
|
CComboBox m_comboLineTypeSprink3;
|
|
CComboBox m_comboLineTypeSprink2;
|
|
CMySpin m_spinWidthUsed3;
|
|
CMySpin m_spinWidthUsed2;
|
|
CMySpin m_spinWidthSprink3;
|
|
CMySpin m_spinWidthSprink2;
|
|
CComboBox m_comboMatUsed3;
|
|
CComboBox m_comboMatUsed2;
|
|
CComboBox m_comboMatSprink3;
|
|
CComboBox m_comboMatSprink2;
|
|
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_comboLineTypeFeed3;
|
|
CComboBox m_comboLineTypeFeed2;
|
|
CComboBox m_comboMatFeed3;
|
|
CComboBox m_comboMatFeed2;
|
|
CMySpin m_spinWidthFeed3;
|
|
CMySpin m_spinWidthFeed2;
|
|
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_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;
|
|
double m_dWidthSprink2;
|
|
double m_dWidthSprink3;
|
|
double m_dWidthUsed2;
|
|
double m_dWidthUsed3;
|
|
int m_iMaterialSprink2;
|
|
int m_iMaterialSprink3;
|
|
int m_iMaterialUsed2;
|
|
int m_iMaterialUsed3;
|
|
double m_nRadiusSprink2;
|
|
double m_nRadiusSprink3;
|
|
double m_nRadiusUsed2;
|
|
double m_nRadiusUsed3;
|
|
CString m_csDimSprink2;
|
|
CString m_csDimSprink3;
|
|
CString m_csDimUsed2;
|
|
CString m_csDimUsed3;
|
|
int m_iLineTypeSprink2;
|
|
int m_iLineTypeSprink3;
|
|
int m_iLineTypeUsed2;
|
|
int m_iLineTypeUsed3;
|
|
//}}AFX_DATA
|
|
|
|
BOOL m_bLineTypeByLayer;
|
|
BOOL m_bModify;
|
|
int m_iMode;
|
|
//{{AFX_VIRTUAL(CPipeSettingChild3Dlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
|
|
//{{AFX_MSG(CPipeSettingChild3Dlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnStaticColorFeed2();
|
|
afx_msg void OnStaticColorFeed3();
|
|
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 OnStaticColorVfeed2();
|
|
afx_msg void OnStaticColorVfeed3();
|
|
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 void OnPaint();
|
|
afx_msg void OnStaticColorSprink2();
|
|
afx_msg void OnStaticColorSprink3();
|
|
afx_msg void OnStaticColorUsed2();
|
|
afx_msg void OnStaticColorUsed3();
|
|
afx_msg void OnStaticColorVsprink2();
|
|
afx_msg void OnStaticColorVsprink3();
|
|
afx_msg void OnStaticColorVused2();
|
|
afx_msg void OnStaticColorVused3();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
//绘制颜色
|
|
void DrawStatic();
|
|
private:
|
|
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_iColorSprink2;
|
|
int m_iColorSprink3;
|
|
int m_iColorUsed2;
|
|
int m_iColorUsed3;
|
|
|
|
int m_iVColorFeed2;
|
|
int m_iVColorFeed3;
|
|
int m_iVColorHeatFeed2;
|
|
int m_iVColorHeatFeed3;
|
|
int m_iVColorHeatBack2;
|
|
int m_iVColorHeatBack3;
|
|
int m_iVColorFire2;
|
|
int m_iVColorFire3;
|
|
int m_iVColorSprink2;
|
|
int m_iVColorSprink3;
|
|
int m_iVColorUsed2;
|
|
int m_iVColorUsed3;
|
|
|
|
CString m_csLineTypeFeed2;
|
|
CString m_csLineTypeFeed3;
|
|
CString m_csLineTypeHeatFeed2;
|
|
CString m_csLineTypeHeatFeed3;
|
|
CString m_csLineTypeHeatBack2;
|
|
CString m_csLineTypeHeatBack3;
|
|
CString m_csLineTypeFire2;
|
|
CString m_csLineTypeFire3;
|
|
CString m_csLineTypeSprink2;
|
|
CString m_csLineTypeSprink3;
|
|
CString m_csLineTypeUsed2;
|
|
CString m_csLineTypeUsed3;
|
|
|
|
XStringList m_lstLineTypeName, m_lstLineTypeComment;
|
|
};
|
|
|
|
#endif // !defined(AFX_PIPESETTINGCHILD3DLG_H__A693D60D_65C8_4DB7_9805_2DC0B4C25163__INCLUDED_)
|