mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 03:49:42 +08:00
37 lines
1017 B
C++
37 lines
1017 B
C++
#pragma once
|
|
#include "pch.h"
|
|
#include "ZZ_Types.h"
|
|
//http://172.16.0.234/fileup/Data_uper.php
|
|
//http://172.16.0.234/fileup/Dev_info_uper.php
|
|
//http://172.16.0.234/fileup/Warning.php
|
|
|
|
using namespace std;
|
|
using namespace ZZ_MISCDEF::ZZ_DATAFILE;
|
|
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
|
|
using namespace ZZ_MISCDEF::IRIS::FS;
|
|
|
|
class ZZ_HttpTransfer :public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ZZ_HttpTransfer(QObject* parent = nullptr);
|
|
~ZZ_HttpTransfer();
|
|
public:
|
|
public:
|
|
int SendData();
|
|
int SendInfo();
|
|
int SendErr();
|
|
|
|
void SetContext(EContext struEC, MEContext struMEC);
|
|
void SetDeviceInfo(RunTimeGrabberParams struGrabberRTParams);
|
|
void SetCalData(vector<vector<CalDataFrame>> vecCalcedData);
|
|
private:
|
|
QNetworkAccessManager *m_pNetworkManager;
|
|
EContext m_struEC;
|
|
MEContext m_struMEC;
|
|
RunTimeGrabberParams m_struGrabberRTParams;
|
|
vector<vector<CalDataFrame>> m_vecCalcedData;
|
|
private:
|
|
public slots:
|
|
int SlotReplyFinished(QNetworkReply* qnReply);
|
|
}; |