task `1430` 工位扫描,产品信号监听,队列监听
parent
196e5c87a4
commit
679319635a
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkCellModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3537487776977917751L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE_PARAM")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkCellModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4836155960343256982L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE")
|
||||
@Api("作业程序组件")
|
||||
public class MesWorkModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -4121840589026322086L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "MODULE_NAME")
|
||||
@ApiParam("组件名称")
|
||||
private String moduleName;
|
||||
|
||||
@Column(name = "MODULE_TYPE")
|
||||
@ApiParam("组件类型")
|
||||
private Integer moduleType;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "TRIGGER_TYPE")
|
||||
@ApiParam("触发类型")
|
||||
private Integer triggerType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE_PARAM")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3965186392895014717L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_TYPE")
|
||||
@ApiParam("参数类型")
|
||||
private Integer paramType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModuleParam;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkModule;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/10 15:24
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MonitoringModel {
|
||||
|
||||
private String monitorType;
|
||||
|
||||
private Boolean isStop;
|
||||
|
||||
private MesWorkModule workModule;
|
||||
|
||||
private List<MesWorkCellModuleParam> cellModuleParams;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/13 17:55
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class StepDispatchModel {
|
||||
|
||||
private String stepListKey;
|
||||
|
||||
private String firstScanKey;
|
||||
|
||||
private String cellParamKey;
|
||||
|
||||
private String scanInfo;
|
||||
|
||||
public StepDispatchModel(String stepListKey, String firstScanKey, String cellParamKey, String scanInfo) {
|
||||
this.stepListKey = stepListKey;
|
||||
this.firstScanKey = firstScanKey;
|
||||
this.cellParamKey = cellParamKey;
|
||||
this.scanInfo = scanInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModule;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellModuleParamRepository extends BaseRepository<MesWorkCellModuleParam, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellModuleRepository extends BaseRepository<MesWorkCellModule, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkModuleParamRepository extends BaseRepository<MesWorkModuleParam, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkModuleRepository extends BaseRepository<MesWorkModule, Long> {
|
||||
}
|
Loading…
Reference in New Issue