1
0
mirror of https://bitbucket.org/cjdskunkworks/lynxastrodewcontroller.git synced 2026-05-04 09:48:51 +00:00

Changed the description to show the channel letter.

This commit is contained in:
2021-02-22 12:30:04 +00:00
parent a8ea4448f1
commit 6937f779ec
5 changed files with 1 additions and 8 deletions
@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
+1 -2
View File
@@ -2,7 +2,6 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using ASCOM.Utilities;
using ASCOM.DeviceInterface; using ASCOM.DeviceInterface;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@@ -260,7 +259,7 @@ namespace ASCOM.LynxAstro.DewController
public string GetSwitchDescription(short id) public string GetSwitchDescription(short id)
{ {
Validate("GetSwitchDescription", id); Validate("GetSwitchDescription", id);
return "Control Knob"; return $"Channel {ChannelToLetter(id)}";
} }
/// <summary> /// <summary>
@@ -9,9 +9,6 @@
//#define UseChooser //#define UseChooser
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ASCOM namespace ASCOM
{ {
@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
@@ -19,7 +19,6 @@ using System.Collections.Generic;
using System.Windows.Forms; using System.Windows.Forms;
using ASCOM.Utilities; using ASCOM.Utilities;
using ASCOM.Utilities.Interfaces; using ASCOM.Utilities.Interfaces;
using JetBrains.Annotations;
namespace ASCOM.LynxAstro.DewController namespace ASCOM.LynxAstro.DewController
{ {