|
|
@ -150,6 +150,6 @@ public class ChargerService
|
|
|
|
List<BinInfo> chargingCounts = BinInfoRepository.QueryListByClause(i => i.Exists == 1 && i.Status == 1&&i.ChargeStatus==1);
|
|
|
|
List<BinInfo> chargingCounts = BinInfoRepository.QueryListByClause(i => i.Exists == 1 && i.Status == 1&&i.ChargeStatus==1);
|
|
|
|
if(chargingCounts.Count>0)
|
|
|
|
if(chargingCounts.Count>0)
|
|
|
|
batteryStatusInfoResp.chargingCount = chargingCounts.Count();
|
|
|
|
batteryStatusInfoResp.chargingCount = chargingCounts.Count();
|
|
|
|
return Result<BatteryStatusInfoResp>.Fail();
|
|
|
|
return Result<BatteryStatusInfoResp>.Success(batteryStatusInfoResp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|