Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
494fc4aa70
@ -0,0 +1,46 @@
|
||||
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_事件处理方法
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_EVENT_METHOD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_事件处理方法")
|
||||
public class AndonEventMethod extends BaseBean {
|
||||
|
||||
@Column(name = "EM_CODE")
|
||||
@ApiParam(value = "事件方法代码")
|
||||
private String emCode;
|
||||
|
||||
@Column(name = "EM_NAME")
|
||||
@ApiParam(value = "事件方法描述")
|
||||
private String emName;
|
||||
|
||||
@Column(name = "PARENT_EM_CODE")
|
||||
@ApiParam(value = "父阶方法代码")
|
||||
private String parentEmCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package cn.estsh.i3plus.pojo.model.andon;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AndonOpcModel {
|
||||
|
||||
/**
|
||||
* 通常为localhost
|
||||
*/
|
||||
@ApiParam("opcserver地址-ip")
|
||||
private String host;
|
||||
|
||||
/**
|
||||
* opcserver的名称
|
||||
*/
|
||||
@ApiParam("opcserver名称")
|
||||
private String serverProgId;
|
||||
|
||||
/**
|
||||
* 一般为channel
|
||||
*/
|
||||
@ApiParam("第一层路径")
|
||||
private String accessPath;
|
||||
|
||||
/**
|
||||
* 一般为device.tag
|
||||
*/
|
||||
@ApiParam("剩余路径名称")
|
||||
private String itemName;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.model.andon;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AndonResultBean {
|
||||
|
||||
@ApiParam("是否成功")
|
||||
private boolean success;
|
||||
|
||||
@ApiParam("处理信息")
|
||||
private String msg;
|
||||
|
||||
@ApiParam("处理结果")
|
||||
private String result;
|
||||
|
||||
public AndonResultBean(boolean success, String msg) {
|
||||
super();
|
||||
this.success = success;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public AndonResultBean(boolean success, String msg, String result) {
|
||||
super();
|
||||
this.success = success;
|
||||
this.msg = msg;
|
||||
this.result = result;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue