69 lines
1.9 KiB
C++
69 lines
1.9 KiB
C++
#if !defined(AFX_DIALLISTMEASUDATA_H__BDDACC80_9339_45DA_8409_090E70B98A1B__INCLUDED_)
|
|
#define AFX_DIALLISTMEASUDATA_H__BDDACC80_9339_45DA_8409_090E70B98A1B__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DialListMeasuData.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDialListMeasuData dialog
|
|
#include "TaskDataOper.h"
|
|
#define MAX_LIST_SHOW_NUM 300
|
|
#define MAX_LIST_SHOW_NUM_GR 300
|
|
class CDialListMeasuData : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDialListMeasuData(CWnd* pParent = NULL); // standard constructor
|
|
// void SetMeasureType(int iMeasuType){m_iMeasuType = iMeasuType;}
|
|
void SetSptType(int iSptType){m_iSptType = iSptType;}
|
|
void SetTaskID(int iTaskID){m_iTaskID = iTaskID;}
|
|
void EnablePreviewBtn(bool bIsEnable);
|
|
void SetMeasuStatus(const bool* pStatus){m_pMeasuStatus = pStatus;}
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDialListMeasuData)
|
|
enum { IDD = IDD_DIALOG_MEASURE_LIST_DATA };
|
|
CListCtrl m_listData;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDialListMeasuData)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDialListMeasuData)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
|
|
afx_msg void OnBtnListPre();
|
|
afx_msg void OnBtnListNext();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
void ShowMeasuStatus(CString strStatus);
|
|
|
|
protected:
|
|
void OnShowTdData(const std::vector<STTaskDetailBasicData>& vtTdData);
|
|
|
|
protected:
|
|
int m_iSptType;
|
|
int m_iTaskID;
|
|
CString m_strMeasuStatus;
|
|
CTaskDataOper m_taskOper;
|
|
const bool* m_pMeasuStatus;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DIALLISTMEASUDATA_H__BDDACC80_9339_45DA_8409_090E70B98A1B__INCLUDED_)
|