Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 617faee9dd |
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
|
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|||||||
@@ -44,5 +44,5 @@
|
|||||||
|
|
||||||
<!-- Set installer version based on the file version of the main assembly. -->
|
<!-- Set installer version based on the file version of the main assembly. -->
|
||||||
<!--<?define ProductVersion="!(bind.FileVersion.filLocalServerAssembly)"?>-->
|
<!--<?define ProductVersion="!(bind.FileVersion.filLocalServerAssembly)"?>-->
|
||||||
<?define ProductVersion="0.6.0.0"?>
|
<?define ProductVersion="0.7.0.0"?>
|
||||||
</Include>
|
</Include>
|
||||||
@@ -13,7 +13,17 @@
|
|||||||
|
|
||||||
<MediaTemplate EmbedCab="yes" />
|
<MediaTemplate EmbedCab="yes" />
|
||||||
|
|
||||||
<Property Id="REGISTRYROOT" Value="Software\Cjdawson.com Ltd\Database Patcher" />
|
<Property Id="ASCOMPLATFORMVERSION">
|
||||||
|
<RegistrySearch Id="AscomPlatformVersion"
|
||||||
|
Root="HKLM"
|
||||||
|
Key="SOFTWARE\ASCOM\Platform"
|
||||||
|
Name="Platform Version"
|
||||||
|
Type="raw" />
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Condition Message="This application requires Ascom Platform 6.4 SP1 or higher. Please install this before installing the driver.">
|
||||||
|
<![CDATA[Installed OR ASCOMPLATFORMVERSION >= "6.4.1"]]>
|
||||||
|
</Condition>
|
||||||
|
|
||||||
<PropertyRef Id="NETFRAMEWORK40FULL"/>
|
<PropertyRef Id="NETFRAMEWORK40FULL"/>
|
||||||
<Condition Message="This application requires .NET Framework 4.0 or higher. Please install the .NET Framework then run this installer again.">
|
<Condition Message="This application requires .NET Framework 4.0 or higher. Please install the .NET Framework then run this installer again.">
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
//
|
//
|
||||||
// TODO - Set your driver's version here
|
// TODO - Set your driver's version here
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|||||||
@@ -190,6 +190,9 @@ namespace ASCOM.Meade.net
|
|||||||
case "mode":
|
case "mode":
|
||||||
SharedResources.SendBlind(":EK9#");
|
SharedResources.SendBlind(":EK9#");
|
||||||
break;
|
break;
|
||||||
|
case "longMode":
|
||||||
|
SharedResources.SendBlind(":EK11#");
|
||||||
|
break;
|
||||||
case "goto":
|
case "goto":
|
||||||
SharedResources.SendBlind(":EK24#");
|
SharedResources.SendBlind(":EK24#");
|
||||||
break;
|
break;
|
||||||
@@ -1448,16 +1451,20 @@ namespace ASCOM.Meade.net
|
|||||||
{
|
{
|
||||||
case "0":
|
case "0":
|
||||||
//We're slewing everything should be working just fine.
|
//We're slewing everything should be working just fine.
|
||||||
|
tl.LogMessage("DoSlewAsync", "Slewing to target");
|
||||||
break;
|
break;
|
||||||
case "1":
|
case "1":
|
||||||
//Below Horizon
|
//Below Horizon
|
||||||
string belowHorizonMessage = SharedResources.ReadTerminated();
|
string belowHorizonMessage = SharedResources.ReadTerminated();
|
||||||
|
tl.LogMessage("DoSlewAsync", $"Slew failed \"{belowHorizonMessage}\"");
|
||||||
throw new ASCOM.InvalidOperationException(belowHorizonMessage);
|
throw new ASCOM.InvalidOperationException(belowHorizonMessage);
|
||||||
case "2":
|
case "2":
|
||||||
//Below Horizon
|
//Below Horizon
|
||||||
string belowMinimumElevationMessage = SharedResources.ReadTerminated();
|
string belowMinimumElevationMessage = SharedResources.ReadTerminated();
|
||||||
|
tl.LogMessage("DoSlewAsync", $"Slew failed \"{belowMinimumElevationMessage}\"");
|
||||||
throw new ASCOM.InvalidOperationException(belowMinimumElevationMessage);
|
throw new ASCOM.InvalidOperationException(belowMinimumElevationMessage);
|
||||||
default:
|
default:
|
||||||
|
tl.LogMessage("DoSlewAsync", $"Slew failed - unknown response \"{response}\"");
|
||||||
throw new ASCOM.DriverException("This error should not happen");
|
throw new ASCOM.DriverException("This error should not happen");
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1492,6 +1499,8 @@ namespace ASCOM.Meade.net
|
|||||||
{
|
{
|
||||||
utilities.WaitForMilliseconds(200); //be responsive to AbortSlew();
|
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)
|
public void SlewToCoordinatesAsync(double rightAscension, double declination)
|
||||||
@@ -1631,9 +1640,12 @@ namespace ASCOM.Meade.net
|
|||||||
CheckConnected("TargetDeclination Set");
|
CheckConnected("TargetDeclination Set");
|
||||||
|
|
||||||
var dms = utilities.DegreesToDMS(value, "*", ":", ":", 2);
|
var dms = utilities.DegreesToDMS(value, "*", ":", ":", 2);
|
||||||
var s = value < 0 ? '-' : '+';
|
var s = value < 0 ? string.Empty : "+";
|
||||||
|
|
||||||
var result = SharedResources.SendChar($":Sd{s}{dms}#");
|
var command = $":Sd{s}{dms}#";
|
||||||
|
|
||||||
|
tl.LogMessage("TargetDeclination Set", $"{command}");
|
||||||
|
var result = SharedResources.SendChar(command);
|
||||||
//:SdsDD*MM#
|
//:SdsDD*MM#
|
||||||
//Set target object declination to sDD*MM or sDD*MM:SS depending on the current precision setting
|
//Set target object declination to sDD*MM or sDD*MM:SS depending on the current precision setting
|
||||||
//Returns:
|
//Returns:
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
//
|
//
|
||||||
// TODO - Set your driver's version here
|
// TODO - Set your driver's version here
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|
||||||
[assembly: ComVisibleAttribute(false)]
|
[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
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
|
|
||||||
[assembly: AssemblyVersion("0.6.0.0")]
|
[assembly: AssemblyVersion("0.7.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.6.0.0")]
|
[assembly: AssemblyFileVersion("0.7.0.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user