Merge remote-tracking branch 'remotes/origin/test' into dev
commit
98b992408c
@ -0,0 +1,43 @@
|
||||
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/8/29 5:11 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCHEDULING_RECORD")
|
||||
@Api("MES_排程记录表")
|
||||
public class MesSchedulingRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5841185737664839362L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/8/24 17:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SPC_CONTROL_COEFFICIENT")
|
||||
@Api("MES_SPC控制图系数")
|
||||
public class MesSpcControlCoefficient extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -2790965693171941915L;
|
||||
|
||||
@Column(name = "SINGLE_GROUP_QTY")
|
||||
@ApiParam("子组容量")
|
||||
private Integer singleGroupQty;
|
||||
|
||||
@Column(name = "COEFFICIENT_TYPE")
|
||||
@ApiParam("系数类型")
|
||||
private String coefficientType;
|
||||
|
||||
@Column(name = "COEFFICIENT_CODE")
|
||||
@ApiParam("系数代码")
|
||||
private String coefficientCode;
|
||||
|
||||
@Column(name = "COEFFICIENT_DESC")
|
||||
@ApiParam("系数描述")
|
||||
private String coefficientDesc;
|
||||
|
||||
@Column(name = "COEFFICIENT_VALUE")
|
||||
@ApiParam("系数值")
|
||||
private Double coefficientValue;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/8/24 17:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SPC_KEY_DATA")
|
||||
@Api("MES_SPC关键数据")
|
||||
public class MesSpcKeyData extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2255345691671062029L;
|
||||
|
||||
@Column(name = "KD_CODE")
|
||||
@ApiParam("关键数据代码")
|
||||
private String kdCode;
|
||||
|
||||
@Column(name = "KD_NAME")
|
||||
@ApiParam("关键数据名称")
|
||||
private String kdName;
|
||||
|
||||
@Column(name = "NOMINAL_VALUE")
|
||||
@ApiParam("公称值")
|
||||
private Double nominalValue;
|
||||
|
||||
@Column(name = "SPEC_USL")
|
||||
@ApiParam("规格上限")
|
||||
private Double specUsl;
|
||||
|
||||
@Column(name = "SPEC_LSL")
|
||||
@ApiParam("规格下限")
|
||||
private Double specLsl;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
@ApiParam("取值对象类型")
|
||||
private Integer objectType;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("取值对象")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("取值字段")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "KD_CONDITION")
|
||||
@ApiParam("取值条件")
|
||||
private String kdCondition;
|
||||
}
|
@ -0,0 +1,134 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/8/24 16:50
|
||||
* @desc
|
||||
*/
|
||||
public class BarRequestModel {
|
||||
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("关键数据代码")
|
||||
private String keyData;
|
||||
|
||||
@ApiParam("零件号")
|
||||
private List<String> partNos;
|
||||
|
||||
@ApiParam("单组数量")
|
||||
private Integer count;
|
||||
|
||||
@ApiParam("组数")
|
||||
private Integer groupCount;
|
||||
|
||||
@ApiParam("总数")
|
||||
private Integer totalCount;
|
||||
|
||||
@ApiParam("开始时间")
|
||||
private String startTime;
|
||||
|
||||
@ApiParam("结束时间")
|
||||
private String endTime;
|
||||
|
||||
@ApiParam("均值图")
|
||||
private boolean xbar;
|
||||
|
||||
@ApiParam("极差图")
|
||||
private boolean rbar;
|
||||
|
||||
@ApiParam("正太分布图")
|
||||
private boolean normalDistribution;
|
||||
|
||||
public String getWorkCenterCode() {
|
||||
return workCenterCode;
|
||||
}
|
||||
|
||||
public void setWorkCenterCode(String workCenterCode) {
|
||||
this.workCenterCode = workCenterCode;
|
||||
}
|
||||
|
||||
public String getKeyData() {
|
||||
return keyData;
|
||||
}
|
||||
|
||||
public void setKeyData(String keyData) {
|
||||
this.keyData = keyData;
|
||||
}
|
||||
|
||||
public List<String> getPartNos() {
|
||||
return partNos;
|
||||
}
|
||||
|
||||
public void setPartNos(List<String> partNos) {
|
||||
this.partNos = partNos;
|
||||
}
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Integer getGroupCount() {
|
||||
return groupCount;
|
||||
}
|
||||
|
||||
public void setGroupCount(Integer groupCount) {
|
||||
this.groupCount = groupCount;
|
||||
}
|
||||
|
||||
public Integer getTotalCount() {
|
||||
return this.count * this.groupCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Integer totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public boolean isXbar() {
|
||||
return xbar;
|
||||
}
|
||||
|
||||
public void setXbar(boolean xbar) {
|
||||
this.xbar = xbar;
|
||||
}
|
||||
|
||||
public boolean isRbar() {
|
||||
return rbar;
|
||||
}
|
||||
|
||||
public void setRbar(boolean rbar) {
|
||||
this.rbar = rbar;
|
||||
}
|
||||
|
||||
public boolean isNormalDistribution() {
|
||||
return normalDistribution;
|
||||
}
|
||||
|
||||
public void setNormalDistribution(boolean normalDistribution) {
|
||||
this.normalDistribution = normalDistribution;
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/8/26 14:46
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class NormalDistributionModel {
|
||||
|
||||
@ApiParam("尺寸上限")
|
||||
private Double usl;
|
||||
|
||||
@ApiParam("尺寸下限")
|
||||
private Double lsl;
|
||||
|
||||
@ApiParam("柱状图")
|
||||
private List<Integer> bar = new ArrayList<>();
|
||||
|
||||
@ApiParam("曲线图")
|
||||
private List<Double> line = new ArrayList<>();
|
||||
|
||||
@ApiParam("平均均值-绿线")
|
||||
private List<Double> xAxis = new ArrayList<>();
|
||||
|
||||
@ApiParam("数据个数")
|
||||
private Integer totalCount;
|
||||
|
||||
@ApiParam("数据总数")
|
||||
private Double totalDataSum;
|
||||
|
||||
@ApiParam("平均均值")
|
||||
private Double xbarbar;
|
||||
|
||||
@ApiParam("平均极差")
|
||||
private Double rbar;
|
||||
|
||||
@ApiParam("最大值")
|
||||
private Double maxValue;
|
||||
|
||||
@ApiParam("最小值")
|
||||
private Double minValue;
|
||||
|
||||
@ApiParam("低于下限数据个数")
|
||||
private Integer belowLowerLimitCount;
|
||||
|
||||
@ApiParam("高于上限数据个数")
|
||||
private Integer aboveUpperLimitCount;
|
||||
|
||||
@ApiParam("d2")
|
||||
private Double d2;
|
||||
|
||||
@ApiParam("n")
|
||||
private Integer n;
|
||||
|
||||
@ApiParam("高能力指数")
|
||||
private Double cpu;
|
||||
|
||||
@ApiParam("低能力指数")
|
||||
private Double cpl;
|
||||
|
||||
@ApiParam("过程能力指数")
|
||||
private Double cp;
|
||||
|
||||
@ApiParam("过程能力")
|
||||
private Double cpk;
|
||||
|
||||
@ApiParam("过程比率")
|
||||
private Double cr;
|
||||
|
||||
@ApiParam("标准偏差n")
|
||||
private Double stdOffset;
|
||||
|
||||
@ApiParam("标准偏差n-1")
|
||||
private Double stdOffsetMinusOne;
|
||||
|
||||
@ApiParam("方差n")
|
||||
private Double variance;
|
||||
|
||||
@ApiParam("方差n-1")
|
||||
private Double varianceMinusOne;
|
||||
|
||||
@ApiParam("性能指数")
|
||||
private Double pp;
|
||||
|
||||
@ApiParam("性能比率")
|
||||
private Double pr;
|
||||
|
||||
@ApiParam("性能指数")
|
||||
private Double ppk;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/8/29 10:04 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class TorqueGatherModel {
|
||||
|
||||
@ApiParam("枪号")
|
||||
private String torqueNo;
|
||||
|
||||
@ApiParam("扭矩值")
|
||||
private String torqueValue;
|
||||
|
||||
@ApiParam("扭矩角")
|
||||
private String torqueAngle;
|
||||
|
||||
@ApiParam("是否合格")
|
||||
private String isQualified;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author adair.song
|
||||
* @date 2020/6/16 14:21
|
||||
* @desc 枪头更换计数弹框model
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("枪头更换计数弹框model")
|
||||
public class TorqueHeadChangeModel {
|
||||
|
||||
@ApiParam(name = "确认密码")
|
||||
private String passWord;
|
||||
|
||||
@ApiParam(name = "工厂")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam(name = "工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam(name = "工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
}
|
@ -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.MesSchedulingRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/8/29 5:15 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesSchedulingRecordRepository extends BaseRepository<MesSchedulingRecord, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesSpcControlCoefficient;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : if不良信息接口
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-06-28 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesSpcControlCoefficientRepository extends BaseRepository<MesSpcControlCoefficient, Long> {
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesSpcKeyData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : if不良信息接口
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-06-28 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesSpcKeyDataRepository extends BaseRepository<MesSpcKeyData, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue