private static void PlayRandomEffect(AuraMethod method, SynchronousOptionInput syncOption, UpsOptionInput upsOption) { Console.Clear(); PrintLine("Setting all colors..."); if (method == AuraMethod.AuraDev) { if (syncOption == SynchronousOptionInput.Synchronous) { AuraDev.PlayRandomEffectSync(GetUps(upsOption)); } else { AuraDev.PlayRandomEffectAsync(GetUps(upsOption)); } } if (method == AuraMethod.AuraSdk) { if (syncOption == SynchronousOptionInput.Synchronous) { AuraSync.PlayRandomEffectSync(GetUps(upsOption)); } else { AuraSync.PlayRandomEffectAsync(GetUps(upsOption)); } } }
private static void SetAllColors(AuraMethod method, Color color) { Console.Clear(); PrintLine("Setting all colors..."); if (method == AuraMethod.AuraDev) { AuraDev.ChangeAllDevicesColor(color); } if (method == AuraMethod.AuraSdk) { AuraSync.ChangeAllDevicesColor(color); } ContinueLine(); }
private static void PrintDeviceInfo() { AuraDev.PrintDeviceInfo(); ContinueLine(); }