| | |
| | | */ |
| | | private Object extend; |
| | | |
| | | /** |
| | | * 系统消息 |
| | | */ |
| | | private String systemMsg; |
| | | |
| | | public String getProtocolStatus$() { |
| | | if (this.protocolStatusType == null) { |
| | | return ""; |
| | |
| | | } |
| | | |
| | | public Integer getTaskNo() { |
| | | RedisUtil redisUtil = SpringUtils.getBean(RedisUtil.class); |
| | | RedisUtil redisUtil = null; |
| | | try { |
| | | redisUtil = SpringUtils.getBean(RedisUtil.class); |
| | | }catch (Exception e) {} |
| | | if (null != redisUtil) { |
| | | Object o = redisUtil.get(RedisKeyType.SHUTTLE_FLAG.key + this.shuttleNo); |
| | | if (!Cools.isEmpty(o)) { |
| | |
| | | } |
| | | |
| | | public synchronized void setSyncTaskNo(Integer taskNo) { |
| | | RedisUtil redisUtil = SpringUtils.getBean(RedisUtil.class); |
| | | RedisUtil redisUtil = null; |
| | | try { |
| | | redisUtil = SpringUtils.getBean(RedisUtil.class); |
| | | }catch (Exception e) {} |
| | | if (null != redisUtil) { |
| | | redisUtil.set(RedisKeyType.SHUTTLE_FLAG.key + this.shuttleNo, taskNo); |
| | | this.taskNo = taskNo; |
| | |
| | | |
| | | //通过当前二维码获取当前库位号 |
| | | public String getCurrentLocNo() { |
| | | LocMastService locMastService = SpringUtils.getBean(LocMastService.class); |
| | | LocMastService locMastService = null; |
| | | try { |
| | | locMastService = SpringUtils.getBean(LocMastService.class); |
| | | }catch (Exception e) {} |
| | | if (locMastService == null) { |
| | | return null; |
| | | } |
| | |
| | | } |
| | | |
| | | public String getStatusErrorCode$() { |
| | | BasShuttleErrService basShuttleErrService = SpringUtils.getBean(BasShuttleErrService.class); |
| | | BasShuttleErrService basShuttleErrService = null; |
| | | try { |
| | | basShuttleErrService = SpringUtils.getBean(BasShuttleErrService.class); |
| | | }catch (Exception e) {} |
| | | if (basShuttleErrService == null) { |
| | | return ""; |
| | | } |
| | | if (this.errorCode == null) { |
| | | return ""; |
| | | } |
| | |
| | | |
| | | public HashMap<String, Object> getPoint() { |
| | | HashMap<String, Object> map = new HashMap<>(); |
| | | if (this.currentCode == null) { |
| | | LocMastService locMastService = null; |
| | | try { |
| | | locMastService = SpringUtils.getBean(LocMastService.class); |
| | | }catch (Exception e) {} |
| | | if (locMastService == null) { |
| | | return map; |
| | | } |
| | | |
| | | LocMastService locMastService = SpringUtils.getBean(LocMastService.class); |
| | | if (locMastService == null) { |
| | | if (this.currentCode == null) { |
| | | return map; |
| | | } |
| | | |