Files
envi-code/SourceCode/Code2026/PipelineSpecCmd/ReducerDlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

55 lines
1.3 KiB
C++

#pragma once
#include "afxcmn.h"
#include "resource.h"
#include "earthwormdef.h"
class CReducerDlg : public CDialog
{
DECLARE_DYNAMIC(CReducerDlg)
public:
CReducerDlg(CWnd* pParent = NULL);
virtual ~CReducerDlg();
void Set(CUIISQLiteServer* pDb,WPipe::PipeParam* pParam,AcGeVector3d& vtDirCur,BOOL bOnlyStandardRec = FALSE);
public:
enum { IDD = IDD_REDUCERDLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedRadioc();
afx_msg void OnBnClickedRadiou();
afx_msg void OnBnClickedRadiod();
afx_msg void OnLvnItemchangedListreducer(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnDZSize();
afx_msg void OnBnClckedButton2();
DECLARE_MESSAGE_MAP()
protected:
void InitReducer();
void EnableOffsetRadio();
//PE、PP、PS、PVC、PET、NY、PC、PF、UF
bool IsPlasticsMat(WPipe::PipeParam* pParam, CString& sDNo);
protected:
int m_nPos;
CListCtrl m_wndListCtrl; //
CUIISQLiteServer* m_pDb; //
AcGeVector3d m_vtECCen; //偏心方向
AcGeVector3d m_vtEnter; //输入方向
WPipe::EReducer m_ePos; //类型
BOOL m_bOnlyStandardRec; //仅仅标准变径
WPipe::PipeParam* m_pPipeParam; //
CBitmap m_bitMapC,m_bitMapU,m_bitMapD; //
CBitmap m_bitMapB,m_bitMapF;
CListCtrl m_wndListODThk;
CListBox m_wndElbowradList;//
};