上饶市公安局wvp平台
zhongrj
2025-01-16 f1d079f9c0b3d384090477ca54e0548373d62b57
src/main/java/com/genersoft/iot/vmp/netty/config/SysConfig.java
New file
@@ -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;
    }
}