a
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
#include "afxwin.h"
|
||||
#if !defined(AFX_DIALCREATENEW3DSPT_H__662959A7_2DF4_4A06_A366_E0174EB1FFE9__INCLUDED_)
|
||||
#define AFX_DIALCREATENEW3DSPT_H__662959A7_2DF4_4A06_A366_E0174EB1FFE9__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// DialCreateNew3DSpt.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialCreateNew3DSpt dialog
|
||||
|
||||
|
||||
class CFloatEdit;
|
||||
class CDialCreateNew3DSpt : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CDialCreateNew3DSpt(CScript3D* pNewScript, CLinkList<CMedium*>* pMedLinkList, INT_PTR* pRet, CWnd* pParent= NULL); // standard constructor
|
||||
BOOL Create(UINT nID, CWnd* pParentWnd);
|
||||
int GetSplitSptNumber(){return m_iSplitSptNum;}
|
||||
CString GetSptName(){return m_strSptName;}
|
||||
CString GetSptOperator(){return m_strSptOperator;}
|
||||
CString GetSptMark(){return m_strSptRemark;}
|
||||
CString GetRect(){return m_strRect;}
|
||||
CString GetPoleStart(){return m_strPoleStart;}
|
||||
CString GetPoleDistance(){return m_strPoleDistance;}
|
||||
CString GetPoleStep(){return m_strPoleStep;}
|
||||
int GetLineDirection()
|
||||
{
|
||||
return m_comCableDirection.GetCurSel();
|
||||
}
|
||||
CTime m_CreateDate;
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDialCreateNew3DSpt)
|
||||
enum { IDD = IDD_DIALOG_NEW_3D_SPT };
|
||||
CFloatEdit m_fEditMinAMSpace;
|
||||
CFloatEdit m_fEditABSpace;
|
||||
CDateTimeCtrl m_ctrlDateTime;
|
||||
CComboBox m_cmbSptRunMethod;
|
||||
CComboBox m_cmdSptArray;
|
||||
CString m_strSptName;
|
||||
CString m_strSptOperator;
|
||||
CString m_strSptRemark;
|
||||
CString m_strStacking;
|
||||
CString m_strGridXSize;
|
||||
CString m_strGridYSize;
|
||||
CFloatEdit m_fEditXPoleSpace;
|
||||
CFloatEdit m_fEditYPoleSpace;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDialCreateNew3DSpt)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDialCreateNew3DSpt)
|
||||
//afx_msg void OnPaint();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnSelchangeCombo3dSptMeasureMethod();
|
||||
afx_msg void OnSelchangeCombo3dSptArray();
|
||||
afx_msg void OnCbnSelchangeCombo3dSptCableDirection();
|
||||
virtual void OnOK();
|
||||
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
protected:
|
||||
bool CheckValueValid();
|
||||
bool GetMeasureZone(int iRunMethod,DWORD dwArray,int &iEnableZoneCnt,int &iDisableZoneCnt);
|
||||
protected:
|
||||
int m_iSptArray;
|
||||
int m_iSptRunMethod;
|
||||
CLinkList<CMedium*>* m_pMedLinkList;
|
||||
CHandleProcessor m_handleProcessor;
|
||||
CScript3D* m_pNewScript;
|
||||
UINT m_uiStepX;
|
||||
UINT m_uiStepY;
|
||||
int m_zone[8];
|
||||
int m_DisZone[8];
|
||||
int m_iSplitSptNum;
|
||||
CString m_strRect;
|
||||
CString m_strPoleStep;
|
||||
CString m_strPoleStart;
|
||||
CString m_strPoleDistance;
|
||||
UINT m_uiXGridSize;
|
||||
UINT m_uiYGridSize;
|
||||
int m_uiIterationNumber;
|
||||
float m_fXPoleDistance;
|
||||
float m_fYPoleDistance;
|
||||
float m_fABSpace;
|
||||
float m_fAPosX;
|
||||
float m_fAPosY;
|
||||
CComboBox m_comCableDirection;
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_DIALCREATENEW3DSPT_H__662959A7_2DF4_4A06_A366_E0174EB1FFE9__INCLUDED_)
|
||||
Reference in New Issue
Block a user