mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
修改http统计查询接口
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
#include "common/JsonN.h"
|
||||
#include "app/DataStruct.h"
|
||||
#include <unordered_set>
|
||||
|
||||
|
||||
|
||||
#include "Application.h"
|
||||
#include "Station.h"
|
||||
|
||||
static std::unordered_set<int> g_setCacheDeviceType = {3, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110};
|
||||
static bool CheckCacheType(int type)
|
||||
@@ -276,6 +275,12 @@ void Device::setParam(std::string k, int v)
|
||||
else if (type == 109) // 光伏板
|
||||
{
|
||||
}
|
||||
|
||||
if (err )
|
||||
{
|
||||
auto station = Application::data().getStation(stationId);
|
||||
station->err = 1;
|
||||
}
|
||||
}
|
||||
|
||||
std::string Device::getParam(std::string k, std::string defaultVal)
|
||||
|
||||
Reference in New Issue
Block a user