| | |
| | | import com.core.common.BaseRes; |
| | | import com.core.common.Cools; |
| | | import com.core.common.R; |
| | | import com.core.common.SpringUtils; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.domain.param.ShuttleOperatorParam; |
| | | import com.zy.asrs.domain.vo.*; |
| | |
| | | } |
| | | } |
| | | |
| | | Integer chargeLine = basShuttleService.selectById(slave.getId()).getChargeLine(); |
| | | String lowerPower = "N"; |
| | | if (chargeLine != null && shuttleProtocol.getPowerPercent() != null) { |
| | | lowerPower = shuttleProtocol.getPowerPercent() <= chargeLine ? "Y" : "N"; |
| | | } |
| | | shuttleData.put("lowerPower", lowerPower);//是否低电量 |
| | | baseObj.putAll(shuttleData); |
| | | } |
| | | return R.ok().add(list); |