Пример #1
0
 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"));
     }
 }
Пример #2
0
 private static ParameterCategory getCategory(string serialNumber)
 {
     return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber));
 }
Пример #3
0
 private static ParameterCategory getCategory(string serialNumber, int panelID)
 {
     return(ParameterCategoryTools.FromNames("Nanoleaf", serialNumber, $"Canvas {panelID}"));
 }