docs(core): Resolves remaining XML comment compiler warnings

This commit is contained in:
Neil Dorin
2022-06-08 14:27:09 -06:00
parent afcaa89125
commit e86edbd2fb
23 changed files with 197 additions and 61 deletions

View File

@@ -51,7 +51,7 @@ namespace PepperDash.Core
string[] StringDelimiters; string[] StringDelimiters;
/// <summary> /// <summary>
/// Fires up a gather, given a IBasicCommunicaion port and char for de /// Constructor for using a char delimiter
/// </summary> /// </summary>
/// <param name="port"></param> /// <param name="port"></param>
/// <param name="delimiter"></param> /// <param name="delimiter"></param>
@@ -63,7 +63,7 @@ namespace PepperDash.Core
} }
/// <summary> /// <summary>
/// /// Constructor for using a single string delimiter
/// </summary> /// </summary>
/// <param name="port"></param> /// <param name="port"></param>
/// <param name="delimiter"></param> /// <param name="delimiter"></param>
@@ -72,6 +72,11 @@ namespace PepperDash.Core
{ {
} }
/// <summary>
/// Constructor for using an array of string delimiters
/// </summary>
/// <param name="port"></param>
/// <param name="delimiters"></param>
public CommunicationGather(ICommunicationReceiver port, string[] delimiters) public CommunicationGather(ICommunicationReceiver port, string[] delimiters)
{ {
Port = port; Port = port;

View File

@@ -137,9 +137,21 @@ namespace PepperDash.Core
[Flags] [Flags]
public enum eStreamDebuggingSetting public enum eStreamDebuggingSetting
{ {
/// <summary>
/// Debug off
/// </summary>
Off = 0, Off = 0,
/// <summary>
/// Debug received data
/// </summary>
Rx = 1, Rx = 1,
/// <summary>
/// Debug transmitted data
/// </summary>
Tx = 2, Tx = 2,
/// <summary>
/// Debug both received and transmitted data
/// </summary>
Both = Rx | Tx Both = Rx | Tx
} }
@@ -149,8 +161,17 @@ namespace PepperDash.Core
[Flags] [Flags]
public enum eStreamDebuggingDataTypeSettings public enum eStreamDebuggingDataTypeSettings
{ {
/// <summary>
/// Debug data in byte format
/// </summary>
Bytes = 0, Bytes = 0,
/// <summary>
/// Debug data in text format
/// </summary>
Text = 1, Text = 1,
/// <summary>
/// Debug data in both byte and text formats
/// </summary>
Both = Bytes | Text, Both = Bytes | Text,
} }
} }

View File

@@ -159,7 +159,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <param name="asynchronousResult"></param> /// <param name="request"></param>
/// <param name="error"></param> /// <param name="error"></param>
/// <param name="status"></param> /// <param name="status"></param>
private void GetResponseStreamCallback(HttpClientRequest request, HTTP_CALLBACK_ERROR error, object status) private void GetResponseStreamCallback(HttpClientRequest request, HTTP_CALLBACK_ERROR error, object status)

View File

@@ -416,6 +416,10 @@ namespace PepperDash.Core
} }
/// <summary>
/// Deactivate the client
/// </summary>
/// <returns></returns>
public override bool Deactivate() public override bool Deactivate()
{ {
if (_client != null) if (_client != null)
@@ -604,30 +608,6 @@ namespace PepperDash.Core
ConnectFailTimer.Dispose(); ConnectFailTimer.Dispose();
ConnectFailTimer = null; ConnectFailTimer = null;
} }
/// <summary>
/// Internal call to close up client. ALWAYS use this when disconnecting.
/// </summary>
//void Cleanup()
//{
// IsTryingToConnect = false;
// if (_client != null)
// {
// //SecureClient.DisconnectFromServer();
// Debug.Console(2, this, "Disconnecting _client {0}", DisconnectCalledByUser ? ", Called by user" : "");
// _client.SocketStatusChange -= Client_SocketStatusChange;
// _client.Dispose();
// _client = null;
// }
// if (ConnectFailTimer != null)
// {
// ConnectFailTimer.Stop();
// ConnectFailTimer.Dispose();
// ConnectFailTimer = null;
// }
//}
#region Methods #region Methods

View File

@@ -223,13 +223,22 @@ namespace PepperDash.Core
CTimer RetryTimer; CTimer RetryTimer;
/// <summary>
///
/// </summary>
public bool HeartbeatEnabled { get; set; } public bool HeartbeatEnabled { get; set; }
/// <summary>
///
/// </summary>
public ushort UHeartbeatEnabled public ushort UHeartbeatEnabled
{ {
get { return (ushort)(HeartbeatEnabled ? 1 : 0); } get { return (ushort)(HeartbeatEnabled ? 1 : 0); }
set { HeartbeatEnabled = value == 1; } set { HeartbeatEnabled = value == 1; }
} }
/// <summary>
///
/// </summary>
public string HeartbeatString { get; set; } public string HeartbeatString { get; set; }
//public int HeartbeatInterval = 50000; //public int HeartbeatInterval = 50000;
@@ -280,7 +289,13 @@ namespace PepperDash.Core
#region Constructors #region Constructors
//Base class constructor /// <summary>
/// Constructor
/// </summary>
/// <param name="key"></param>
/// <param name="address"></param>
/// <param name="port"></param>
/// <param name="bufferSize"></param>
public GenericSecureTcpIpClient_ForServer(string key, string address, int port, int bufferSize) public GenericSecureTcpIpClient_ForServer(string key, string address, int port, int bufferSize)
: base(key) : base(key)
{ {
@@ -292,7 +307,9 @@ namespace PepperDash.Core
} }
//base class constructor /// <summary>
/// Constructor for S+
/// </summary>
public GenericSecureTcpIpClient_ForServer() public GenericSecureTcpIpClient_ForServer()
: base("Uninitialized Secure Tcp Client For Server") : base("Uninitialized Secure Tcp Client For Server")
{ {
@@ -304,7 +321,8 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Contstructor that sets all properties by calling the initialize method with a config object. /// Contstructor that sets all properties by calling the initialize method with a config object.
/// </summary> /// </summary>
/// <param name="serverConfigObject"></param> /// <param name="key"></param>
/// <param name="clientConfigObject"></param>
public GenericSecureTcpIpClient_ForServer(string key, TcpClientConfigObject clientConfigObject) public GenericSecureTcpIpClient_ForServer(string key, TcpClientConfigObject clientConfigObject)
: base(key) : base(key)
{ {

View File

@@ -271,7 +271,9 @@ namespace PepperDash.Core
List<uint> ClientReadyAfterKeyExchange = new List<uint>(); List<uint> ClientReadyAfterKeyExchange = new List<uint>();
//Store the connected client indexes /// <summary>
/// The connected client indexes
/// </summary>
public List<uint> ConnectedClientsIndexes = new List<uint>(); public List<uint> ConnectedClientsIndexes = new List<uint>();
/// <summary> /// <summary>
@@ -360,6 +362,10 @@ namespace PepperDash.Core
Key = key; Key = key;
} }
/// <summary>
/// Initialze the server
/// </summary>
/// <param name="serverConfigObject"></param>
public void Initialize(TcpServerConfigObject serverConfigObject) public void Initialize(TcpServerConfigObject serverConfigObject)
{ {
try try
@@ -624,6 +630,11 @@ namespace PepperDash.Core
return received; return received;
} }
/// <summary>
/// Get the IP Address for the client at the specifed index
/// </summary>
/// <param name="clientIndex"></param>
/// <returns></returns>
public string GetClientIPAddress(uint clientIndex) public string GetClientIPAddress(uint clientIndex)
{ {
Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "GetClientIPAddress Index: {0}", clientIndex); Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "GetClientIPAddress Index: {0}", clientIndex);
@@ -681,7 +692,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Secure Server Socket Status Changed Callback /// Secure Server Socket Status Changed Callback
/// </summary> /// </summary>
/// <param name="mySecureTCPServer"></param> /// <param name="server"></param>
/// <param name="clientIndex"></param> /// <param name="clientIndex"></param>
/// <param name="serverSocketStatus"></param> /// <param name="serverSocketStatus"></param>
void SecureServer_SocketStatusChange(SecureTCPServer server, uint clientIndex, SocketStatus serverSocketStatus) void SecureServer_SocketStatusChange(SecureTCPServer server, uint clientIndex, SocketStatus serverSocketStatus)
@@ -729,7 +740,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Secure TCP Client Connected to Secure Server Callback /// Secure TCP Client Connected to Secure Server Callback
/// </summary> /// </summary>
/// <param name="mySecureTCPServer"></param> /// <param name="server"></param>
/// <param name="clientIndex"></param> /// <param name="clientIndex"></param>
void SecureConnectCallback(SecureTCPServer server, uint clientIndex) void SecureConnectCallback(SecureTCPServer server, uint clientIndex)
{ {

View File

@@ -128,10 +128,10 @@ namespace PepperDash.Core
/// </summary> /// </summary>
public string ClientStatusText { get { return ClientStatus.ToString(); } } public string ClientStatusText { get { return ClientStatus.ToString(); } }
[Obsolete]
/// <summary> /// <summary>
/// Ushort representation of client status /// Ushort representation of client status
/// </summary> /// </summary>
[Obsolete]
public ushort UClientStatus { get { return (ushort)ClientStatus; } } public ushort UClientStatus { get { return (ushort)ClientStatus; } }
/// <summary> /// <summary>
@@ -505,6 +505,9 @@ namespace PepperDash.Core
/// </summary> /// </summary>
public int AutoReconnectIntervalMs { get; set; } public int AutoReconnectIntervalMs { get; set; }
/// <summary>
/// Default constructor
/// </summary>
public TcpSshPropertiesConfig() public TcpSshPropertiesConfig()
{ {
BufferSize = 32768; BufferSize = 32768;

View File

@@ -212,14 +212,30 @@ namespace PepperDash.Core
CTimer RetryTimer; CTimer RetryTimer;
/// <summary>
///
/// </summary>
public bool HeartbeatEnabled { get; set; } public bool HeartbeatEnabled { get; set; }
/// <summary>
///
/// </summary>
public ushort UHeartbeatEnabled public ushort UHeartbeatEnabled
{ {
get { return (ushort)(HeartbeatEnabled ? 1 : 0); } get { return (ushort)(HeartbeatEnabled ? 1 : 0); }
set { HeartbeatEnabled = value == 1; } set { HeartbeatEnabled = value == 1; }
} }
/// <summary>
///
/// </summary>
public string HeartbeatString = "heartbeat"; public string HeartbeatString = "heartbeat";
/// <summary>
///
/// </summary>
public int HeartbeatInterval = 50000; public int HeartbeatInterval = 50000;
CTimer HeartbeatSendTimer; CTimer HeartbeatSendTimer;
CTimer HeartbeatAckTimer; CTimer HeartbeatAckTimer;
/// <summary> /// <summary>
@@ -239,7 +255,13 @@ namespace PepperDash.Core
#region Constructors #region Constructors
//Base class constructor /// <summary>
/// Constructor
/// </summary>
/// <param name="key"></param>
/// <param name="address"></param>
/// <param name="port"></param>
/// <param name="bufferSize"></param>
public GenericTcpIpClient_ForServer(string key, string address, int port, int bufferSize) public GenericTcpIpClient_ForServer(string key, string address, int port, int bufferSize)
: base(key) : base(key)
{ {
@@ -251,7 +273,9 @@ namespace PepperDash.Core
} }
//base class constructor /// <summary>
/// Constructor for S+
/// </summary>
public GenericTcpIpClient_ForServer() public GenericTcpIpClient_ForServer()
: base("Uninitialized DynamicTcpClient") : base("Uninitialized DynamicTcpClient")
{ {

View File

@@ -152,7 +152,12 @@ namespace PepperDash.Core
get { return (ushort)(IsListening ? 1 : 0); } get { return (ushort)(IsListening ? 1 : 0); }
} }
public ushort MaxClients { get; set; } // should be set by parameter in SIMPL+ in the MAIN method, Should not ever need to be configurable /// <summary>
/// The maximum number of clients.
/// Should be set by parameter in SIMPL+ in the MAIN method, Should not ever need to be configurable
/// </summary>
public ushort MaxClients { get; set; }
/// <summary> /// <summary>
/// Number of clients currently connected. /// Number of clients currently connected.
/// </summary> /// </summary>
@@ -247,7 +252,9 @@ namespace PepperDash.Core
List<uint> ClientReadyAfterKeyExchange = new List<uint>(); List<uint> ClientReadyAfterKeyExchange = new List<uint>();
//Store the connected client indexes /// <summary>
/// The connected client indexes
/// </summary>
public List<uint> ConnectedClientsIndexes = new List<uint>(); public List<uint> ConnectedClientsIndexes = new List<uint>();
/// <summary> /// <summary>
@@ -664,7 +671,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Secure Server Socket Status Changed Callback /// Secure Server Socket Status Changed Callback
/// </summary> /// </summary>
/// <param name="mySecureTCPServer"></param> /// <param name="server"></param>
/// <param name="clientIndex"></param> /// <param name="clientIndex"></param>
/// <param name="serverSocketStatus"></param> /// <param name="serverSocketStatus"></param>
void TcpServer_SocketStatusChange(TCPServer server, uint clientIndex, SocketStatus serverSocketStatus) void TcpServer_SocketStatusChange(TCPServer server, uint clientIndex, SocketStatus serverSocketStatus)
@@ -702,7 +709,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Secure TCP Client Connected to Secure Server Callback /// Secure TCP Client Connected to Secure Server Callback
/// </summary> /// </summary>
/// <param name="mySecureTCPServer"></param> /// <param name="server"></param>
/// <param name="clientIndex"></param> /// <param name="clientIndex"></param>
void TcpConnectCallback(TCPServer server, uint clientIndex) void TcpConnectCallback(TCPServer server, uint clientIndex)
{ {
@@ -777,7 +784,7 @@ namespace PepperDash.Core
/// <summary> /// <summary>
/// Secure Received Data Async Callback /// Secure Received Data Async Callback
/// </summary> /// </summary>
/// <param name="mySecureTCPServer"></param> /// <param name="myTCPServer"></param>
/// <param name="clientIndex"></param> /// <param name="clientIndex"></param>
/// <param name="numberOfBytesReceived"></param> /// <param name="numberOfBytesReceived"></param>
void TcpServerReceivedDataAsyncCallback(TCPServer myTCPServer, uint clientIndex, int numberOfBytesReceived) void TcpServerReceivedDataAsyncCallback(TCPServer myTCPServer, uint clientIndex, int numberOfBytesReceived)

View File

@@ -74,10 +74,6 @@ namespace PepperDash.Core
/// </summary> /// </summary>
public string Hostname { get; set; } public string Hostname { get; set; }
/// <summary>
/// IP Address of the sender of the last recieved message
/// </summary>
/// <summary> /// <summary>
/// Port on server /// Port on server
@@ -103,6 +99,9 @@ namespace PepperDash.Core
private set; private set;
} }
/// <summary>
/// Numeric value indicating
/// </summary>
public ushort UIsConnected public ushort UIsConnected
{ {
get { return IsConnected ? (ushort)1 : (ushort)0; } get { return IsConnected ? (ushort)1 : (ushort)0; }
@@ -113,6 +112,9 @@ namespace PepperDash.Core
/// </summary> /// </summary>
public int BufferSize { get; set; } public int BufferSize { get; set; }
/// <summary>
/// The server
/// </summary>
public UDPServer Server { get; private set; } public UDPServer Server { get; private set; }
/// <summary> /// <summary>

View File

@@ -173,8 +173,9 @@ namespace PepperDash.Core.Config
/// <summary> /// <summary>
/// Merge o2 onto o1 /// Merge o2 onto o1
/// </summary> /// </summary>
/// <param name="a"></param> /// <param name="o1"></param>
/// <param name="b"></param> /// <param name="o2"></param>
/// <param name="path"></param>
static JObject Merge(JObject o1, JObject o2, string path) static JObject Merge(JObject o1, JObject o2, string path)
{ {
foreach (var o2Prop in o2) foreach (var o2Prop in o2)

View File

@@ -65,6 +65,7 @@ namespace PepperDash.Core.GenericRESTfulCommunications
/// <param name="url"></param> /// <param name="url"></param>
/// <param name="port"></param> /// <param name="port"></param>
/// <param name="requestType"></param> /// <param name="requestType"></param>
/// <param name="contentType"></param>
/// <param name="username"></param> /// <param name="username"></param>
/// <param name="password"></param> /// <param name="password"></param>
private void SubmitRequestHttp(string url, ushort port, ushort requestType, string contentType, string username, string password) private void SubmitRequestHttp(string url, ushort port, ushort requestType, string contentType, string username, string password)
@@ -122,6 +123,7 @@ namespace PepperDash.Core.GenericRESTfulCommunications
/// <param name="url"></param> /// <param name="url"></param>
/// <param name="port"></param> /// <param name="port"></param>
/// <param name="requestType"></param> /// <param name="requestType"></param>
/// <param name="contentType"></param>
/// <param name="username"></param> /// <param name="username"></param>
/// <param name="password"></param> /// <param name="password"></param>
private void SubmitRequestHttps(string url, ushort port, ushort requestType, string contentType, string username, string password) private void SubmitRequestHttps(string url, ushort port, ushort requestType, string contentType, string username, string password)

View File

@@ -141,7 +141,6 @@ namespace PepperDash.Core.JsonStandardObjects
/// ///
/// </summary> /// </summary>
public int autoReconnectIntervalMs { get; set; } public int autoReconnectIntervalMs { get; set; }
///
// convert properties for simpl // convert properties for simpl
/// <summary> /// <summary>
@@ -250,6 +249,9 @@ namespace PepperDash.Core.JsonStandardObjects
/// </summary> /// </summary>
public class RootObject public class RootObject
{ {
/// <summary>
/// The collection of devices
/// </summary>
public List<DeviceConfig> devices { get; set; } public List<DeviceConfig> devices { get; set; }
} }
} }

View File

@@ -97,6 +97,17 @@ namespace PepperDash.Core.JsonToSimpl
/// </summary> /// </summary>
public enum SPlusType public enum SPlusType
{ {
Digital, Analog, String /// <summary>
/// Digital
/// </summary>
Digital,
/// <summary>
/// Analog
/// </summary>
Analog,
/// <summary>
/// String
/// </summary>
String
} }
} }

View File

@@ -79,6 +79,9 @@ namespace PepperDash.Core.JsonToSimpl
PathSuffix == null ? "" : PathSuffix); PathSuffix == null ? "" : PathSuffix);
} }
/// <summary>
/// Process all values
/// </summary>
public override void ProcessAll() public override void ProcessAll()
{ {
if (FindInArray()) if (FindInArray())

View File

@@ -62,9 +62,17 @@ namespace PepperDash.Core.JsonToSimpl
/// </summary> /// </summary>
protected JsonToSimplMaster Master; protected JsonToSimplMaster Master;
// The sent-in JPaths for the various types /// <summary>
protected Dictionary<ushort, string> BoolPaths = new Dictionary<ushort, string>(); /// Paths to boolean values in JSON structure
/// </summary>
protected Dictionary<ushort, string> BoolPaths = new Dictionary<ushort, string>();
/// <summary>
/// Paths to numeric values in JSON structure
/// </summary>
protected Dictionary<ushort, string> UshortPaths = new Dictionary<ushort, string>(); protected Dictionary<ushort, string> UshortPaths = new Dictionary<ushort, string>();
/// <summary>
/// Paths to string values in JSON structure
/// </summary>
protected Dictionary<ushort, string> StringPaths = new Dictionary<ushort, string>(); protected Dictionary<ushort, string> StringPaths = new Dictionary<ushort, string>();
/// <summary> /// <summary>

View File

@@ -113,11 +113,20 @@ namespace PepperDash.Core.JsonToSimpl
return; return;
} }
} }
/// <summary>
/// Sets the debug level
/// </summary>
/// <param name="level"></param>
public void setDebugLevel(int level) public void setDebugLevel(int level)
{ {
Debug.SetDebugLevel(level); Debug.SetDebugLevel(level);
} }
/// <summary>
/// Saves the values to the file
/// </summary>
public override void Save() public override void Save()
{ {
// this code is duplicated in the other masters!!!!!!!!!!!!! // this code is duplicated in the other masters!!!!!!!!!!!!!

View File

@@ -561,9 +561,27 @@ namespace PepperDash.Core
Directory.Delete(@"\nvram\debugSettings"); Directory.Delete(@"\nvram\debugSettings");
} }
/// <summary>
/// Error level to for message to be logged at
/// </summary>
public enum ErrorLogLevel public enum ErrorLogLevel
{ {
Error, Warning, Notice, None /// <summary>
/// Error
/// </summary>
Error,
/// <summary>
/// Warning
/// </summary>
Warning,
/// <summary>
/// Notice
/// </summary>
Notice,
/// <summary>
/// None
/// </summary>
None,
} }
} }
} }

View File

@@ -271,8 +271,14 @@ namespace PepperDash.Core
} }
} }
/// <summary>
///
/// </summary>
public class DebugContextSaveData public class DebugContextSaveData
{ {
/// <summary>
///
/// </summary>
public int Level { get; set; } public int Level { get; set; }
} }
} }

View File

@@ -196,7 +196,7 @@ namespace PepperDash.Core.PasswordManagement
/// <summary> /// <summary>
/// Protected ushort change event handler /// Protected ushort change event handler
/// </summary> /// </summary>
/// <param name="state"></param> /// <param name="value"></param>
/// <param name="index"></param> /// <param name="index"></param>
/// <param name="type"></param> /// <param name="type"></param>
protected void OnUshrtChange(ushort value, ushort index, ushort type) protected void OnUshrtChange(ushort value, ushort index, ushort type)

View File

@@ -143,7 +143,7 @@ namespace PepperDash.Core.SystemInfo
/// <summary> /// <summary>
/// Constructor overload /// Constructor overload
/// </summary> /// </summary>
/// <param name="Ethernet"></param> /// <param name="ethernet"></param>
/// <param name="type"></param> /// <param name="type"></param>
public EthernetChangeEventArgs(EthernetInfo ethernet, ushort type) public EthernetChangeEventArgs(EthernetInfo ethernet, ushort type)
{ {
@@ -154,8 +154,9 @@ namespace PepperDash.Core.SystemInfo
/// <summary> /// <summary>
/// Constructor overload /// Constructor overload
/// </summary> /// </summary>
/// <param name="Ethernet"></param> /// <param name="ethernet"></param>
/// <param name="type"></param> /// <param name="type"></param>
/// <param name="index"></param>
public EthernetChangeEventArgs(EthernetInfo ethernet, ushort type, ushort index) public EthernetChangeEventArgs(EthernetInfo ethernet, ushort type, ushort index)
{ {
Adapter = ethernet; Adapter = ethernet;
@@ -239,7 +240,7 @@ namespace PepperDash.Core.SystemInfo
/// <summary> /// <summary>
/// Constructor overload /// Constructor overload
/// </summary> /// </summary>
/// <param name="Program"></param> /// <param name="program"></param>
/// <param name="type"></param> /// <param name="type"></param>
public ProgramChangeEventArgs(ProgramInfo program, ushort type) public ProgramChangeEventArgs(ProgramInfo program, ushort type)
{ {
@@ -250,8 +251,9 @@ namespace PepperDash.Core.SystemInfo
/// <summary> /// <summary>
/// Constructor overload /// Constructor overload
/// </summary> /// </summary>
/// <param name="Program"></param> /// <param name="program"></param>
/// <param name="type"></param> /// <param name="type"></param>
/// <param name="index"></param>
public ProgramChangeEventArgs(ProgramInfo program, ushort type, ushort index) public ProgramChangeEventArgs(ProgramInfo program, ushort type, ushort index)
{ {
Program = program; Program = program;

View File

@@ -327,10 +327,10 @@ namespace PepperDash.Core.SystemInfo
/// <summary> /// <summary>
/// private method to parse console messages /// private method to parse console messages
/// </summary> /// </summary>
/// <param name="response"></param> /// <param name="data"></param>
/// <param name="line"></param> /// <param name="line"></param>
/// <param name="start"></param> /// <param name="dataStart"></param>
/// <param name="end"></param> /// <param name="dataEnd"></param>
/// <returns></returns> /// <returns></returns>
private string ParseConsoleResponse(string data, string line, string dataStart, string dataEnd) private string ParseConsoleResponse(string data, string line, string dataStart, string dataEnd)
{ {

View File

@@ -66,10 +66,13 @@ namespace PepperDash.Core.WebApi.Presets
public bool LookupSuccess { get; private set; } public bool LookupSuccess { get; private set; }
/// <summary> /// <summary>
/// S+ helper for stupid S+ /// S+ helper
/// </summary> /// </summary>
public ushort ULookupSuccess { get { return (ushort)(LookupSuccess ? 1 : 0); } } public ushort ULookupSuccess { get { return (ushort)(LookupSuccess ? 1 : 0); } }
/// <summary>
/// The preset
/// </summary>
public Preset Preset { get; private set; } public Preset Preset { get; private set; }
/// <summary> /// <summary>