From 5d91fc5772177c8d25af5a25e4329cc52b0fe48e Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sat, 6 Feb 2021 21:54:18 +0000 Subject: [PATCH] create a P.O.C. for a text-to-speech feature. This is a very rough bit of code. This is for testing the possibilty/usability of having the program provide updates using the SpeechSynthesizer class. The initial intention is to have the program denote any change in power status ('gallery1' is now off', 'weld detected by factory1' Etc.) and, if it's any good, expand it from there. The code changes made here are incomplete but I'm packing up for the day and going home -- it's late. I'm logging the current changes for future reference. --- src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml | 9 ++++++--- .../EyesAndEars.UWP/MainPage.xaml.cs | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml index 92ecf9d..1a20946 100644 --- a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml @@ -7,9 +7,9 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource SystemControlAcrylicWindowBrush}"> - + - + @@ -28,6 +28,7 @@ + @@ -231,8 +232,10 @@ Unchecked="LogToggle_Unchecked" Checked="LogToggle_Checked" IsChecked="True"/> +