Added reverse direction feature

This commit is contained in:
2020-06-04 23:31:41 +01:00
parent 71ed5cc58b
commit 8d097fefe1
7 changed files with 86 additions and 28 deletions
+4 -1
View File
@@ -82,6 +82,8 @@ namespace ASCOM.Meade.net
}
txtBacklashSteps.Text = profileProperties.BacklashCompensation.ToString(CultureInfo.CurrentCulture);
cbxReverseDirection.Checked = profileProperties.ReverseFocusDirection;
}
public ProfileProperties GetProfile()
@@ -93,7 +95,8 @@ namespace ASCOM.Meade.net
GuideRateArcSecondsPerSecond = double.Parse(txtGuideRate.Text.Trim()),
Precision = cboPrecision.SelectedItem.ToString(),
GuidingStyle = cboGuidingStyle.SelectedItem.ToString(),
BacklashCompensation = int.Parse(txtBacklashSteps.Text)
BacklashCompensation = int.Parse(txtBacklashSteps.Text),
ReverseFocusDirection = cbxReverseDirection.Checked
};
return profileProperties;