From f1d079f9c0b3d384090477ca54e0548373d62b57 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 16 Jan 2025 11:56:39 +0800
Subject: [PATCH] 配置修改

---
 src/main/java/com/genersoft/iot/vmp/netty/config/SysConfig.java |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/netty/config/SysConfig.java b/src/main/java/com/genersoft/iot/vmp/netty/config/SysConfig.java
new file mode 100644
index 0000000..454deb6
--- /dev/null
+++ b/src/main/java/com/genersoft/iot/vmp/netty/config/SysConfig.java
@@ -0,0 +1,26 @@
+package com.genersoft.iot.vmp.netty.config;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.stereotype.Component;
+
+/**
+ * netty 相关配置信息
+ * @author zhongrj
+ * @date 2023-02-21
+ */
+@Component
+@ConfigurationProperties(prefix="syscfg")
+public class SysConfig {
+    /**
+     * UDP消息接收端口
+     */
+    private int UdpReceivePort;
+
+    public int getUdpReceivePort() {
+        return UdpReceivePort;
+    }
+
+    public void setUdpReceivePort(int udpReceivePort) {
+        UdpReceivePort = udpReceivePort;
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3