using Aurora.Api; using Aurora.Api.DataType; using Aurora.Api.Devices; using PropertyTools.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AuroraLaser.Coherent.Arm { public class LaserArmConfig : IDeviceConfig { [Category("Address")] public IConnConfig ConnConfig { get; set; } public LaserArmConfig() { ConnConfig = new SocketConnConfig() { Address = new SocketAddress() { IpAddress = "10.10.16.80", PortNumber = 5022 }, Protocol = SocketProtocol.UDP, ResponseTimeMS = 1000 }; } public static LaserArmConfig GetDefaultConfig() { return new LaserArmConfig(); } } }