#pragma once #include "pv/PvApp.h" class PvChartBar; class PvChartCurve; class MaskPageStat : public PvMask { public: MaskPageStat(PARAM* p); int initUI(EPvCode pvcode); void initChartBar(std::shared_ptr chart, std::vector& vecAxis, std::vector>& vecItems); void initChartCurve(std::shared_ptr chart, std::vector& vecAxis, std::vector>& vecItems); EPvCode onEventButton(int pvid) override; std::map mapSubpage_; std::shared_ptr chart1; std::shared_ptr chart2; std::shared_ptr chart3; std::shared_ptr chart4; };