using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace BPASmart.Model { public class ModbusTcp : ICommunicationDevice { /// /// IP地址 /// public string IP { get; set; } = "192.168.0.1"; /// /// 端口号,默认 502 /// public int PortNum { get; set; } = 502; /// /// 站号,默认为 1 /// public int StationNo { get; set; } = 1; } }