using System; using TeamAAS_VP.Enums; namespace TeamAAS_VP.Models.ScrewDriver { /// /// 电批配置,仅包含单个设备的必要信息。 /// public class ScrewDriverConfig { /// /// 设备 IP 地址 /// public string IPAdress { get; set; } = "127.0.0.1"; /// /// 设备端口 /// public int Port { get; set; } = 10001; /// /// 品牌 /// public ElectricScrewdriverBrand Brand { get; set; } = ElectricScrewdriverBrand.XYD; /// /// 发送超时(ms) /// public int SendTimeout { get; set; } = 1000; /// /// 接收超时(ms) /// public int ReceiveTimeout { get; set; } = 2000; } }