60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
#pragma once
|
|
#include "resource.h"
|
|
#include "uiiado.h"
|
|
#include "afxwin.h"
|
|
#include "GsPreviewCtrlEx.h"
|
|
#include "PipeCableData.h"
|
|
|
|
class CFZGWDlg : public CDialog
|
|
{
|
|
DECLARE_DYNAMIC(CFZGWDlg)
|
|
|
|
public:
|
|
CFZGWDlg(CWnd* pParent = NULL);
|
|
virtual ~CFZGWDlg();
|
|
|
|
enum { IDD = IDD_FZGW_DLG };
|
|
|
|
CString GetScript(CString& sScript,int nRoomIndex,CString& sOffsets);
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedOk2();
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
|
afx_msg void OnStnClickedStaticColor();
|
|
afx_msg void OnBnClickedRadio1();
|
|
afx_msg void OnBnClickedRadio4();
|
|
afx_msg void OnBnClickedButtonSel();
|
|
afx_msg void OnBnClickedButton1();
|
|
afx_msg void OnBnClickedButton4();
|
|
afx_msg void OnBnClickedButton6();
|
|
afx_msg void OnBnClickedButton8();
|
|
afx_msg void OnBnClickedButton9();
|
|
afx_msg void OnBnClickedButton10();
|
|
//////////////////////////////////////////////////////////////////////////
|
|
void InitPipeList();
|
|
void InitPipeRule();
|
|
void InitPipeMaterial();
|
|
void InitPipeSystem();
|
|
/////////////////////////////////////////////////////////////////////////
|
|
public:
|
|
CListCtrl m_wndPipeList;
|
|
CListBox m_wndListBoxMaters;
|
|
CListBox m_wndSysListBox;
|
|
CAcUiLineTypeComboBox m_wndLineTypeBox;
|
|
CEdit m_wndRowEdit;
|
|
CEdit m_wndhEdit;
|
|
CGsPreviewCtrlEx m_wndGs;
|
|
CUIISQLiteServer m_dbSQLite;
|
|
AcDbObjectId m_linetypeID;
|
|
|
|
public:
|
|
PIPECABLE::BOSS m_data;
|
|
bool m_bRemove;
|
|
};
|