From 0df1227908cc94dea17768f79081d0b80df034f8 Mon Sep 17 00:00:00 2001 From: Jonas Arnold Date: Thu, 22 Dec 2022 22:01:13 +0100 Subject: [PATCH] updated UI, redesigned, implemented state indicators for robot mobile and stationary --- ADIS_Csharp/RobotClientWpf/MainWindow.xaml | 45 ++++-- ADIS_Csharp/RobotClientWpf/MainWindow.xaml.cs | 41 ++++- .../Utilities/UIAccessHelpers.cs | 6 +- .../RobotClientWpf/Views/ConfigView.xaml | 2 +- .../RobotClientWpf/Views/MainView.xaml | 144 +++++++++--------- .../RobotClientWpf/Views/MainView.xaml.cs | 15 -- ADIS_Csharp/RobotLib/Battery/DevBattery.cs | 40 +++-- .../Battery/LastResponseUpdateEventArgs.cs | 24 +++ ADIS_Csharp/RobotLib/Robot.cs | 36 ++--- 9 files changed, 211 insertions(+), 142 deletions(-) create mode 100644 ADIS_Csharp/RobotLib/Battery/LastResponseUpdateEventArgs.cs diff --git a/ADIS_Csharp/RobotClientWpf/MainWindow.xaml b/ADIS_Csharp/RobotClientWpf/MainWindow.xaml index 8070122..ae999e5 100644 --- a/ADIS_Csharp/RobotClientWpf/MainWindow.xaml +++ b/ADIS_Csharp/RobotClientWpf/MainWindow.xaml @@ -12,16 +12,38 @@ - - + + - - - 192.168.156.156 - - + + + + + + + + + 192.168.156.156 + + + + + + + + + + + + + +