|
|
@ -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, "成功");
|
|
|
|
}
|
|
|
|
}
|
|
|
|