56 lines
1.1 KiB
C++
56 lines
1.1 KiB
C++
#pragma once
|
|
#include "resource.h"
|
|
#include "afxcmn.h"
|
|
#include "afxwin.h"
|
|
#include "uiiado.h"
|
|
#include "GsPreviewCtrl.h"
|
|
#include "PipeCableData.h"
|
|
|
|
class CXSXLDlg : public CDialog
|
|
{
|
|
DECLARE_DYNAMIC(CXSXLDlg)
|
|
|
|
public:
|
|
CXSXLDlg(CWnd* pParent = NULL);
|
|
virtual ~CXSXLDlg();
|
|
|
|
void SetCrossSectionScr(LPCTSTR psz){ m_sCrossSectionScr = psz; }
|
|
int GetPathPoints(AcGePoint3dArray& arPts) const;
|
|
|
|
enum { IDD = IDD_XSXL_DLG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
virtual BOOL OnInitDialog();
|
|
void initList();
|
|
void refreshList();
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
CUIISQLiteServer m_dbSQLite;
|
|
|
|
public:
|
|
CListCtrl m_wndList;
|
|
CAcUiLineTypeComboBox m_wndLineTypeBox;
|
|
AcDbObjectId m_linetypeID;
|
|
|
|
PIPECABLE::SubCabling m_data;
|
|
|
|
public:
|
|
static void start();
|
|
|
|
public:
|
|
afx_msg void OnBnClickedButton1();
|
|
afx_msg void OnBnClickedButton4();
|
|
afx_msg void OnStnClickedStaticColor();
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedButton52();
|
|
|
|
bool m_bFree;
|
|
CString m_sCrossSectionScr;
|
|
AcGePoint3dArray m_arPtsPath;
|
|
CEdit m_ctrlCount;
|
|
CEdit m_ctrlSpace;
|
|
};
|