Set's the guide rate after connection if setting guide rate is supported.
This commit is contained in:
@@ -338,6 +338,12 @@ namespace ASCOM.Meade.net
|
|||||||
|
|
||||||
LogMessage("Connected Set", $"New Pulse Guiding Supported: {_userNewerPulseGuiding}");
|
LogMessage("Connected Set", $"New Pulse Guiding Supported: {_userNewerPulseGuiding}");
|
||||||
IsConnected = true;
|
IsConnected = true;
|
||||||
|
|
||||||
|
if (CanSetGuideRates)
|
||||||
|
{
|
||||||
|
SetNewGuideRate( _guideRate, "Connect" );
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception)
|
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
|
//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]
|
//sidereal speed(approx 15.0417”/sec)[Autostar II only]
|
||||||
//Returns: Nothing
|
//Returns: Nothing
|
||||||
|
if (_guideRate != valueInArcSecondsPerSecond)
|
||||||
_guideRate = valueInArcSecondsPerSecond;
|
{
|
||||||
|
_guideRate = valueInArcSecondsPerSecond;
|
||||||
|
|
||||||
WriteProfile();
|
WriteProfile();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private double DegreesPerSecondToArcSecondPerSecond(double value)
|
private double DegreesPerSecondToArcSecondPerSecond(double value)
|
||||||
|
|||||||
Reference in New Issue
Block a user