From caf2599a9869244ded811018811c37a2aabac3fc Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期三, 08 一月 2025 11:29:05 +0800 Subject: [PATCH] 优化测温协议 --- src/main/java/com/fzzy/gateway/entity/GatewayConf.java | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 43 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayConf.java b/src/main/java/com/fzzy/gateway/entity/GatewayConf.java index cec0d22..2284dd6 100644 --- a/src/main/java/com/fzzy/gateway/entity/GatewayConf.java +++ b/src/main/java/com/fzzy/gateway/entity/GatewayConf.java @@ -28,17 +28,57 @@ @Column(name = "kqmc", length = 100) private String kqmc; - @PropertyDef(label = "鐢ㄦ埛鍚�") + @PropertyDef(label = "缃戝叧ID") + @Column(name = "gatewayId", length = 50) + private String gatewayId; + + @PropertyDef(label = "缃戝叧IP") + @Column(name = "gatewayIp", length = 20) + private String gatewayIp; + + @PropertyDef(label = "缃戝叧Mac") + @Column(name = "gatewayMac", length = 20) + private String gatewayMac; + + @PropertyDef(label = "缃戝叧CPU") + @Column(name = "gatewayCPU", length = 50) + private String gatewayCPU; + + @PropertyDef(label = "缃戝叧鍐呭瓨") + @Column(name = "gatewayMem", length = 50) + private String gatewayMem; + + @PropertyDef(label = "缃戝叧纭洏") + @Column(name = "gatewayHardDisk", length = 50) + private String gatewayHardDisk; + + @PropertyDef(label = "缃戝叧鐢ㄦ埛鍚�") + @Column(name = "gatewayUsername", length = 50) + private String gatewayUsername; + + @PropertyDef(label = "缃戝叧瀵嗙爜") + @Column(name = "gatewayPassword", length = 50) + private String gatewayPassword; + + @PropertyDef(label = "鐪佸钩鍙扮敤鎴峰悕") @Column(name = "username", length = 50) private String userName; - @PropertyDef(label = "瀵嗙爜") + @PropertyDef(label = "鐪佸钩鍙板瘑鐮�") @Column(name = "password", length = 50) private String password; @PropertyDef(label = "鐪佸钩鍙板姞瀵嗗叕閽�") @Column(name = "publicKey", length = 200) private String publicKey; + + @PropertyDef(label = "鐪佸钩鍙板姞瀵嗙閽�") + @Column(name = "privateKey", length = 200) + private String privateKey; + + @PropertyDef(label = "鐪佸钩鍙伴壌鏉冨彛浠�") + @Column(name = "accessToken", length = 200) + private String accessToken; @PropertyDef(label = "鐪佸钩鍙版帴鍙e湴鍧�") @Column(name = "apiUrl", length = 200) @@ -54,6 +94,6 @@ @PropertyDef(label = "鏄惁涓婄嚎") @Column(name = "exe_tag", length = 2) - private String exeTag ="Y"; + private String exeTag = "Y"; } -- Gitblit v1.9.3