-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added U/I support for displaying accumulated move amount for relative…
… and absolute focusers. Added direct move amount for relative focusers. Updated user guide Bumped version number to 6.6.0.1 Changed telescope park warning messagebox to OK/Cancel to support unit test limitation.
- Loading branch information
1 parent
382f968
commit fb1fbb4
Showing
13 changed files
with
330 additions
and
72 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
DeviceHub/Business Object Classes/Message Types/FocuserMoveAmountMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ASCOM.DeviceHub | ||
{ | ||
internal class FocuserMoveAmountMessage | ||
{ | ||
public FocuserMoveAmountMessage( int moveAmount ) | ||
{ | ||
MoveAmount = moveAmount; | ||
} | ||
|
||
public int MoveAmount { get; private set; } | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
DeviceHub/Business Object Classes/Value Converters/EditLockTextBooleanValueConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Globalization; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Data; | ||
|
||
namespace ASCOM.DeviceHub | ||
{ | ||
internal class EditLockTextBooleanValueConverter : IValueConverter | ||
{ | ||
public object Convert( object value, Type targetType, object parameter, CultureInfo culture ) | ||
{ | ||
bool bval = (bool)value; | ||
|
||
return bval ? "Lock" : "Edit"; | ||
} | ||
|
||
public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture ) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.