mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
修改服务端:监测卡片参数显示配置
This commit is contained in:
@@ -214,10 +214,10 @@ void Station::setGarewayParams()
|
||||
|
||||
string Station::getGatewayMode()
|
||||
{
|
||||
// 0:手动,1:峰谷套利,2:增网配容,3:应急供电,4:并网保电,5:自定时段
|
||||
// 0:手动,1:峰谷套利,2:配网增容,3:应急供电,4:并网保电,5:自定时段
|
||||
if (gatewayParam.mode == 0) { return "手动"; }
|
||||
else if (gatewayParam.mode == 1) { return "峰谷套利"; }
|
||||
else if (gatewayParam.mode == 2) { return "增网配容"; }
|
||||
else if (gatewayParam.mode == 2) { return "配网增容"; }
|
||||
else if (gatewayParam.mode == 3) { return "应急供电"; }
|
||||
else if (gatewayParam.mode == 4) { return "并网保电"; }
|
||||
else if (gatewayParam.mode == 5) { return "自定时段"; }
|
||||
|
||||
Reference in New Issue
Block a user