Files
coco df489d5640 a
2026-07-03 16:05:30 +08:00

166 lines
5.2 KiB
C++

#if !defined(AFX_DATAMNGFRAME_H__19ACB24B_15AA_4B46_A575_0B56E70E4321__INCLUDED_)
#define AFX_DATAMNGFRAME_H__19ACB24B_15AA_4B46_A575_0B56E70E4321__INCLUDED_
#include "navdataview.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// datamngframe.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDataMngFrame frame
#include "SaveFilePathDlg.h"
enum EN_SAVE_SPC_FILE_MODEL
{
EN_SAVE_FILE_BIO_HOLE = 0,
EN_SAVE_FILE_COMMMON
};
class CDataOperator;
class CDataMngFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CDataMngFrame)
protected:
CDataMngFrame(); // protected constructor used by dynamic creation
// Attributes
public:
BOOL IsActiveMDIWindow(){return m_bIsActive;}
int GetDevARFromHandle();
// Operations
public:
CView* m_pAppDataView;
CView* m_pNavDataView;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDataMngFrame)
public:
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
protected:
void OnExportRspCETdToDAT();
virtual ~CDataMngFrame();
// Generated message map functions
//{{AFX_MSG(CDataMngFrame)
afx_msg void OnClose();
afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
afx_msg LRESULT OnSchedule(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnLoadByPageSchedule(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnRefresh(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnSkip(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnDisplayTPSplinesGraph(WPARAM wParam, LPARAM lParam);
afx_msg void OnCreateProjectInDB();
afx_msg void OnCreateTzInDB();
afx_msg void OnDeleteProjectInDB();
afx_msg void OnDeleteTzInDB();
afx_msg void OnConvert2DTo3D();
afx_msg void OnDeleteRspCETdInDB();
afx_msg void OnDeleteIpspCETdInDB();
afx_msg void OnDeleteRsp2DTdInDB();
afx_msg void OnDeleteIpsp2DTdInDB();
afx_msg void OnExportRsp2DTdToDAT();
afx_msg void OnExportRsp2DTdToExcel();
afx_msg void OnExportRspCETdToExcel();
afx_msg void OnDisplayRsp2DTdGraph();
afx_msg void OnDisplayRspCETdGraph();
afx_msg void OnAnalyzeTdIpsp();
afx_msg void OnDeleteIPSP3DTdInDB();
afx_msg void OnDeleteRSP3DTdInDB();
afx_msg void OnOpTd3drspDbDat();
afx_msg void OnOpTd3drspDbExcel();
afx_msg void OnOpTd3drspDbGrap();
afx_msg void OnDisplayIsp3DTdGraph();
afx_msg void OnDisplayIsp2DTdGraph();
afx_msg void OnDisplayIspCETdGraph();
afx_msg void OnDisplayCeipspDbIpCurve();
afx_msg void OnDisplay3DipspDbIpCurve();
afx_msg void OnDisplay2DipspDbIpCurve();
afx_msg void OnExportIpSpCETdToDAT();
afx_msg void OnExport2DIPData();
afx_msg void OnExport3DIPData();
afx_msg void OnDeleteSP2DTdInDB();
afx_msg void OnDeleteSP3DTdInDB();
afx_msg void OnDeleteSPCETdInDB();
afx_msg void OnExportSPCETdToExcel();
afx_msg void OnExportSP2DTdToExcel();
afx_msg void OnExportSP3DTdToExcel();
afx_msg void OnExportIPCETdToExcel();
afx_msg void OnExportIP2DTdToExcel();
afx_msg void OnExportIP3DTdToExcel();
afx_msg LRESULT OnRemove1dRecord(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnRemove2dRecord(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnRemove3dRecord(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnRefreshListView(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnLoading2DData(WPARAM wParam, LPARAM lParam);
//----------
afx_msg void OnExport2DRSPData();
afx_msg void OnExport2DSPData();
afx_msg void OnExport3DRSPData();
afx_msg void OnExport3DSPData();
afx_msg void OnExport1DIPData();
afx_msg void OnExport1DRSPData();
afx_msg void OnExport1DSPData();
afx_msg void OnCombineTask();
afx_msg LRESULT MsgBatchExportData(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT MsgBatchDelTdData(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnDelete1DElectData(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnDelete2DElectData(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnDelete3DElectData(WPARAM wParam, LPARAM lParam);
afx_msg void OnExportTdRecFile();
afx_msg void OnExportTdOrgFile();
afx_msg LRESULT OnCloseFrameWindow(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString GetProjectNameFromTree(CString &TaskName);
CString GetCurrentFilePath();
CString SaveFilePath(CStringArray *f_fileType, BYTE &ucSaveFileFlag,int iAR = 0);
CString SaveSpcFilePath(CStringArray *f_fileType,BYTE &ucSaveFileFlag, BYTE& ucSaveModel);
bool ShowAppView(DWORD dwHandle, UINT uState);
bool ShowContentListByPageView(DWORD dwHandle, UINT uState, UINT uPage = 0);
CSplitterWnd m_splitter;
CDataOperator* m_pDataOperator;
BOOL m_bIsActive;
DWORD m_dwHandle;
DWORD m_dwItemHandle;//批量导出用 quyx 20180531
CString m_TaskName;
CStringArray m_szFileType;
CString m_szFilePath;
BYTE m_ucFileType;
BYTE m_ucSaveModel;
CStringArray m_szExportFalseTdName;//导出失败任务名
int m_iExportResultcode;
int m_iExportFalseNum;
bool m_BatchExportFlag;//区分批量导出还是树形单任务导出
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DATAMNGFRAME_H__19ACB24B_15AA_4B46_A575_0B56E70E4321__INCLUDED_)