mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
实现策略配置功能
This commit is contained in:
@@ -16,15 +16,14 @@ public:
|
||||
int type = -1;
|
||||
std::string name;
|
||||
std::string code;
|
||||
std::string group;
|
||||
bool isOpen = false;
|
||||
std::string attrsJson = "";
|
||||
|
||||
|
||||
int err = 0;
|
||||
int online = 0;
|
||||
int status = 0;
|
||||
|
||||
|
||||
//std::map<std::string, std::string> mapAttrs;
|
||||
Fields attrs;
|
||||
|
||||
@@ -41,16 +40,3 @@ public:
|
||||
|
||||
static std::shared_ptr<Device> create(Fields& fields);
|
||||
};
|
||||
|
||||
|
||||
//class Device
|
||||
//{
|
||||
//public:
|
||||
// static void add(DataFields& fields);
|
||||
//
|
||||
// static std::vector<std::shared_ptr<DeviceEntity>> getDeviceByType(int type);
|
||||
//
|
||||
//public:
|
||||
// static std::map<int, std::shared_ptr<DeviceEntity>> mapDevices;
|
||||
//};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user