using Aurora.Api.Devices; using System.IO.Ports; namespace AuroraLight.Fainstec { internal class ENLightConfig : LightConfig { public ENLightConfig() { ConnConfig = new SerialConnConfig() { PortNum = 1, BaudRate = 19200, Parity = Parity.None, StopBits = StopBits.One, DataBits = 8, ReadTimeout = 500 }; } public static new ENLightConfig GetDefaultConfig() { var config = new ENLightConfig(); config.ConnConfig = new SerialConnConfig() { PortNum = 1, BaudRate = 19200, Parity = Parity.None, StopBits = StopBits.One, DataBits = 8, ReadTimeout = 500 }; return config; } } }