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