| | |
| | | IDLE(0, "空闲"), |
| | | MOVING(1, "作业中"), |
| | | SOS(2, "报警"), |
| | | WAITING(3, "任务完成等待WCS确认"), |
| | | WAITING(10, "等待确认"), |
| | | OFF_LINE(-1, "未知"), |
| | | OTHER(100, "其它"), |
| | | */ |
| | | public Short status; |
| | | |
| | |
| | | /** |
| | | * 满电 |
| | | */ |
| | | public Boolean fullCharge; |
| | | public Boolean fullCharge = false; |
| | | |
| | | /** |
| | | * 低电量 |
| | |
| | | } else { |
| | | // 电量 |
| | | try { |
| | | String chargeLine = SpringUtils.getBean(BasSteService.class).selectById(this.steNo).getChargeLine(); |
| | | String chargeLine = SpringUtils.getBean(BasSteService.class).getById(this.steNo).getChargeLine(); |
| | | return charge > Float.parseFloat(chargeLine); |
| | | } catch (Exception e) { |
| | | News.error("fail", e); |