private static ParameterCategory getCategory(string serialNumber, Panel panel, bool usePanelID) { if (usePanelID) { return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber, "PanelIDs")); } else { return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber, "Coordinates")); } }
private static ParameterCategory getCategory(string serialNumber) { return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber)); }
private static ParameterCategory getCategory(string serialNumber, int panelID) { return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber, $"Canvas {panelID}")); }