Merge branch 'dev' into test
commit
ba1ba8bc0f
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class PlcEquStatusModel implements Serializable {
|
||||
|
||||
// 主站/从站
|
||||
@ApiParam("站位")
|
||||
private String stationPosition;
|
||||
|
||||
// 站位IP
|
||||
@ApiParam("IP地址")
|
||||
private String ipAddress;
|
||||
|
||||
// IP状态 -- 连接/断开
|
||||
@ApiParam("IP状态")
|
||||
private Integer ipStatus;
|
||||
|
||||
// 电检设备名称
|
||||
@ApiParam("电检设备名称")
|
||||
private String electricalEqu;
|
||||
|
||||
// 电检设备状态哦 -- 连接/断开
|
||||
@ApiParam("电检设备状态")
|
||||
private Integer electricalEquStatus;
|
||||
|
||||
// 产线状态
|
||||
@ApiParam("产线状态")
|
||||
private Integer workCenterStatus;
|
||||
|
||||
@ApiParam("停机类型")
|
||||
private Integer stopType;
|
||||
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("停机开始时间")
|
||||
private String stopStartTime;
|
||||
|
||||
@ApiParam("停机结束时间")
|
||||
private String stopEndTime;
|
||||
|
||||
@ApiParam("停机原因")
|
||||
private String stopReason;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipment;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface EquOperationStatusMonitorRepository extends BaseRepository<MesEquipment, Long> {
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.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 wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "IF_PICK_DATA")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("IF_拣货数据")
|
||||
public class IfPickData extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1057633269490937118L;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("区域代码")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "SECTION_NO")
|
||||
@ApiParam("区段编号")
|
||||
private String sectionNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("拣货数量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "SYNC_FLAG")
|
||||
@ApiParam("同步标识")
|
||||
private Integer syncFlag;
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.IfPickData;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
public interface IfPickDataRepository extends BaseRepository<IfPickData, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue