| | |
| | | */ |
| | | private Integer token = 0; |
| | | |
| | | /** |
| | | * 跑库状态 |
| | | */ |
| | | private Boolean moveLoc = false; |
| | | |
| | | /** |
| | | * 跑库类型,0:跑轨道,1:跑库位 |
| | | */ |
| | | private Integer moveType = 0; |
| | | |
| | | /** |
| | | * 跑库X起点 |
| | | */ |
| | | private Integer xStart = 0; |
| | | |
| | | /** |
| | | * 跑库X终点 |
| | | */ |
| | | private Integer xTarget = 0; |
| | | |
| | | /** |
| | | * 跑库X当前点位 |
| | | */ |
| | | private Integer xCurrent = 0; |
| | | |
| | | /** |
| | | * 跑库Y起点 |
| | | */ |
| | | private Integer yStart = 0; |
| | | |
| | | /** |
| | | * 跑库Y终点 |
| | | */ |
| | | private Integer yTarget = 0; |
| | | |
| | | /** |
| | | * 跑库Y当前点位 |
| | | */ |
| | | private Integer yCurrent = 0; |
| | | |
| | | //总里程数 |
| | | @Data |
| | | public static class StatusSumClass { |
| | |
| | | if (chargeLine == null) { |
| | | return false; |
| | | } |
| | | return this.getPowerPercent() < chargeLine || this.minCellVoltage < 2900; |
| | | return this.getPowerPercent() < chargeLine; |
| | | } catch (Exception e) { |
| | | News.error("fail", e); |
| | | return false; |