Make Focuser.cs ASCII compatible

This commit is contained in:
Sebastian Godelet
2021-06-13 16:30:35 +10:00
parent 0b75b8d2cd
commit b23da15022
+7 -7
View File
@@ -43,7 +43,7 @@ namespace ASCOM.Meade.net
/// Private variable to hold an ASCOM Utilities object /// Private variable to hold an ASCOM Utilities object
/// </summary> /// </summary>
private readonly IUtil _utilities; private readonly IUtil _utilities;
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Meade.net"/> class. /// Initializes a new instance of the <see cref="Meade.net"/> class.
/// Must be public for COM registration. /// Must be public for COM registration.
@@ -304,7 +304,7 @@ namespace ASCOM.Meade.net
var backlashCompensationSteps = direction ? Math.Abs(BacklashCompensation) : 0; var backlashCompensationSteps = direction ? Math.Abs(BacklashCompensation) : 0;
var steps = Math.Abs(position) + backlashCompensationSteps; var steps = Math.Abs(position) + backlashCompensationSteps;
MoveFocuser(direction, steps); MoveFocuser(direction, steps);
@@ -343,11 +343,11 @@ namespace ASCOM.Meade.net
//:FS# Set Focus speed to slowest setting //:FS# Set Focus speed to slowest setting
//Returns: Nothing //Returns: Nothing
//:F<n># Autostar, Autostar II set focuser speed to <n> where <n> is an ASCII digit 1..4 //:F<n># Autostar, Autostar II - set focuser speed to <n> where <n> is an ASCII digit 1..4
//Returns: Nothing //Returns: Nothing
//All others Not Supported //All others - Not Supported
_utilities.WaitForMilliseconds(100); _utilities.WaitForMilliseconds(100);
PerformFocuserMove(directionOut); PerformFocuserMove(directionOut);
_utilities.WaitForMilliseconds(steps); _utilities.WaitForMilliseconds(steps);
@@ -418,7 +418,7 @@ namespace ASCOM.Meade.net
#region ASCOM Registration #region ASCOM Registration
// Register or unregister driver for ASCOM. This is harmless if already // Register or unregister driver for ASCOM. This is harmless if already
// registered or unregistered. // registered or unregistered.
// //
/// <summary> /// <summary>
/// Register or unregister the driver with the ASCOM Platform. /// Register or unregister the driver with the ASCOM Platform.
@@ -488,7 +488,7 @@ namespace ASCOM.Meade.net
} }
#endregion #endregion
/// <summary> /// <summary>
/// Use this function to throw an exception if we aren't connected to the hardware /// Use this function to throw an exception if we aren't connected to the hardware
/// </summary> /// </summary>