master
tq 1 month ago
parent ac5c571dcf
commit 163027e496

@ -109,8 +109,8 @@ public class SwapOrderController : ControllerBase
&&swapOrderBatteryResp.DownBatterySoc!=null
)
{
swapOrder.ElectricQuantity = (swapOrderBatteryResp.UpNominalEnergy* swapOrderBatteryResp.UpBatterySoc-
swapOrderBatteryResp.DownNominalEnergy*swapOrderBatteryResp.DownBatterySoc).ToString();
swapOrder.ElectricQuantity = (swapOrderBatteryResp.UpNominalEnergy* (swapOrderBatteryResp.UpBatterySoc/100)-
swapOrderBatteryResp.DownNominalEnergy*(swapOrderBatteryResp.DownBatterySoc/100)).ToString();
}
}

Loading…
Cancel
Save