Code inspections

This commit is contained in:
2019-09-28 23:10:37 +01:00
parent 0bbfa5f9c3
commit b8faab13b3
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -2329,7 +2329,7 @@ namespace ASCOM.Meade.net
LogMessage("ReadProfile", $"Precision: {_precision}"); LogMessage("ReadProfile", $"Precision: {_precision}");
} }
internal void WriteProfile() private void WriteProfile()
{ {
var profileProperties = new ProfileProperties var profileProperties = new ProfileProperties
{ {
@@ -2347,7 +2347,7 @@ namespace ASCOM.Meade.net
/// <param name="identifier"></param> /// <param name="identifier"></param>
/// <param name="message"></param> /// <param name="message"></param>
/// <param name="args"></param> /// <param name="args"></param>
internal void LogMessage(string identifier, string message, params object[] args) private void LogMessage(string identifier, string message, params object[] args)
{ {
var msg = string.Format(message, args); var msg = string.Format(message, args);
_tl.LogMessage(identifier, msg); _tl.LogMessage(identifier, msg);
+5
View File
@@ -13,16 +13,21 @@ namespace ASCOM.Meade.net
public static readonly string Autostar497 = "Autostar"; public static readonly string Autostar497 = "Autostar";
//Autostar/Audiostar firmware revisions //Autostar/Audiostar firmware revisions
// ReSharper disable once InconsistentNaming
public static readonly string Autostar497_30Ee = "30Ee"; public static readonly string Autostar497_30Ee = "30Ee";
// ReSharper disable once InconsistentNaming
public static readonly string Autostar497_31Ee = "31Ee"; public static readonly string Autostar497_31Ee = "31Ee";
// ReSharper disable once InconsistentNaming
public static readonly string Autostar497_43Eg = "43Eg"; public static readonly string Autostar497_43Eg = "43Eg";
#endregion #endregion
#region LX200GPS #region LX200GPS
// ReSharper disable once InconsistentNaming
public static readonly string LX200GPS = "LX2001"; public static readonly string LX200GPS = "LX2001";
// ReSharper disable once InconsistentNaming
public static readonly string LX200GPS_42G = "4.2G"; public static readonly string LX200GPS_42G = "4.2G";
#endregion #endregion