diff --git a/Meade.net.Telescope/Meade.net.Telescope.csproj b/Meade.net.Telescope/Meade.net.Telescope.csproj index d7431b6..e6eecaa 100644 --- a/Meade.net.Telescope/Meade.net.Telescope.csproj +++ b/Meade.net.Telescope/Meade.net.Telescope.csproj @@ -15,7 +15,7 @@ 3.5 - v4.5 + v4.7.2 ASCOM.ico true ASCOMDriverTemplate.snk diff --git a/Meade.net.Telescope/Properties/Settings.Designer.cs b/Meade.net.Telescope/Properties/Settings.Designer.cs index 67ea42d..c23ba31 100644 --- a/Meade.net.Telescope/Properties/Settings.Designer.cs +++ b/Meade.net.Telescope/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace ASCOM.Meade.net.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index c208cc9..d0716fb 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -1606,13 +1606,11 @@ namespace ASCOM.Meade.net //:Gg# Get Current Site Longitude //Returns: sDDD*MM# //The current site Longitude. East Longitudes are expressed as negative - double siteLongitude = _utilities.DMSToDegrees(longitude); - - if (siteLongitude > 180) - siteLongitude = siteLongitude - 360; - - siteLongitude = -siteLongitude; + double siteLongitude = -_utilities.DMSToDegrees(longitude); + if (siteLongitude < -180) + siteLongitude = siteLongitude + 360; + LogMessage("SiteLongitude Get", $"{_utilitiesExtra.DegreesToDMS(siteLongitude)}"); return siteLongitude; } diff --git a/Meade.net.Telescope/app.config b/Meade.net.Telescope/app.config index 66e0395..c8fc52c 100644 --- a/Meade.net.Telescope/app.config +++ b/Meade.net.Telescope/app.config @@ -5,4 +5,4 @@
- + diff --git a/Meade.net.focuser/Meade.net.focuser.csproj b/Meade.net.focuser/Meade.net.focuser.csproj index 9bf14ad..80083ce 100644 --- a/Meade.net.focuser/Meade.net.focuser.csproj +++ b/Meade.net.focuser/Meade.net.focuser.csproj @@ -15,7 +15,7 @@ 3.5 - v4.5 + v4.7.2 ASCOM.ico true ASCOMDriverTemplate.snk diff --git a/Meade.net.focuser/Properties/Settings.Designer.cs b/Meade.net.focuser/Properties/Settings.Designer.cs index 67ea42d..c23ba31 100644 --- a/Meade.net.focuser/Properties/Settings.Designer.cs +++ b/Meade.net.focuser/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace ASCOM.Meade.net.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/Meade.net.focuser/app.config b/Meade.net.focuser/app.config index 66e0395..c8fc52c 100644 --- a/Meade.net.focuser/app.config +++ b/Meade.net.focuser/app.config @@ -5,4 +5,4 @@
- + diff --git a/Meade.net/Meade.net.csproj b/Meade.net/Meade.net.csproj index f3a6c03..e733b60 100644 --- a/Meade.net/Meade.net.csproj +++ b/Meade.net/Meade.net.csproj @@ -10,7 +10,7 @@ Properties ASCOM.Meade.net ASCOM.Meade.net.Server - v4.5 + v4.7.2 2.0 diff --git a/Meade.net/app.config b/Meade.net/app.config index c5e1dae..5c22b42 100644 --- a/Meade.net/app.config +++ b/Meade.net/app.config @@ -1,3 +1,3 @@ - +