From 2e98b20bea4463e4465e3c19059d0744a09aec06 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 27 Jun 2023 14:34:41 +0800
Subject: [PATCH] gb28181版本升级-补充

---
 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