#
lsh
2024-06-27 efad59da8921d93537fca47d6ec2512e312bc1c3
src/main/java/com/zy/asrs/entity/WrkMastExecute.java
@@ -102,6 +102,13 @@
    private Integer rgvId;
    /**
     * RGV
     */
    @ApiModelProperty(value= "RGV")
    @TableField("rgv_end_id")
    private Integer rgvEndId;
    /**
     * 作业时间
     */
    @ApiModelProperty(value= "作业时间")
@@ -134,22 +141,30 @@
    /**
     * 工作状态
     * 0:初始  wrk_sts
     * 1:RGV小车避让、2:避让完成、3:开门中、4:开门完成、5:更新完成    //io_type = 1、3
     * 1:RGV小车避让、2:避让完成、3:关门中、4:关门完成、5:更新完成    //io_type = 2、4
     * 1:RGV小车移动、2:RGV小车到位、3:rgv取货、4:rgv取货完成、5:Ste穿梭版入硫化罐、6:入罐完成、7:更新完成   //io_type = 5
     * 1:RGV小车移动、2:RGV小车到位、3:Ste穿梭版取货、4:取货完成等待下一步、5:Ste穿梭版放货至冷却池、6:放货完成、7:更新完成   //io_type = 6
     * 1:RGV小车移动、2:RGV小车到位、3:Ste穿梭版移动中、4:移动完成、5:更新完成   //io_type = 7、8
     * 1:Ste穿梭版取放货中、2:放货完成等待下一步、3:输送线任务下发完成、4:更新完成   //io_type = 9
     * 1:RGV小车移动、2:RGV小车到位、3:Ste穿梭版移动中、4:移动完成、5:更新完成   //io_type = 10、11
     */
    @ApiModelProperty(value= "工作状态")
    @TableField("wrk_sts")
    private Integer wrkSts;
    /**
     * 任务类型 0: 未知  1: 开门  2: 关门  3: 入硫化罐  4: 入冷却槽  5: 穿梭车进冷却槽  6: 穿梭车离开冷却槽  7: 出冷却槽
     * 任务类型 0: 未知  1: 开进料门  2: 关进料门  3: 开出料门  4: 关出料门  5: 入硫化罐  6: 入冷却槽  7: 穿梭车进冷却槽  8: 穿梭车离开冷却槽  9: 出冷却槽 10:A=>B 11:B=>A
     */
    @ApiModelProperty(value= "任务类型 0: 未知  1: 开门  2: 关门  3: 入硫化罐  4: 入冷却槽  5: 穿梭车进冷却槽  6: 穿梭车离开冷却槽  7: 出冷却槽  ")
    @ApiModelProperty(value= "任务类型 0: 未知  1: 开进料门  2: 关进料门  3: 开出料门  4: 关出料门  5: 入硫化罐  6: 入冷却槽  7: 穿梭车进冷却槽  8: 穿梭车离开冷却槽  9: 出冷却槽 10:A=>B 11:B=>A ")
    @TableField("io_type")
    private Integer ioType;
    /**
     * 设备 0: 未知  1: 硫化罐  2: 冷却槽  
     */
    @ApiModelProperty(value= "设备 0: 未知  1: 硫化罐  2: 冷却槽  ")
    @ApiModelProperty(value= "设备 0: 未知  1: 硫化罐  2: 冷却槽  3: 硫化罐==>冷却槽  ")
    private Integer type;
    public WrkMastExecute() {}
@@ -174,6 +189,28 @@
        this.type = type;
    }
    public WrkMastExecute(BasJarMast basJarMast) {
        Date now = new Date();
        this.wrkNo = basJarMast.getWrkNo();
        this.enterStaNo = basJarMast.getEnterStaNo();           //入库源站点
        this.outStaNo = basJarMast.getOutStaNo();               //入库目标站点
        this.jarEnterStaNo = basJarMast.getJarEnterStaNo();     //入硫化罐站点
        this.jarOutStaNo = basJarMast.getJarOutStaNo();         //出硫化罐站点
//        this.jarId = jarId;
        this.jarRegin = basJarMast.getJarRegin();//区域
        this.status = 0;
//        this.steId = steId;
//        this.rgvId = rgvId;
        this.ioTime = basJarMast.getIoTime();
        this.modiTime = now;
        this.appeTime = now;
        this.wrkType = 0;
        this.wrkSts = 0;
//        this.ioType = ioType;
//        this.type = type;
    }
//    WrkMastExecute wrkMastExecute = new WrkMastExecute(
//            null,    // 工作号[非空]
//            null,    // 入库源站点[非空]