118 lines
5.6 KiB
C++
118 lines
5.6 KiB
C++
#pragma once
|
||
|
||
|
||
|
||
#import "..\public\MsChart\msdatsrc.tlb" no_namespace
|
||
#import "..\public\MsChart\MSCHRT20.OCX" no_namespace
|
||
|
||
#include "CDMSChart.h"
|
||
#include "CVcAxisScale.h"
|
||
#include "CVBDataObject.h"
|
||
#include "CVBDataObjectFiles.h"
|
||
#include "CVcAxis.h"
|
||
#include "CVcAxisGrid.h"
|
||
#include "CVcAxisTitle.h"
|
||
#include "CVcBackdrop.h"
|
||
#include "CVcBrush.h"
|
||
#include "CVcCategoryScale.h"
|
||
#include "CVcColor.h"
|
||
#include "CVcCoor.h"
|
||
#include "CVcDataGrid.h"
|
||
#include "CVcDataPoint.h"
|
||
#include "CVcDataPointLabel.h"
|
||
#include "CVcDataPoints.h"
|
||
#include "CVcFill.h"
|
||
#include "CVcFont.h"
|
||
#include "CVcFootnote.h"
|
||
#include "CVcFrame.h"
|
||
#include "CVcIntersection.h"
|
||
#include "CVcLabel.h"
|
||
#include "CVcLabels.h"
|
||
#include "CVcLCoor.h"
|
||
#include "CVcLegend.h"
|
||
#include "CVcLight.h"
|
||
#include "CVcLightSource.h"
|
||
#include "CVcLightSources.h"
|
||
#include "CVcLocation.h"
|
||
#include "CVcMarker.h"
|
||
#include "CVcPen.h"
|
||
#include "CVcPlot.h"
|
||
#include "CVcPlotBase.h"
|
||
#include "CVcRect.h"
|
||
#include "CVcSeries.h"
|
||
#include "CVcSeriesCollection.h"
|
||
#include "CVcSeriesMarker.h"
|
||
#include "CVcSeriesPosition.h"
|
||
#include "CVcShadow.h"
|
||
#include "CVcStatLine.h"
|
||
#include "CVcTextLayout.h"
|
||
#include "CVcTick.h"
|
||
#include "CVcTitle.h"
|
||
#include "CVcValueScale.h"
|
||
#include "CVcView3d.h"
|
||
#include "CVcWall.h"
|
||
#include "CVcWeighting.h"
|
||
|
||
|
||
// DLG_YWY_Analyse 对话框
|
||
class CMainFrame;
|
||
|
||
class DLG_YWY_Analyse : public CDialogEx
|
||
{
|
||
DECLARE_DYNAMIC(DLG_YWY_Analyse)
|
||
public:
|
||
CMainFrame * m_pMainFrame;
|
||
long m_lYWYID;
|
||
long m_lItem;
|
||
long m_lType; //0企业,1代理商
|
||
CString m_strName2;
|
||
CString m_strName;
|
||
|
||
ANS_YWY_Analyse * m_pAnalyse = NULL;
|
||
ANS_YWY_Analyse_Data * m_pSmsData = NULL;
|
||
|
||
|
||
public:
|
||
DLG_YWY_Analyse(CWnd* pParent = nullptr); // 标准构造函数
|
||
virtual ~DLG_YWY_Analyse();
|
||
|
||
// 对话框数据
|
||
//#ifdef AFX_DESIGN_TIME
|
||
enum { IDD = IDD_YWY_ANALYSE };
|
||
|
||
CDMSChart m_Chart;
|
||
|
||
COleDateTime m_tBegin;
|
||
COleDateTime m_tEnd;
|
||
|
||
CComboBox m_L_QueryAll;
|
||
|
||
|
||
int m_lAbility;
|
||
int m_lDataType;
|
||
int m_lGap;
|
||
int m_lGraph;
|
||
int m_lQueryAll;
|
||
//#endif
|
||
|
||
protected:
|
||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||
|
||
DECLARE_MESSAGE_MAP()
|
||
public:
|
||
afx_msg void OnBnClickedCPayQuery();
|
||
virtual BOOL OnInitDialog();
|
||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||
void SetParam(CMainFrame * pFrame, long lYWYID, long lType, long lItem, CString strName);
|
||
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
|
||
void CloseData();
|
||
void ReDrawGraph();
|
||
DECLARE_EVENTSINK_MAP()
|
||
void PointSelectedCorpAnalyseChart(short* Series, short* DataPoint, short* MouseFlags, short* Cancel);
|
||
afx_msg void OnCbnSelchangeCorpAnalyseGraph();
|
||
afx_msg void OnCbnSelchangeCorpAnalyseDatatype();
|
||
CButton m_B_ShowValue;
|
||
BOOL m_bShowValue;
|
||
afx_msg void OnClickedCorpAnalyseShowvalue();
|
||
};
|