From bc01a9a106c48da4d4051a7d92580166c9f326de Mon Sep 17 00:00:00 2001 From: Jerker Dahlblom Date: Sat, 25 Nov 2023 15:42:41 +0200 Subject: [PATCH 1/2] poll time 100ms added --- src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs | 1 + .../DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs b/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs index 411e4cd..4d2e8a0 100644 --- a/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs +++ b/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs @@ -175,6 +175,7 @@ protected override void BuildUI() VerticalAlignment = VerticalAlignment.Center }; ComboBoxPollTimes.DataContextChanged += ComboBoxPollTimes_OnDataContextChanged; + ComboBoxPollTimes.Items.Add(100); ComboBoxPollTimes.Items.Add(500); ComboBoxPollTimes.Items.Add(1000); ComboBoxPollTimes.Items.Add(2000); diff --git a/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs b/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs index 7df4678..353f601 100644 --- a/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs +++ b/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs @@ -195,6 +195,7 @@ protected override void BuildUI() VerticalAlignment = VerticalAlignment.Center }; ComboBoxPollTimes.DataContextChanged += ComboBoxPollTimes_OnDataContextChanged; + ComboBoxPollTimes.Items.Add(100); ComboBoxPollTimes.Items.Add(500); ComboBoxPollTimes.Items.Add(1000); ComboBoxPollTimes.Items.Add(2000); From 362e309d457baab9f901bf97ac071e1421d849e5 Mon Sep 17 00:00:00 2001 From: Jerker Dahlblom Date: Sat, 25 Nov 2023 15:46:16 +0200 Subject: [PATCH 2/2] added 50ms polling --- src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs | 1 + .../DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs b/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs index 4d2e8a0..fe8feaa 100644 --- a/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs +++ b/src/client/DCSInsight/UserControls/UserControlAPI.xaml.cs @@ -175,6 +175,7 @@ protected override void BuildUI() VerticalAlignment = VerticalAlignment.Center }; ComboBoxPollTimes.DataContextChanged += ComboBoxPollTimes_OnDataContextChanged; + ComboBoxPollTimes.Items.Add(50); ComboBoxPollTimes.Items.Add(100); ComboBoxPollTimes.Items.Add(500); ComboBoxPollTimes.Items.Add(1000); diff --git a/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs b/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs index 353f601..ea12884 100644 --- a/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs +++ b/src/client/DCSInsight/UserControls/UserControlLoSetCommandAPI.xaml.cs @@ -195,6 +195,7 @@ protected override void BuildUI() VerticalAlignment = VerticalAlignment.Center }; ComboBoxPollTimes.DataContextChanged += ComboBoxPollTimes_OnDataContextChanged; + ComboBoxPollTimes.Items.Add(50); ComboBoxPollTimes.Items.Add(100); ComboBoxPollTimes.Items.Add(500); ComboBoxPollTimes.Items.Add(1000);