| | |
| | | if (Cools.isEmpty(param.getStaNo())) { |
| | | return R.error("分拣点位[staNo]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param.getBindingTags())) { |
| | | return R.error("分拣绑定类别[bindingTags]不能为空"); |
| | | } |
| | | openService.taskArmReport(param); |
| | | return R.ok(); |
| | | } |
| | |
| | | */ |
| | | @ApiModelProperty(value= "绑定标记") |
| | | @TableField("binding_tags") |
| | | private Integer bindingTags; |
| | | private Long bindingTags; |
| | | |
| | | /** |
| | | * 优先级 |
| | |
| | | this.upc = param.getUpc(); |
| | | this.supplier = param.getSupplier(); |
| | | this.createTime = param.getCreateTime(); |
| | | this.bindingTags = param.getBindingTags(); |
| | | this.sortingLine = Integer.parseInt(param.getStaNo());; |
| | | } |
| | | |
| | | public BasArmMast(Integer armNo,Integer armDirection,Integer staNo,Integer sortingLine,Integer bindingTags,Long priority,Integer status,String matnr,String sku,String po,String upc,String supplier,String orderNo,Integer ctns,Long createTime,Long armError,String armMsg) { |
| | | public BasArmMast(Integer armNo,Integer armDirection,Integer staNo,Integer sortingLine,Long bindingTags,Long priority,Integer status,String matnr,String sku,String po,String upc,String supplier,String orderNo,Integer ctns,Long createTime,Long armError,String armMsg) { |
| | | this.armNo = armNo; |
| | | this.armDirection = armDirection; |
| | | this.staNo = staNo; |
| | |
| | | private Double ctns = 1.0; |
| | | //时间戳 |
| | | private Long createTime; |
| | | private Long bindingTags;//分拣绑定类别 |
| | | } |
| | |
| | | if (Cools.isEmpty(basArmMastOld)){ |
| | | basArmMastService.insert(basArmMast); |
| | | } else { |
| | | throw new CoolException("未查询到相关机械臂拆码垛任务!!!"+ JSON.toJSONString(param)); |
| | | throw new CoolException("等待前边货物抓取!!!"+ JSON.toJSONString(param)); |
| | | } |
| | | } |
| | | |