⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dlgreadfile.h

📁 从联合证券数据读取股票数据以及画出K线。不完善
💻 H
字号:
#if !defined(AFX_DLGREADFILE_H__B41E6D23_21F1_4BD6_A1F2_F40599E1A607__INCLUDED_)
#define AFX_DLGREADFILE_H__B41E6D23_21F1_4BD6_A1F2_F40599E1A607__INCLUDED_

#include "dlgPlot.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dlgReadFile.h : header file
//
#include "DataDefine.h"
#include "StockDataProcess.h"	// Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// dlgReadFile dialog

class dlgReadFile : public CDialog
{
// Construction
public:
	StockDataProcess oStockDataProcess;
	bool bShowKline;
	dlgPlot odlgPlot;
	List_ST_StockInfoQ m_List_ST_StockInfoQ;
	CString strStockName;
	dlgReadFile(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(dlgReadFile)
	enum { IDD = IDD_DIALOG_READ_FILE };
	int		m_iCountDay;
	int		m_iStartDay;
	int		m_iStopDay;
	int		m_IStockEndNum;
	int		m_iStockStartNum;
	int		m_iCycle;
	UINT	m_iStockCode;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(dlgReadFile)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int DrawDCMap(CDC* pDC, CRect Rect, List_ST_StockInfoQ myStockInfoList,int i_listLen);
	FloatArray CalculateSpeedData(FloatArray fArrayDataIn,FloatArray fArrayDataRatio,const int iSpeed,const int length);
	int WriteFile(CString strWrite);
	int FunProcessData(FloatArray oDataArray,IntArray oIntArrayDay, int length);  //FloatArray oDataArray, int length
	int ReadFileData(CString strFileName,List_ST_StockInfoQ* pList_ST_StockInfoQ);

	// Generated message map functions
	//{{AFX_MSG(dlgReadFile)
	afx_msg void OnBtnReadFile();
	afx_msg void OnBtnReadOneFile();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGREADFILE_H__B41E6D23_21F1_4BD6_A1F2_F40599E1A607__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -