Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
ff45755577
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/9 15:35
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class TjMgnBoardEquipmentMonitorModel {
|
||||
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("横坐标")
|
||||
private Double xAxes = 0d;
|
||||
|
||||
@ApiParam("纵坐标")
|
||||
private Double yAxes = 0d;
|
||||
|
||||
@ApiParam("工位状态")
|
||||
private String workCellStatus;
|
||||
|
||||
@ApiParam("颜色")
|
||||
private String color;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,5 +1,6 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi.Pn;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamImplicit;
|
||||
import lombok.Data;
|
@ -1,5 +1,6 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi.Part;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.StringUtils;
|
@ -1,5 +1,6 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi.Part;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import io.swagger.annotations.ApiParam;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj.edi;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import io.swagger.annotations.ApiParam;
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.model.softswitch;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseParam;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* 软适配执行适配器(客户端服务端适配总入口)
|
||||
* 所需的参数模型
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-10-28 15:51
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SuitModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8981933192688480221L;
|
||||
|
||||
@ApiParam(value = "适配器代码")
|
||||
private String suitCaseCode;
|
||||
|
||||
@ApiParam(value = "适配SID")
|
||||
private String suitSid;
|
||||
|
||||
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.REQUEST_SOURCE.class)
|
||||
@ApiParam(value = "适配来源")
|
||||
private Integer requestSource;
|
||||
|
||||
@ApiParam(value = "重试记录id")
|
||||
private Long retryRecordId;
|
||||
|
||||
@ApiParam(value = "适配器参数XML")
|
||||
private String paramXml;
|
||||
|
||||
@ApiParam(value = "适配器参数")
|
||||
private List<BsSuitCaseParam> bsSuitCaseParamList;
|
||||
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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 : jimmy.zeng
|
||||
* @CreateDate : 2020-10-28 9:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PLC")
|
||||
@Api("WMSPLC配置表")
|
||||
public class WmsPlc extends BaseBean {
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "PLC_NAME")
|
||||
@ApiParam("PLC名称")
|
||||
private String plcName;
|
||||
|
||||
@Column(name = "BUSI_TYPE")
|
||||
@ApiParam("业务类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.PLC_BUSI_TYPE.class)
|
||||
private Integer busiType;
|
||||
|
||||
@Column(name = "OPC_URL")
|
||||
@ApiParam("OPC路径")
|
||||
private String opcUrl;
|
||||
|
||||
@Column(name = "CHANNEL")
|
||||
@ApiParam("通道")
|
||||
private String channel;
|
||||
|
||||
@Column(name = "DEVICE")
|
||||
@ApiParam("终端")
|
||||
private String device;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam("标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam("标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签数据类型")
|
||||
private String dataType;
|
||||
|
||||
/*@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签类别")
|
||||
private Integer dataType;*/
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("用户名")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "PASSWORD")
|
||||
@ApiParam("密码")
|
||||
private String password;
|
||||
|
||||
@Column(name = "START_VALUE")
|
||||
@ApiParam("开始节点")
|
||||
private Integer startValue;
|
||||
|
||||
@Column(name = "end_VALUE")
|
||||
@ApiParam("结束节点")
|
||||
private Integer endValue;
|
||||
|
||||
@Column(name = "NAME_SPACE_INDEX")
|
||||
@ApiParam("空间索引")
|
||||
private Integer nameSpaceIndex = 2;
|
||||
|
||||
@Column(name = "REQUEST_INTERVAL")
|
||||
@ApiParam("请求间隔")
|
||||
private Double requestInterval = 500.0;
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPlc;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-10-28 10:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPlcRepository extends BaseRepository<WmsPlc, Long> {
|
||||
}
|
Loading…
Reference in New Issue