From f1e1038555a188220c6e8c98e17718a0ec1eda78 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 10 Apr 2026 11:17:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E4=BB=AA=E5=99=A8=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E4=BB=AA=E5=99=A8=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hxhq/business/domain/Yq.java | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/Yq.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/Yq.java index c140189..e33eeef 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/Yq.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/Yq.java @@ -98,6 +98,36 @@ public class Yq extends MpBaseEntity { @TableField(updateStrategy = FieldStrategy.IGNORED) private String fzdd; + /** + * 串口号 + */ + private String serialPort; + + /** + * 波普率 + */ + private Integer baudRate; + + /** + * 数据位 + */ + private Integer byteSize; + + /** + * 奇偶校验:N=无校验,O=奇校验,E=偶校验 + */ + private String parity; + + /** + * 取值指令 + */ + private String cmd; + + /** + * 16进制取值指令 + */ + private String cmdHex; + public String getCcwzInfo() { return ccwzInfo; } @@ -185,4 +215,52 @@ public class Yq extends MpBaseEntity { public void setBmMc(String bmMc) { this.bmMc = bmMc; } + + public String getSerialPort() { + return serialPort; + } + + public void setSerialPort(String serialPort) { + this.serialPort = serialPort; + } + + public Integer getBaudRate() { + return baudRate; + } + + public void setBaudRate(Integer baudRate) { + this.baudRate = baudRate; + } + + public Integer getByteSize() { + return byteSize; + } + + public void setByteSize(Integer byteSize) { + this.byteSize = byteSize; + } + + public String getParity() { + return parity; + } + + public void setParity(String parity) { + this.parity = parity; + } + + public String getCmd() { + return cmd; + } + + public void setCmd(String cmd) { + this.cmd = cmd; + } + + public String getCmdHex() { + return cmdHex; + } + + public void setCmdHex(String cmdHex) { + this.cmdHex = cmdHex; + } }