You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "iWxDataObjEdit.h"
|
|
|
|
|
|
|
|
|
|
class iGuiPlotEx;
|
|
|
|
|
class ZxDataGaugeF;
|
|
|
|
|
class ZxDataGaugeP;
|
|
|
|
|
class ZxDataGaugeBase;
|
|
|
|
|
class ZxSegmentInfo;
|
|
|
|
|
class ZxDataObject;
|
|
|
|
|
class ZxDataWell;
|
|
|
|
|
|
|
|
|
|
// 压力流量
|
|
|
|
|
class M_GUI_JOB_EXPORT iWxDataObjEditPF : public iWxDataObjEdit
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit iWxDataObjEditPF(QWidget *parent = 0);
|
|
|
|
|
~iWxDataObjEditPF();
|
|
|
|
|
|
|
|
|
|
// Obj
|
|
|
|
|
virtual void setObj(ZxDataObject* p);
|
|
|
|
|
|
|
|
|
|
virtual void initUI();
|
|
|
|
|
virtual void runUpdate(); //刷新
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
void refreshGraph();
|
|
|
|
|
|
|
|
|
|
virtual void paintEvent(QPaintEvent *);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
VVecFloat m_vvecGaugeData;
|
|
|
|
|
bool m_bPressure;
|
|
|
|
|
|
|
|
|
|
iGuiPlotEx* m_pWxPlot;
|
|
|
|
|
|
|
|
|
|
// Options控件
|
|
|
|
|
QComboBox* m_pCbx;
|
|
|
|
|
ZxDataWell* m_pWell;
|
|
|
|
|
};
|