From 40a3a998ac10f429bffff06cacb72ef301f487f8 Mon Sep 17 00:00:00 2001 From: AJ Date: Mon, 1 Jan 2024 12:38:28 +0000 Subject: [PATCH] I seem to have forgotten to push this before holidays?? --- NavGraph/NavGraph.csproj | 2 +- NavGraph/Src/NavGraph.cs | 2 -- NavGraph/Src/Navigator.cs | 12 ++++++------ WinForms/.idea/.idea.WinForms/.idea/.gitignore | 13 +++++++++++++ WinForms/.idea/.idea.WinForms/.idea/encodings.xml | 4 ++++ WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml | 8 ++++++++ WinForms/.idea/.idea.WinForms/.idea/vcs.xml | 7 +++++++ 7 files changed, 39 insertions(+), 9 deletions(-) create mode 100644 WinForms/.idea/.idea.WinForms/.idea/.gitignore create mode 100644 WinForms/.idea/.idea.WinForms/.idea/encodings.xml create mode 100644 WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml create mode 100644 WinForms/.idea/.idea.WinForms/.idea/vcs.xml diff --git a/NavGraph/NavGraph.csproj b/NavGraph/NavGraph.csproj index fa71b7a..a1ed5b3 100644 --- a/NavGraph/NavGraph.csproj +++ b/NavGraph/NavGraph.csproj @@ -1,7 +1,7 @@  - net8.0 + net7.0 enable enable diff --git a/NavGraph/Src/NavGraph.cs b/NavGraph/Src/NavGraph.cs index da10e01..8610b2e 100644 --- a/NavGraph/Src/NavGraph.cs +++ b/NavGraph/Src/NavGraph.cs @@ -44,8 +44,6 @@ internal int AvailableUID IncludeFields = true, WriteIndented = true, PropertyNameCaseInsensitive = true, - PreferredObjectCreationHandling = JsonObjectCreationHandling.Replace, - }; #endregion diff --git a/NavGraph/Src/Navigator.cs b/NavGraph/Src/Navigator.cs index 99347f6..2b91f68 100644 --- a/NavGraph/Src/Navigator.cs +++ b/NavGraph/Src/Navigator.cs @@ -2,7 +2,7 @@ namespace NavGraphTools { - public class Navigator + /*public class Navigator { #region Variables private NavNode? Origin { get; set; } @@ -44,10 +44,10 @@ public List Nearest(ref NavGraph _NG) where T : ISpecialNodes { List Path = new List(); - if (typeof(T) == typeof(ElevationNode) && CurrentLocation.ElvNodeDirection != null) - { return ElvFlowFollower(ref _NG); } - else if (typeof(T) == typeof(GatewayNode) && CurrentLocation.GatewayNodeDirection != null) - { return GateFlowFollower(ref _NG); } + //if (typeof(T) == typeof(ElevationNode) && CurrentLocation.ElvNodeDirection != null) + //{ return ElvFlowFollower(ref _NG); } + //else if (typeof(T) == typeof(GatewayNode) && CurrentLocation.GatewayNodeDirection != null) + //{ return GateFlowFollower(ref _NG); } return new List(); } @@ -86,5 +86,5 @@ public void Navigate(ref NavGraph _NG) { } - } + }*/ } diff --git a/WinForms/.idea/.idea.WinForms/.idea/.gitignore b/WinForms/.idea/.idea.WinForms/.idea/.gitignore new file mode 100644 index 0000000..b8d521a --- /dev/null +++ b/WinForms/.idea/.idea.WinForms/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/.idea.WinForms.iml +/contentModel.xml +/projectSettingsUpdater.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/WinForms/.idea/.idea.WinForms/.idea/encodings.xml b/WinForms/.idea/.idea.WinForms/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/WinForms/.idea/.idea.WinForms/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml b/WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/WinForms/.idea/.idea.WinForms/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/WinForms/.idea/.idea.WinForms/.idea/vcs.xml b/WinForms/.idea/.idea.WinForms/.idea/vcs.xml new file mode 100644 index 0000000..62bd7a0 --- /dev/null +++ b/WinForms/.idea/.idea.WinForms/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file