1
0
mirror of https://github.com/faragher/RNS_CS_Dev.git synced 2024-11-28 18:21:03 +01:00

Documenting, altering Namespaces

This commit is contained in:
faragher 2023-05-12 16:31:25 -05:00 committed by GitHub
parent 9791a3e1d7
commit 36b07fc150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1524 additions and 0 deletions

View File

@ -25,6 +25,9 @@
namespace RNS namespace RNS
{ {
/// <summary>
/// Initial Interface class
/// </summary>
public class Interface public class Interface
{ {
public bool IN = false; public bool IN = false;
@ -56,6 +59,9 @@ namespace RNS
public int ifac_size; public int ifac_size;
//List<> //List<>
/// <summary>
/// Basic initialization
/// </summary>
public Interface() public Interface()
{ {
rxb = 0; rxb = 0;
@ -68,6 +74,9 @@ namespace RNS
Callbacks = new CallbackClass(); Callbacks = new CallbackClass();
} }
/// <summary>
/// Arguments for callback event handler
/// </summary>
public class CallbackArgs : EventArgs public class CallbackArgs : EventArgs
{ {
public byte[] Message { get; private set; } public byte[] Message { get; private set; }
@ -79,6 +88,9 @@ namespace RNS
} }
} }
/// <summary>
/// Class for callback event handler
/// </summary>
public class CallbackClass public class CallbackClass
{ {
//public delegate void CallbackEventHandler(object sender, CallbackArgs args); //public delegate void CallbackEventHandler(object sender, CallbackArgs args);

1512
Interfaces/RNodeInterface.cs Normal file

File diff suppressed because it is too large Load Diff