Upgraded driver version to 0.1
This commit is contained in:
@@ -956,15 +956,15 @@ namespace ASCOM.MeadeAutostar497
|
||||
{
|
||||
get
|
||||
{
|
||||
tl.LogMessage("Absolute Get", true.ToString());
|
||||
return true; // This is an absolute focuser
|
||||
tl.LogMessage("Absolute Get", false.ToString());
|
||||
return false; // This is an absolute focuser
|
||||
}
|
||||
}
|
||||
|
||||
public void Halt()
|
||||
{
|
||||
tl.LogMessage("Halt", "Not implemented");
|
||||
throw new ASCOM.MethodNotImplementedException("Halt");
|
||||
tl.LogMessage("Halt", "Halting");
|
||||
_telescopeController.FocuserHalt();
|
||||
}
|
||||
|
||||
public bool IsMoving
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
namespace ASCOM.MeadeAutostar497.Controller
|
||||
{
|
||||
enum FirmwareVersion
|
||||
{
|
||||
autostar497_30eb,
|
||||
autostar497_30ed,
|
||||
autostar497_30ee,
|
||||
autostar497_31ee,
|
||||
autostar497_32ea,
|
||||
//PEC added for Polar mounted scopes
|
||||
|
||||
autostar497_32ee,
|
||||
autostar497_32eh,
|
||||
//Some serial strings fixed.
|
||||
|
||||
autostar497_32ei,
|
||||
autostar497_33ef,
|
||||
//Some serial strings fixed.
|
||||
|
||||
autostar497_33el,
|
||||
autostar497_40eb,
|
||||
autostar497_40ee,
|
||||
autostar497_40ef,
|
||||
autostar497_41ec,
|
||||
autostar497_42ed,
|
||||
//Get serial command for daylight savings (:GH# returns 0 for disabled 1 for enabled)
|
||||
//Set serial command for daylight savings (:SH0# disables, :SH1# enables)
|
||||
|
||||
autostar497_43ea,
|
||||
autostar497_43ed,
|
||||
autostar497_43eg
|
||||
//Added :GW#, :AL#, :AA#, & :AP#
|
||||
}
|
||||
}
|
||||
@@ -32,5 +32,6 @@ namespace ASCOM.MeadeAutostar497.Controller
|
||||
void SlewToTarget();
|
||||
void SlewToTargetAsync();
|
||||
void MoveAxis(TelescopeAxes axis, double rate);
|
||||
void FocuserHalt();
|
||||
}
|
||||
}
|
||||
@@ -800,6 +800,13 @@ namespace ASCOM.MeadeAutostar497.Controller
|
||||
}
|
||||
}
|
||||
|
||||
public void FocuserHalt()
|
||||
{
|
||||
SerialPort.Command(":FQ#");
|
||||
//:FQ# Halt Focuser Motion
|
||||
//Returns: Nothing
|
||||
}
|
||||
|
||||
//todo remove the polar parameter and split method into two.
|
||||
private void DoSlewAsync( bool polar)
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AscomClasses\Telescope.cs" />
|
||||
<Compile Include="Controller\FirmwareVersion.cs" />
|
||||
<Compile Include="Controller\ISerialProcessor.cs" />
|
||||
<Compile Include="Controller\ITelescopeController.cs" />
|
||||
<Compile Include="Controller\SerialProcessor.cs" />
|
||||
|
||||
@@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||
// by using the '*' as shown below:
|
||||
//
|
||||
// TODO - Set your driver's version here
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.0.0.0")]
|
||||
[assembly: AssemblyVersion("0.1.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.1.0.0")]
|
||||
|
||||
Reference in New Issue
Block a user