namespace DeviceCommand.Base { /// /// TCP 通信参数(DeviceCommand 内部纯数据类,供设备类构造函数使用)。 /// 与 UIShare.UIViewModel.TcpConfigVM 字段一一对应,由 DeviceManager 在实例化时填充。 /// public class TcpConfig { public string IPAddress { get; set; } = "127.0.0.1"; public int Port { get; set; } = 502; public int SendTimeout { get; set; } = 3000; public int ReceiveTimeout { get; set; } = 3000; } }