#pragma once #include "resource.h" #include "GsPreviewCtrl.h" struct SFPXStair; class CJDLTDlg : public CDialog { DECLARE_DYNAMIC(CJDLTDlg) public: CJDLTDlg(CWnd *pParent = NULL); virtual ~CJDLTDlg(); enum { IDD = IDD_JDLT_DLG }; bool GetSFPXStair(SFPXStair &data) const; void SetSFPXStair(const SFPXStair& data); protected: virtual void DoDataExchange(CDataExchange *pDX); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedOk(); afx_msg void OnEnChangeEdit1(); afx_msg void OnEnChangeEdit3(); afx_msg void OnEnChangeEdit6(); public: CString m_sH; int m_nSteepS; double m_dSteepH; double m_dSteepW; int m_nSSteeps; double m_dStairSW; double m_dStairMW; double m_dWell; BOOL m_bLBeam; BOOL m_bRBeam; int m_nUpSide; int m_nFloorShow; BOOL m_bDimUpstair; double m_dBarH; double m_dBarSw; double m_dBarSh; double m_dBarSide; CString m_sGarMat; BOOL m_bOutSideHRail; BOOL m_bOutSideRail; BOOL m_bInsideRail; double m_dZGarExt; double m_dGarExt; double m_dRailSw; double m_dRailSh; BOOL m_nRailCirSec; CString m_sBarMat; double m_dBomEl; double m_dStiffnW; double m_dStiffnH; double m_dRestPtL; // gsview控件 CGsPreviewCtrl m_wndViewCtrl; protected: void PreView3d(); void PreView2d(); };