Set's the guide rate after connection if setting guide rate is supported.

This commit is contained in:
2019-07-22 15:27:52 +01:00
parent 37437b7c7c
commit 64e2b9c6f9
+11 -3
View File
@@ -338,6 +338,12 @@ namespace ASCOM.Meade.net
LogMessage("Connected Set", $"New Pulse Guiding Supported: {_userNewerPulseGuiding}");
IsConnected = true;
if (CanSetGuideRates)
{
SetNewGuideRate( _guideRate, "Connect" );
}
}
catch (Exception)
{
@@ -961,10 +967,12 @@ namespace ASCOM.Meade.net
//Rates when the CCD guider or handbox guider buttons are pressed when the guide rate is selected.Rate shall not exceed
//sidereal speed(approx 15.0417”/sec)[Autostar II only]
//Returns: Nothing
if (_guideRate != valueInArcSecondsPerSecond)
{
_guideRate = valueInArcSecondsPerSecond;
_guideRate = valueInArcSecondsPerSecond;
WriteProfile();
WriteProfile();
}
}
private double DegreesPerSecondToArcSecondPerSecond(double value)