From 4c7a40a8e4daadaa08d82ebe95b515c6dc85fea7 Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Wed, 22 Feb 2023 22:14:38 +0000 Subject: [PATCH] Added extra values to GW translation. Also added extra log message that includes the hour angle when calculating the destination side of pier. --- Meade.net.Telescope/Telescope.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index c561440..a364626 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -1244,6 +1244,12 @@ namespace ASCOM.Meade.net case 'P': alignmentStatus.Status = Alignment.ScopeWasParked; break; + case '4': // 4 - Aligned on Home *** Starlock mounts + alignmentStatus.Status = Alignment.AlignedOnHome; + break; + case '5':// 5 - Scope was parked *** Starlock mounts + alignmentStatus.Status = Alignment.ScopeWasParked; + break; } LogMessage("GetScopeAlignmentStatus", $"Result {alignmentStatus}"); @@ -1897,6 +1903,8 @@ namespace ASCOM.Meade.net var destinationSOP = hourAngle > 0 ? PierSide.pierEast : PierSide.pierWest; + + LogMessage("CalculateSideOfPier", $"destination side of pier: {destinationSOP} ha: {hourAngle}"); return destinationSOP; }