Skip to content

Commit

Permalink
Set initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCyberBrick committed Nov 30, 2023
1 parent 0764ac7 commit 59620f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
11 changes: 5 additions & 6 deletions StarGoMount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@ public class StarGoMount : IPolarAlignmentMount
public double SettlingTime { get; set; } = 1.0;


private readonly Telescope telescope;

public StarGoMount()
{
telescope = new Telescope("ASCOM.AvalonStarGo.NET.Telescope");
}
private Telescope telescope;

public void Connect()
{
try
{
if (telescope == null)
{
telescope = new Telescope("ASCOM.AvalonStarGo.NET.Telescope");
}
telescope.Connected = true;
Thread.Sleep(TimeSpan.FromSeconds(1));
}
Expand Down

0 comments on commit 59620f1

Please sign in to comment.