Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7759862f79 | |||
| 58c75794bc |
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
@@ -44,5 +44,5 @@
|
||||
|
||||
<!-- Set installer version based on the file version of the main assembly. -->
|
||||
<!--<?define ProductVersion="!(bind.FileVersion.filLocalServerAssembly)"?>-->
|
||||
<?define ProductVersion="0.7.0.0"?>
|
||||
<?define ProductVersion="0.6.0.1"?>
|
||||
</Include>
|
||||
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||
// by using the '*' as shown below:
|
||||
//
|
||||
// TODO - Set your driver's version here
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
@@ -190,9 +190,6 @@ namespace ASCOM.Meade.net
|
||||
case "mode":
|
||||
SharedResources.SendBlind(":EK9#");
|
||||
break;
|
||||
case "longMode":
|
||||
SharedResources.SendBlind(":EK11#");
|
||||
break;
|
||||
case "goto":
|
||||
SharedResources.SendBlind(":EK24#");
|
||||
break;
|
||||
@@ -1451,20 +1448,16 @@ namespace ASCOM.Meade.net
|
||||
{
|
||||
case "0":
|
||||
//We're slewing everything should be working just fine.
|
||||
tl.LogMessage("DoSlewAsync", "Slewing to target");
|
||||
break;
|
||||
case "1":
|
||||
//Below Horizon
|
||||
string belowHorizonMessage = SharedResources.ReadTerminated();
|
||||
tl.LogMessage("DoSlewAsync", $"Slew failed \"{belowHorizonMessage}\"");
|
||||
throw new ASCOM.InvalidOperationException(belowHorizonMessage);
|
||||
case "2":
|
||||
//Below Horizon
|
||||
string belowMinimumElevationMessage = SharedResources.ReadTerminated();
|
||||
tl.LogMessage("DoSlewAsync", $"Slew failed \"{belowMinimumElevationMessage}\"");
|
||||
throw new ASCOM.InvalidOperationException(belowMinimumElevationMessage);
|
||||
default:
|
||||
tl.LogMessage("DoSlewAsync", $"Slew failed - unknown response \"{response}\"");
|
||||
throw new ASCOM.DriverException("This error should not happen");
|
||||
|
||||
}
|
||||
@@ -1499,8 +1492,6 @@ namespace ASCOM.Meade.net
|
||||
{
|
||||
utilities.WaitForMilliseconds(200); //be responsive to AbortSlew();
|
||||
}
|
||||
|
||||
tl.LogMessage("SlewToCoordinates", $"Slewing completed new coordinates Ra={RightAscension}, Dec={Declination}");
|
||||
}
|
||||
|
||||
public void SlewToCoordinatesAsync(double rightAscension, double declination)
|
||||
@@ -1640,12 +1631,9 @@ namespace ASCOM.Meade.net
|
||||
CheckConnected("TargetDeclination Set");
|
||||
|
||||
var dms = utilities.DegreesToDMS(value, "*", ":", ":", 2);
|
||||
var s = value < 0 ? string.Empty : "+";
|
||||
var s = value < 0 ? '-' : '+';
|
||||
|
||||
var command = $":Sd{s}{dms}#";
|
||||
|
||||
tl.LogMessage("TargetDeclination Set", $"{command}");
|
||||
var result = SharedResources.SendChar(command);
|
||||
var result = SharedResources.SendChar($":Sd{s}{dms}#");
|
||||
//:SdsDD*MM#
|
||||
//Set target object declination to sDD*MM or sDD*MM:SS depending on the current precision setting
|
||||
//Returns:
|
||||
|
||||
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||
// by using the '*' as shown below:
|
||||
//
|
||||
// TODO - Set your driver's version here
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
@@ -21,7 +21,7 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("0.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||
[assembly: AssemblyVersion("0.6.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.6.0.1")]
|
||||
|
||||
Reference in New Issue
Block a user