Working on a possible side of pier implementation

This commit is contained in:
2021-04-21 17:24:40 +01:00
parent 21e7bcd530
commit a2abbbb3d0
+10 -1
View File
@@ -1660,7 +1660,16 @@ namespace ASCOM.Meade.net
get get
{ {
LogMessage("SideOfPier Get", "Not implemented"); LogMessage("SideOfPier Get", "Not implemented");
throw new PropertyNotImplementedException("SideOfPier", false); if (!FirmwareIsGreaterThan(TelescopeList.Autostar497_43Eg))
throw new PropertyNotImplementedException("SideOfPier", false);
else
{
var alignmentStatus = GetScopeAlignmentStatus();
if (alignmentStatus.AlignmentMode != AlignmentModes.algPolar)
throw new PropertyNotImplementedException("SideOfPier", false);
//return
}
} }
// ReSharper disable once ValueParameterNotUsed // ReSharper disable once ValueParameterNotUsed
set set