mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
实现MQTT功能, 修改HTTP接口
This commit is contained in:
@@ -70,6 +70,7 @@ public:
|
||||
int getStationCount();
|
||||
|
||||
std::shared_ptr<Station> getStationByName(std::string name);
|
||||
std::shared_ptr<Station> getStationByCode(std::string code);
|
||||
|
||||
std::shared_ptr<Device> getDevice(int stationId, int deviceId);
|
||||
|
||||
@@ -101,6 +102,8 @@ public:
|
||||
|
||||
std::string getElectPreiodVal(int month, int hour);
|
||||
|
||||
void storeRuntimeDB();
|
||||
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -156,4 +159,6 @@ public:
|
||||
// 电力峰谷分段 (12个月,每个月按小时分成24个时段)
|
||||
std::vector<std::vector<std::string>> vecElectPeriods;
|
||||
|
||||
std::map<int64_t, double> mapDataDay;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user