From 151ab5676b76711854b3e0cf0ed32afb8e8dcbf0 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 29 Jun 2023 14:18:45 +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