Added support for can get guide rates for the LX200GPS

This commit is contained in:
2019-07-21 17:49:28 +01:00
parent 6b9eff2b86
commit c4eb74b274
2 changed files with 30 additions and 5 deletions
+7 -3
View File
@@ -253,7 +253,7 @@ namespace ASCOM.Meade.net
break;
default:
LogMessage("", "Action {0}, parameters {1} not implemented", actionName, actionParameters);
throw new InvalidValueException($"Site {actionParameters} not allowed must be between 1 and 4");
throw new InvalidValueException($"Site {actionParameters} not allowed, must be between 1 and 4");
}
@@ -755,8 +755,12 @@ namespace ASCOM.Meade.net
{
get
{
LogMessage("CanSetGuideRates", "Get - " + false.ToString());
return false;
CheckConnected("CanSetGuideRates Get");
var canSetGuideRate = IsGuideRateSettingSupported();
LogMessage("CanSetGuideRates", "Get - " + canSetGuideRate.ToString());
return canSetGuideRate;
}
}