Code inspections

This commit is contained in:
2019-09-29 22:34:46 +01:00
parent 2a13fcd40a
commit 7465260354
6 changed files with 15 additions and 14 deletions
+4 -4
View File
@@ -62,12 +62,12 @@ namespace ASCOM.Meade.net
/// <summary>
/// Shared serial port
/// </summary>
public static Serial SharedSerial => _sSharedSerial ?? (_sSharedSerial = new Serial());
private static Serial SharedSerial => _sSharedSerial ?? (_sSharedSerial = new Serial());
/// <summary>
/// number of connections to the shared serial port
/// </summary>
public static int Connections { get; set; }
private static int Connections { get; set; }
public static void SendBlind(string message)
{
@@ -342,7 +342,7 @@ namespace ASCOM.Meade.net
}
}
public static bool IsConnected()
private static bool IsConnected()
{
foreach (var device in ConnectedDevices)
{
@@ -382,7 +382,7 @@ namespace ASCOM.Meade.net
/// Skeleton of a hardware class, all this does is hold a count of the connections,
/// in reality extra code will be needed to handle the hardware in some way
/// </summary>
public class DeviceHardware
private class DeviceHardware
{
internal int Count { set; get; }