Merge remote-tracking branch 'origin/dev' into test
commit
298a3c1ddf
@ -0,0 +1,38 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 安灯类型
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_ALARM_TYPE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯类型")
|
||||
public class AndonAlarmType extends BaseBean {
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ALARM_NAME")
|
||||
@ApiParam(value = "安灯类型名称")
|
||||
private String alarmName;
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : ANDON_PLC控制
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-10 17:32
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_PLC")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯PLC控制")
|
||||
public class AndonPLC extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "NODE_CODE")
|
||||
@ApiParam(value = "控制节点代码")
|
||||
private String nodeCode;
|
||||
|
||||
@Column(name = "NODE_IP")
|
||||
@ApiParam(value = "IP地址")
|
||||
private String nodeIP;
|
||||
|
||||
@Column(name = "CHANNEL_NAME")
|
||||
@ApiParam(value = "通道名称")
|
||||
private String channelName;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam(value = "标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam(value = "标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "TAG_TYPE")
|
||||
@ApiParam(value = "标签类型")
|
||||
private String tagType;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam(value = "分组号")
|
||||
private String groupNo;
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : ANDON_PLC监控记录
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-10 17:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_PLC_RECORD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯PLC监控记录")
|
||||
public class AndonPLCRecord extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "NODE_CODE")
|
||||
@ApiParam(value = "控制节点代码")
|
||||
private String nodeCode;
|
||||
|
||||
@Column(name = "NODE_IP")
|
||||
@ApiParam(value = "IP地址")
|
||||
private String nodeIP;
|
||||
|
||||
@Column(name = "CHANNEL_NAME")
|
||||
@ApiParam(value = "通道名称")
|
||||
private String channelName;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam(value = "标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam(value = "标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "TAG_TYPE")
|
||||
@ApiParam(value = "标签类型")
|
||||
private String tagType;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam(value = "分组号")
|
||||
private String groupNo;
|
||||
|
||||
@Column(name = "TAG_VALUE")
|
||||
@ApiParam(value = "标签数值")
|
||||
private String tagValue;
|
||||
|
||||
@Column(name = "TAG_POINT")
|
||||
@ApiParam(value = "传递方向")
|
||||
private String tagPoint;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmType;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯类型信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAlarmTypeRepository extends BaseRepository<AndonAlarmType,Long> {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.pojo.andon.sqlpack;
|
||||
|
||||
/**
|
||||
* @Description : 安灯对象查询封装
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 10:45
|
||||
* @Modify:
|
||||
**/
|
||||
public class AndonHqlPack {
|
||||
}
|
Loading…
Reference in New Issue