From 87ebd4bc76c85cd0f954b0e39c2e2757abff6b48 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Tue, 29 Aug 2017 12:21:38 +0100 Subject: Add CPU utilisaiton indicator mode --- NucLedController/MainWindow.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NucLedController/MainWindow.xaml.cs') diff --git a/NucLedController/MainWindow.xaml.cs b/NucLedController/MainWindow.xaml.cs index c33c522..81f5a55 100644 --- a/NucLedController/MainWindow.xaml.cs +++ b/NucLedController/MainWindow.xaml.cs @@ -54,6 +54,12 @@ namespace NucLedController currentControlMode.Start(); lableStatusText.Content = "Colour fade mode enabled"; } + else if (radioButtonCPUUsage.IsChecked ?? false) + { + currentControlMode = new CPUUsageIndicatorControlMode(2000); //TODO make configurable + currentControlMode.Start(); + lableStatusText.Content = "CPU utilisation indicator mode enabled"; + } } else { -- cgit v1.2.3