Adding support for sending co-ordinates when scope is parked.

This commit is contained in:
2021-04-24 19:16:36 +01:00
parent eaeae4d66b
commit fdd008fcfb
11 changed files with 492 additions and 56 deletions
+10 -1
View File
@@ -29,7 +29,10 @@ namespace ASCOM.Meade.net
protected double SiteElevation;
protected short ProfileSettleTime;
protected bool SendDateTime;
protected ParkedBehaviour ParkedBehaviour;
protected double ParkedAzimuth;
protected double ParkedAlt;
protected readonly ISharedResourcesWrapper SharedResourcesWrapper;
public MeadeTelescopeBase()
@@ -71,6 +74,9 @@ namespace ASCOM.Meade.net
SiteElevation = profileProperties.SiteElevation;
ProfileSettleTime = profileProperties.SettleTime;
SendDateTime = profileProperties.SendDateTime;
ParkedBehaviour = profileProperties.ParkedBehaviour;
ParkedAlt = profileProperties.ParkedAlt;
ParkedAzimuth = profileProperties.ParkedAz;
LogMessage("ReadProfile", $"Trace logger enabled: {Tl.Enabled}");
LogMessage("ReadProfile", $"Com Port: {ComPort}");
@@ -82,6 +88,9 @@ namespace ASCOM.Meade.net
LogMessage("ReadProfile", $"Site Elevation: {SiteElevation}");
LogMessage("ReadProfile", $"Settle Time after slew: {ProfileSettleTime}");
LogMessage("ReadProfile", $"Send date and time on connect: {SendDateTime}");
LogMessage("ReadProfile", $"Parked Behaviour: {ParkedBehaviour}");
LogMessage("ReadProfile", $"Parked Alt: {ParkedAlt}");
LogMessage("ReadProfile", $"Parked Az: {ParkedAzimuth}");
}
/// <summary>