Added code to check for LX200GPS firmware version 4G0m which does not support the GW command.

This commit is contained in:
2022-12-31 22:03:39 +00:00
parent 466d995873
commit 4b78d8fb4f
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -778,6 +778,10 @@ namespace ASCOM.Meade.net
case TelescopeList.LX800: case TelescopeList.LX800:
return FirmwareIsGreaterThan(TelescopeList.LX800_11i); return FirmwareIsGreaterThan(TelescopeList.LX800_11i);
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
if (SharedResourcesWrapper.FirmwareVersion.Equals(TelescopeList.LX200GPS_4G0M,
StringComparison.InvariantCultureIgnoreCase))
return false;
return FirmwareIsGreaterThan(TelescopeList.LX200GPS_42G); return FirmwareIsGreaterThan(TelescopeList.LX200GPS_42G);
case TelescopeList.RCX400: case TelescopeList.RCX400:
return FirmwareIsGreaterThan(TelescopeList.RCX400_22I); return FirmwareIsGreaterThan(TelescopeList.RCX400_22I);
+2
View File
@@ -29,6 +29,8 @@
public const string LX200GPS_42F = "4.2f"; public const string LX200GPS_42F = "4.2f";
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
public const string LX200GPS_42G = "4.2g"; public const string LX200GPS_42G = "4.2g";
public const string LX200GPS_4G0M = "4G0m";
#endregion #endregion
#region LX800 #region LX800