Added code to check for LX200GPS firmware version 4G0m which does not support the GW command.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user