#pragma once #include "ZxDot.h" #include "mGuiPlot_global.h" class ZxDataGaugeBase; // 曲线信息描述,为了传递曲线数据而设定 class M_GUI_PLOT_EXPORT iCurveDesc { public: iCurveDesc(); // n = 0,设置Dot/Pen 1:Pen 2:Dot void setColor(QColor clr, int n = 0); public: VecDouble m_vecX; VecDouble m_vecY; bool m_bLineVisible; PlotObjectType m_oCurveType; ZxDot m_oDot; //点绘制模式 QPen m_oPen; //线绘制模式 bool m_bUseY2; QString m_sCurveName; ZxDataGaugeBase* m_pDataObj; double m_dOffsetDt; //这是基准时间的偏移量 };