#pragma once
|
#include "../common/CMyListCtrl.h"
|
#include <list>
|
using namespace std;
|
struct PlaceOrderInfo {
|
CString code;
|
CString time;
|
float price;
|
float rate;
|
CString plates;
|
CString plates_info;
|
};
|
|
// CLowSuctionDlg 对话框
|
|
class CLowSuctionDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CLowSuctionDlg)
|
|
public:
|
CLowSuctionDlg(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CLowSuctionDlg();
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_LOW_SUCTION };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
DECLARE_MESSAGE_MAP()
|
private:
|
list<PlaceOrderInfo> placeOrderRecordList;
|
|
|
private:
|
static void requestEnvInfo(bool needHistoryData,CLowSuctionDlg* dlg);
|
static void cycleRequestEnvInfo(CLowSuctionDlg* dlg);
|
|
// 获取下单记录
|
static void requestPlaceOrderRecords(CLowSuctionDlg* dlg);
|
|
// 循环请求下单记录
|
static void cycleRequestPlaceOrderRecords(CLowSuctionDlg* dlg);
|
|
public:
|
|
|
CListCtrl placeOrderListCtrl;
|
afx_msg void OnBnClickedButtonRefresh();
|
afx_msg void OnBnClickedButtonUpdateLeadingLimitUp();
|
CButton checkBuy;
|
afx_msg void OnClickedCheckBuy();
|
afx_msg void OnBnClickedButtonUpdateCodeJxBlocks();
|
afx_msg void OnBnClickedButtonInitDatas();
|
afx_msg void OnBnClickedButtonLogsPKGAndDownload();
|
|
virtual BOOL OnInitDialog();
|
};
|