| New file |
| | |
| | | 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; |
| | | } |
| | | } |