修改PLC信号读取
This commit is contained in:
@@ -30,6 +30,10 @@ public class MsgDdj extends BaseEntity
|
||||
@Excel(name = "堆垛机名称")
|
||||
private String name;
|
||||
|
||||
private String ip;
|
||||
|
||||
private String port;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private Long rwh;
|
||||
@@ -101,6 +105,7 @@ public class MsgDdj extends BaseEntity
|
||||
private String trayCode;
|
||||
|
||||
private String plcDbReadAddress;
|
||||
private String plcDbWriteAddress;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,10 +24,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="spare1" column="spare1" />
|
||||
<result property="spare2" column="spare2" />
|
||||
<result property="spare3" column="spare3" />
|
||||
<result property="ip" column="ip" />
|
||||
<result property="port" column="port" />
|
||||
<result property="plcDbReadAddress" column="plc_db_read_address" />
|
||||
<result property="plcDbWriteAddress" column="plc_db_write_address" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMsgDdjVo">
|
||||
select id, name, rwh, jdbz, sbzt, czfs, yxxf, yph, ylh, ych, mbph, mblh, mbch, xtxh, dqxd, hczt, spare1, spare2, spare3 from msg_ddj
|
||||
select id, name, rwh, jdbz, sbzt, czfs, yxxf, yph, ylh, ych, mbph, mblh, mbch, xtxh, dqxd, hczt, spare1, spare2, spare3,ip,port,plc_db_read_address,plc_db_write_address from msg_ddj
|
||||
</sql>
|
||||
|
||||
<select id="selectMsgDdjList" parameterType="MsgDdj" resultMap="MsgDdjResult">
|
||||
|
||||
Reference in New Issue
Block a user