主控柜电表数据显示修改调整

zw
CZ 4 months ago
parent fdda7dd5f3
commit fec6f4d1ac

@ -277,6 +277,8 @@ namespace WebStarter.Controllers.Ammeter
} }
if (resp != null)//添加主控柜电表 if (resp != null)//添加主控柜电表
{
if (FireControlMgr.Power != 0)//值为0即无主控柜电表
{ {
EmeterResp EmeterResp = new EmeterResp(); EmeterResp EmeterResp = new EmeterResp();
EmeterResp.Code = "主控柜"; EmeterResp.Code = "主控柜";
@ -286,6 +288,7 @@ namespace WebStarter.Controllers.Ammeter
resp.emeterEnergyChange.Add(EmeterResp); resp.emeterEnergyChange.Add(EmeterResp);
} }
}
return Result<EmeterEnergyResp>.Success(resp, "成功"); return Result<EmeterEnergyResp>.Success(resp, "成功");
} }

Loading…
Cancel
Save