using System; using RGB.NET.Core; namespace RGB.NET.Devices.SteelSeries { /// /// /// Represents a generic information for a SteelSeries-. /// public class SteelSeriesRGBDeviceInfo : IRGBDeviceInfo { #region Properties & Fields /// public RGBDeviceType DeviceType { get; } /// public string DeviceName { get; } /// public string Manufacturer => "SteelSeries"; /// public string Model { get; } /// public Uri Image { get; set; } /// public RGBDeviceLighting Lighting => RGBDeviceLighting.Key; /// public bool SupportsSyncBack => false; public SteelSeriesDeviceType SteelSeriesDeviceType { get; } /// /// Gets the layout used to decide which images to load. /// internal string ImageLayout { get; } /// /// Gets the path/name of the layout-file. /// internal string LayoutPath { get; } #endregion #region Constructors /// /// Internal constructor of managed . /// /// The type of the . /// The represented device model. /// The lighting-capabilities of the device. /// The layout used to decide which images to load. /// The path/name of the layout-file. internal SteelSeriesRGBDeviceInfo(RGBDeviceType deviceType, string model, SteelSeriesDeviceType steelSeriesDeviceType, string imageLayout, string layoutPath) { this.DeviceType = deviceType; this.Model = model; this.SteelSeriesDeviceType = steelSeriesDeviceType; this.ImageLayout = imageLayout; this.LayoutPath = layoutPath; DeviceName = $"{Manufacturer} {Model}"; } #endregion } }