mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
搭建PVB架构,实现前端的基础布局、菜单、表格、图示等功能
This commit is contained in:
26
src/pv/pages/MaskPageStat.h
Normal file
26
src/pv/pages/MaskPageStat.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#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<PvChartBar> chart, std::vector<std::string>& vecAxis, std::vector<std::pair<std::string, int>>& vecItems);
|
||||
void initChartCurve(std::shared_ptr<PvChartCurve> chart, std::vector<std::string>& vecAxis, std::vector<std::pair<std::string, int>>& vecItems);
|
||||
|
||||
EPvCode onEventButton(int pvid) override;
|
||||
|
||||
std::map<int, std::string> mapSubpage_;
|
||||
|
||||
std::shared_ptr<PvChartBar> chart1;
|
||||
std::shared_ptr<PvChartBar> chart2;
|
||||
std::shared_ptr<PvChartCurve> chart3;
|
||||
std::shared_ptr<PvChartCurve> chart4;
|
||||
};
|
||||
Reference in New Issue
Block a user