using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace BPASmart.VariableManager.Models { public class ModbusTcp : ICommunicationDevice { /// /// 显示/隐藏设置 /// //public Visibility ModbusTcpVisible { get; set; } = Visibility.Collapsed; /// /// IP地址 /// public string IP { get; set; } = "192.168.0.1"; /// /// 端口号,默认 502 /// public int PortNum { get; set; } = 502; /// /// 站号,默认为 1 /// public int StationNo { get; set; } = 1; } }