[oee]
parent
5dcddb0010
commit
3227cfa47e
@ -0,0 +1,112 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:19 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OEE")
|
||||||
|
@Api("MES_OEE数据")
|
||||||
|
public class MesOee extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -9163026983140909748L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("运算对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "STATUS")
|
||||||
|
@ApiParam("运算状态")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "EQU_CODE")
|
||||||
|
@ApiParam("设备代码")
|
||||||
|
private String equCode;
|
||||||
|
|
||||||
|
@Column(name = "OEE_DATE")
|
||||||
|
@ApiParam("日期")
|
||||||
|
private String oeeDate;
|
||||||
|
|
||||||
|
@Column(name = "SHIFT_CODE")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@Column(name = "START_TIME")
|
||||||
|
@ApiParam("开始时段")
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
@Column(name = "END_TIME")
|
||||||
|
@ApiParam("结束时段")
|
||||||
|
private String endTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_RUN_TIME")
|
||||||
|
@ApiParam("总生产时间")
|
||||||
|
private String totalRunTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_STOP_TIME")
|
||||||
|
@ApiParam("总停机时间")
|
||||||
|
private String totalStopTime;
|
||||||
|
|
||||||
|
@Column(name = "TOTAL_QTY")
|
||||||
|
@ApiParam("总生产数")
|
||||||
|
private Integer totalQty;
|
||||||
|
|
||||||
|
@Column(name = "QUALIFIED_QTY")
|
||||||
|
@ApiParam("一次合格数")
|
||||||
|
private Integer qualifiedQty;
|
||||||
|
|
||||||
|
@Column(name = "PLAN_TAKT")
|
||||||
|
@ApiParam("计划节拍")
|
||||||
|
private Integer planTakt;
|
||||||
|
|
||||||
|
@Column(name = "ACTUAL_TAKT")
|
||||||
|
@ApiParam("实际节拍")
|
||||||
|
private Integer actualTakt;
|
||||||
|
|
||||||
|
@Column(name = "TIME_RATE")
|
||||||
|
@ApiParam("时间开动率")
|
||||||
|
private String timeRate;
|
||||||
|
|
||||||
|
@Column(name = "TAKT_RATE")
|
||||||
|
@ApiParam("性能开动率")
|
||||||
|
private String taktRate;
|
||||||
|
|
||||||
|
@Column(name = "QUALIFIED_RATE")
|
||||||
|
@ApiParam("良品率")
|
||||||
|
private String qualifiedRate;
|
||||||
|
|
||||||
|
@Column(name = "OEE")
|
||||||
|
@ApiParam("OEE")
|
||||||
|
private String oee;
|
||||||
|
|
||||||
|
@Column(name = "BUSI_DATA")
|
||||||
|
@ApiParam("自定义数据")
|
||||||
|
private String busiData;
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT")
|
||||||
|
@Api("MES_运算对象")
|
||||||
|
public class MesOperateObject extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 7829216855303543146L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_NAME")
|
||||||
|
@ApiParam("对象名称")
|
||||||
|
private String objectName;
|
||||||
|
|
||||||
|
@Column(name = "OPERATE_TYPE")
|
||||||
|
@ApiParam("运算类型")
|
||||||
|
private Integer operateType;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,48 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:08 下午
|
||||||
|
* @Modify:MES_OPERATE_OBJECT_CFG
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT_ATTRIBUTE")
|
||||||
|
@Api("MES_运算对象属性")
|
||||||
|
public class MesOperateObjectAttribute extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 3916105499867386686L;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_CODE")
|
||||||
|
@ApiParam("属性代码")
|
||||||
|
private String attributeCode;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_NAME")
|
||||||
|
@ApiParam("属性名称")
|
||||||
|
private String attributeName;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_TYPE")
|
||||||
|
@ApiParam("属性类型")
|
||||||
|
private Integer attributeType;
|
||||||
|
|
||||||
|
@Column(name = "OPERATE_TYPE")
|
||||||
|
@ApiParam("运算类型")
|
||||||
|
private Integer operateType;
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
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 javax.persistence.Transient;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:12 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_OPERATE_OBJECT_ATTRIBUTE")
|
||||||
|
@Api("MES_运算对象属性配置")
|
||||||
|
public class MesOperateObjectCfg extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -8066603810736365082L;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "ATTRIBUTE_CODE")
|
||||||
|
@ApiParam("属性代码")
|
||||||
|
private String attributeCode;
|
||||||
|
|
||||||
|
@Column(name = "VALUE_TYPE")
|
||||||
|
@ApiParam("赋值类型")
|
||||||
|
private String valueType;
|
||||||
|
|
||||||
|
@Column(name = "METHOD_CODE")
|
||||||
|
@ApiParam("函数方法")
|
||||||
|
private String methodCode;
|
||||||
|
|
||||||
|
@Column(name = "JOB_ID")
|
||||||
|
@ApiParam("job编号")
|
||||||
|
private String jobId;
|
||||||
|
|
||||||
|
@Column(name = "SPEL_CONTENT")
|
||||||
|
@ApiParam("spel表达式")
|
||||||
|
private String spelContent;
|
||||||
|
|
||||||
|
@Column(name = "SEQ")
|
||||||
|
@ApiParam("运算顺序")
|
||||||
|
private Integer seq;
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
@ApiParam("属性名称")
|
||||||
|
private String attributeName;
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 4:58 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_SCRIPT_PERSISTENCE")
|
||||||
|
@Api("动态脚本")
|
||||||
|
public class MesScriptPersistence extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1941422535481564572L;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_NO")
|
||||||
|
@ApiParam("脚本编号")
|
||||||
|
private String scriptNo;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_NAME")
|
||||||
|
@ApiParam("脚本名称")
|
||||||
|
private String scriptName;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_REMARK")
|
||||||
|
@ApiParam("脚本描述")
|
||||||
|
private String scriptRemark;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_TYPE")
|
||||||
|
@ApiParam("脚本类型")
|
||||||
|
private Integer scriptType;
|
||||||
|
|
||||||
|
@Column(name = "LANGUAGE_TYPE")
|
||||||
|
@ApiParam("语言类型")
|
||||||
|
private Integer languageType;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_CONTENT")
|
||||||
|
@ApiParam("脚本内容")
|
||||||
|
private String scriptContent;
|
||||||
|
}
|
@ -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.MesOee;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOeeRepository extends BaseRepository<MesOee, Long> {
|
||||||
|
}
|
@ -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.MesOperateObjectAttribute;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:05 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectAttributeRepository extends BaseRepository<MesOperateObjectAttribute, Long> {
|
||||||
|
}
|
@ -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.MesOperateObjectCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:04 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectCfgRepository extends BaseRepository<MesOperateObjectCfg, Long> {
|
||||||
|
}
|
@ -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.MesOperateObject;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:05 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesOperateObjectRepository extends BaseRepository<MesOperateObject, Long> {
|
||||||
|
}
|
@ -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.MesScriptPersistence;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/4/28 5:03 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesScriptPersistenceRepository extends BaseRepository<MesScriptPersistence, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue