Merge remote-tracking branch 'origin/test' into test
commit
36df78c9b4
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : siliter
|
||||
* @CreateDate : 2019-03-07 09:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_PLC_COLOR_CFG")
|
||||
@Api(value="PLC三色灯控制")
|
||||
public class AndonPlcColorCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3284234821448131212L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="RED_PLC_CODE")
|
||||
@ApiParam(value ="红灯PLC代码")
|
||||
private String redPlcCode;
|
||||
|
||||
@Column(name="YELLOW_PLC_CODE")
|
||||
@ApiParam(value ="黄灯PLC代码")
|
||||
private String yellowPlcCode;
|
||||
|
||||
@Column(name="GREEN_PLC_CODE")
|
||||
@ApiParam(value ="绿灯PLC代码")
|
||||
private String greenPlcCode;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActionModule;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonPlcColorCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonPlcColorCfgRepository extends BaseRepository<AndonPlcColorCfg, Long> {
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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.Index;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/9/23 18:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_ALARM_RECORD", indexes = {
|
||||
@Index(columnList = "WORK_CENTER_CODE")
|
||||
})
|
||||
@Api("设备自动报警记录表")
|
||||
public class MesEquAlarmRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1675134362612851879L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "ALARM_LEVEL")
|
||||
@ApiParam("报警等级")
|
||||
private Integer alarmLevel;
|
||||
|
||||
@Column(name = "ALARM_START_TIME")
|
||||
@ApiParam("报警开始时间")
|
||||
private String alarmStartTime;
|
||||
|
||||
@Column(name = "ALARM_STOP_TIME")
|
||||
@ApiParam("报警开始时间")
|
||||
private String alarmStopTime;
|
||||
}
|
Loading…
Reference in New Issue