|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|