aboutsummaryrefslogtreecommitdiff
path: root/NucLedController/MainWindow.xaml.cs
diff options
context:
space:
mode:
authorJames Barnett <james.barnett@fivium.co.uk>2017-08-29 12:21:38 +0100
committerJames Barnett <james.barnett@fivium.co.uk>2017-08-29 12:21:38 +0100
commit87ebd4bc76c85cd0f954b0e39c2e2757abff6b48 (patch)
tree6172feb7ab8643158d8bd7481d35635e65716e1c /NucLedController/MainWindow.xaml.cs
parentf51203de8436052c04b4c733a910791ed1d4e3f7 (diff)
downloadintel-nuc-led-controller-87ebd4bc76c85cd0f954b0e39c2e2757abff6b48.tar.xz
intel-nuc-led-controller-87ebd4bc76c85cd0f954b0e39c2e2757abff6b48.zip
Add CPU utilisaiton indicator modev0.3
Diffstat (limited to 'NucLedController/MainWindow.xaml.cs')
-rw-r--r--NucLedController/MainWindow.xaml.cs6
1 files changed, 6 insertions, 0 deletions
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
{