117 lines
2.9 KiB
C++
117 lines
2.9 KiB
C++
#if !defined(AFX_TGTWTSETTINGDLG_H__D7FF28D8_05C8_468E_A87F_A243B92C57C8__INCLUDED_)
|
|
#define AFX_TGTWTSETTINGDLG_H__D7FF28D8_05C8_468E_A87F_A243B92C57C8__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// TgTwtSettingDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CTgTwtSettingDlg dialog
|
|
#include <myspin.h>
|
|
#include "Resource.h"
|
|
#include "adui.h"
|
|
#include "acui.h"
|
|
|
|
class CTgTwtSettingDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CTgTwtSettingDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CTgTwtSettingDlg)
|
|
enum { IDD = IDD_TG_TWT_SETTING };
|
|
CMySpin m_spinTextBreak;
|
|
CMySpin m_spinDnDimDist2Pipe;
|
|
CMySpin m_spinBreakPipeWidth;
|
|
CMySpin m_spinPtRadius;
|
|
CMySpin m_spinDist;
|
|
BOOL m_bToolbar;
|
|
double m_nDist2Wall;
|
|
BOOL m_bIsPipeThick;
|
|
double m_nSprinklerRadius;
|
|
double m_nBreakPipeWidth;
|
|
double m_nDnDimDist2Pipe;
|
|
double m_nDimCirRadius;
|
|
double m_nWellRadius;
|
|
int m_iDimType;
|
|
int m_iPipeDn;
|
|
int m_iFeedPoint;
|
|
double m_nDrainPtRadius;
|
|
int m_iStandPipeType;
|
|
BOOL m_bBlk3D;
|
|
double m_nPipeTextDist;
|
|
BOOL m_bSelPreview;
|
|
double m_nElbowRate;
|
|
double m_nValveScale;
|
|
int m_iUnit;
|
|
BOOL m_bShowFlowDir;
|
|
int m_iPrePiepLen;
|
|
int m_iPreWelldDeep;
|
|
BOOL m_bAutoScale;
|
|
int m_iVPipeDimStyle;
|
|
double m_dEleHeight;
|
|
BOOL m_bTgOsnap;
|
|
int m_nWndCmbModulus;
|
|
double m_nFeedCircleScale;
|
|
BOOL m_bT3TextBreak;
|
|
double m_dDbPipeLineWidth;
|
|
int m_nSinataryDataType;
|
|
BOOL m_bIsRelatePipeLineTypeToCurPScale;
|
|
double m_nDistDn2Label;
|
|
BOOL m_bIsElevDimChangeByPipeElev;
|
|
//}}AFX_DATA
|
|
|
|
int m_iOldStandPipeType;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CTgTwtSettingDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual void PostNcDestroy();
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void UpdateDlgData(BOOL bIsRead);
|
|
void OpenSlide();
|
|
void SetConfigIni();
|
|
// Generated message map functions
|
|
virtual void OnMainDialogOK();
|
|
//{{AFX_MSG(CTgTwtSettingDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonPipeSetting();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnRadioDim1();
|
|
afx_msg void OnRadioDim2();
|
|
afx_msg void OnRadioPoint();
|
|
afx_msg void OnRadioFork();
|
|
afx_msg void OnRadioStandpipe1();
|
|
afx_msg void OnRadioStandpipe2();
|
|
afx_msg void OnButtonTextSetting();
|
|
afx_msg void OnRadioDim3();
|
|
afx_msg void OnRadioDim4();
|
|
afx_msg void OnButtonOutdimset();
|
|
afx_msg void OnButtonDndim();
|
|
afx_msg void OnChkT3text();
|
|
afx_msg void OnRadioDim5();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
|
|
void EnableBtnDimDn(BOOL bEnable);
|
|
|
|
public:
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedCancle();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_TGTWTSETTINGDLG_H__D7FF28D8_05C8_468E_A87F_A243B92C57C8__INCLUDED_)
|