| | |
| | | News.error("{}:站点:{},无物", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if (staProtocol.isWeightErr()) { |
| | | News.error("{}:站点:{},重量异常:{}", config.getMark(), staProtocol.getSiteId(), staProtocol.getWeight()); |
| | | continue; |
| | | if (staProtocol.isErr()){ |
| | | if (staProtocol.isFrontErr()) { |
| | | log.error("{}:站点:{},前超限", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if (staProtocol.isBackErr()) { |
| | | log.error("{}:站点:{},后超限", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if ( staProtocol.isHighErr()) { |
| | | log.error("{}:站点:{},高超限", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if ( staProtocol.isLeftErr()) { |
| | | log.error("{}:站点:{},左超限", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if ( staProtocol.isRightErr()) { |
| | | log.error("{}:站点:{},右超限", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if (staProtocol.isWeightErr()) { |
| | | log.error("{}:站点:{},超重或", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if ( staProtocol.isBarcodeErr()) { |
| | | log.error("{}:站点:{},扫码失败", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | } |
| | | if (staProtocol.isBarcodeErr()) { |
| | | News.error("{}:站点:{},条码异常:{}", config.getMark(), staProtocol.getSiteId(), staProtocol.getBarcode()); |
| | | continue; |
| | | } |
| | | |
| | | if (staProtocol.isLoadErr()) { |
| | | News.error("{}:站点:{},入库时检测托盘上有无货物", config.getMark(), staProtocol.getSiteId()); |
| | | continue; |
| | |
| | | staProtocol.setStartUpFlag(false); |
| | | redis.push(RedisConveyorConstant.CONVEYOR_TASK_FLAG, staProtocol); |
| | | if (!jobService.insert(job)) { |
| | | News.info("{},启动入库:{},{}", config.getMark(), staProtocol.getWorkNo(), staProtocol.getStaNo()); |
| | | News.info("{},启动入库:工作号:{},目标站点:{},满:{},空:{}", config.getMark(), staProtocol.getWorkNo(), staProtocol.getStaNo(),staProtocol.isFullPlt(),staProtocol.isEmptyMk()); |
| | | } |
| | | } |
| | | |