Added LX800 series to scope as an autostar II based telescope.

This commit is contained in:
2022-11-12 20:50:48 +00:00
parent 21d1d93235
commit 888ab1aa46
2 changed files with 19 additions and 2 deletions
+12 -2
View File
@@ -582,6 +582,7 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.RCX400: case TelescopeList.RCX400:
case TelescopeList.LX800:
{ {
LogMessage("SendTimeTimeToHandbox", LogMessage("SendTimeTimeToHandbox",
$"{SharedResourcesWrapper.ProductName} Detecting if daylight savings message on screen: {_profileProperties.SendDateTime}"); $"{SharedResourcesWrapper.ProductName} Detecting if daylight savings message on screen: {_profileProperties.SendDateTime}");
@@ -655,7 +656,8 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.RCX400: case TelescopeList.RCX400:
{ case TelescopeList.LX800:
{
var displayText = Action("Handbox", "readdisplay"); var displayText = Action("Handbox", "readdisplay");
if (displayText.Contains("Daylight")) if (displayText.Contains("Daylight"))
@@ -725,6 +727,7 @@ namespace ASCOM.Meade.net
case TelescopeList.Autostar497: case TelescopeList.Autostar497:
return FirmwareIsGreaterThan(TelescopeList.Autostar497_31Ee); return FirmwareIsGreaterThan(TelescopeList.Autostar497_31Ee);
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.LX800:
return true; return true;
case TelescopeList.RCX400: case TelescopeList.RCX400:
return FirmwareIsGreaterThan(TelescopeList.RCX400_22I); return FirmwareIsGreaterThan(TelescopeList.RCX400_22I);
@@ -756,6 +759,7 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.RCX400: case TelescopeList.RCX400:
case TelescopeList.LX800:
return true; return true;
default: default:
return false; return false;
@@ -771,6 +775,8 @@ namespace ASCOM.Meade.net
case TelescopeList.Audiostar: case TelescopeList.Audiostar:
case TelescopeList.Autostar497: case TelescopeList.Autostar497:
return FirmwareIsGreaterThan(TelescopeList.Autostar497_43Eg); return FirmwareIsGreaterThan(TelescopeList.Autostar497_43Eg);
case TelescopeList.LX800:
return FirmwareIsGreaterThan(TelescopeList.LX800_11i);
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
return FirmwareIsGreaterThan(TelescopeList.LX200GPS_42G); return FirmwareIsGreaterThan(TelescopeList.LX200GPS_42G);
case TelescopeList.RCX400: case TelescopeList.RCX400:
@@ -1243,6 +1249,7 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.RCX400: case TelescopeList.RCX400:
case TelescopeList.LX800:
return GetRealTelescopeAltitude(); return GetRealTelescopeAltitude();
default: default:
var altAz = CalcAltAzFromTelescopeEqData(); var altAz = CalcAltAzFromTelescopeEqData();
@@ -1409,6 +1416,7 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.RCX400: case TelescopeList.RCX400:
case TelescopeList.LX800:
return GetRealTelescopeAzimuth(); return GetRealTelescopeAzimuth();
default: default:
var altAz = CalcAltAzFromTelescopeEqData(); var altAz = CalcAltAzFromTelescopeEqData();
@@ -1769,7 +1777,8 @@ namespace ASCOM.Meade.net
{ {
TelescopeList.LX200GPS, TelescopeList.LX200GPS,
TelescopeList.RCX400, TelescopeList.RCX400,
TelescopeList.LX200CLASSIC TelescopeList.LX200CLASSIC,
TelescopeList.LX800
}; };
return unParkableScopes.Contains(SharedResourcesWrapper.ProductName); return unParkableScopes.Contains(SharedResourcesWrapper.ProductName);
@@ -3869,6 +3878,7 @@ namespace ASCOM.Meade.net
{ {
case TelescopeList.RCX400: case TelescopeList.RCX400:
case TelescopeList.LX200GPS: case TelescopeList.LX200GPS:
case TelescopeList.LX800:
SharedResourcesWrapper.SendChar(Tl, "I"); SharedResourcesWrapper.SendChar(Tl, "I");
//:I# LX200 GPS Only - Causes the telescope to cease current operations and restart at its power on initialization. //:I# LX200 GPS Only - Causes the telescope to cease current operations and restart at its power on initialization.
//Returns: X once the handset restart has completed //Returns: X once the handset restart has completed
+7
View File
@@ -31,6 +31,13 @@
public const string LX200GPS_42G = "4.2g"; public const string LX200GPS_42G = "4.2g";
#endregion #endregion
#region LX800
public const string LX800 = "LX800";
public const string LX800_11i = "1.1i";
#endregion
#region LX200EMC #region LX200EMC
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
public const string LX200CLASSIC = "LX200 Classic"; //GVP command is not supported! public const string LX200CLASSIC = "LX200 Classic"; //GVP command is not supported!