mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
修改设备显示信息的寄存器地址配置文件,修改服务端界面
This commit is contained in:
@@ -107,7 +107,6 @@ public:
|
||||
void getDeviceByCategory(int category, std::vector<std::shared_ptr<Device>>& res);
|
||||
|
||||
void setWorkMode(int modeId);
|
||||
void setPolicy(int policyId);
|
||||
|
||||
void initMqtt();
|
||||
void polling();
|
||||
@@ -139,7 +138,7 @@ public:
|
||||
std::string code;
|
||||
int status {0};
|
||||
std::string operationDate;
|
||||
SysPolicy policy;
|
||||
//SysPolicy policy;
|
||||
std::string launchDate {};
|
||||
|
||||
bool isConnected {false};
|
||||
@@ -153,6 +152,17 @@ public:
|
||||
std::string param1;
|
||||
std::string param2;
|
||||
std::string param3;
|
||||
|
||||
int socMin {}; // 储能放电下限值 SOC 40038 (%, 0-99)
|
||||
int socMax {}; // 储能充电上限值 SOC 40039 (%:1-100)
|
||||
int capacity {}; // 台区变压器容量 40040 (KVA 160-1600)
|
||||
int powerSafe {}; // 安全输入功率 40041 (KW 0-400)
|
||||
int powerDischarge {}; // 储能最大放电功率 40042 (1KW 0-150)
|
||||
int powerCharge {}; // 储能最大充电功率 40043 (1KW 0-150)
|
||||
int status {}; // 运行状态:40044 (只读不写,0:无 1:高峰放电 2:低谷充电)
|
||||
int vtRatio ;// 台区电表变比 40045
|
||||
int backflow {}; // 防逆流回差 40058(1KW 10-300)
|
||||
int overload {}; // 防过载回差 40059(1KW 10-300)
|
||||
} gatewayParam;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user