| | |
| | | @ApiModelProperty(value= "工作模式") |
| | | private Integer workMode; |
| | | |
| | | /** |
| | | * 目标站 |
| | | */ |
| | | @ApiModelProperty(value= "目标站") |
| | | private Integer staNo; |
| | | |
| | | /** |
| | | * 条码器ID |
| | | */ |
| | | @ApiModelProperty(value= "条码器ID") |
| | | private Long barcodeId; |
| | | |
| | | public BasConveyorSta() {} |
| | | |
| | | public BasConveyorSta(Long conveyorId,Integer conveyorNo,Long updateBy,Long createBy,Date createTime,Date updateTime,String memo,Integer deleted,Long hostId,Integer siteNo,String inEnable,String outEnable,String autoing,String loading,String canining,String canouting,Integer locType1,Integer locType2,Integer locType3,String locNo,String qrCodeValue) { |
| | |
| | | return siteStatus.toLowerCase().replaceAll("_", "-"); |
| | | } |
| | | |
| | | public Long getConveyorDeviceId() { |
| | | if (null == this.conveyorId){ return null; } |
| | | BasConveyorService basConveyorService = SpringUtils.getBean(BasConveyorService.class); |
| | | BasConveyor basConveyor = basConveyorService.getById(this.conveyorId); |
| | | if (basConveyor == null) { |
| | | return null; |
| | | } |
| | | return basConveyor.getDeviceId(); |
| | | } |
| | | |
| | | |
| | | } |