| | |
| | | |
| | | /** |
| | | * 优先级 |
| | | * The large the value, the earlier it will be executed |
| | | */ |
| | | @ApiModelProperty(value= "优先级") |
| | | private Integer priority; |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | public Action() { |
| | | } |
| | | |
| | | public Action(String uuid, Long busId, Long taskId, String seqNum, Integer priority, String name, Double val, String code, String params, Long actionType, Long actionSts, Long agvId, Date ioTime) { |
| | | this.uuid = uuid; |
| | | this.busId = busId; |
| | |
| | | BusService service = SpringUtils.getBean(BusService.class); |
| | | Bus bus = service.getById(this.busId); |
| | | if (!Cools.isEmpty(bus)){ |
| | | return String.valueOf(bus.getUuid()); |
| | | return String.valueOf(bus.getBusNo()); |
| | | } |
| | | return null; |
| | | } |