mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Updates to JoinMapBase to support better definition of joins.
This commit is contained in:
parent
c54351f8ee
commit
16d5795267
8 changed files with 112 additions and 24 deletions
|
|
@ -40,8 +40,33 @@ namespace PepperDash.Essentials.Core
|
|||
/// <param name="joinStart"></param>
|
||||
public abstract void OffsetJoinNumbers(uint joinStart);
|
||||
|
||||
public Dictionary<string, JoinMetadata> Joins { get; set; }
|
||||
}
|
||||
|
||||
public enum eJoinCapabilities
|
||||
{
|
||||
Read = 1,
|
||||
Write = 2
|
||||
}
|
||||
|
||||
public enum eJoinType
|
||||
{
|
||||
Digital = 1,
|
||||
Analog = 2,
|
||||
Serial = 4
|
||||
}
|
||||
|
||||
public class JoinMetadata
|
||||
{
|
||||
public string Label { get; set; }
|
||||
public eJoinType JoinType { get; set; }
|
||||
public uint JoinNumber { get; set; }
|
||||
public uint JoinSpan { get; set; }
|
||||
public eJoinCapabilities JoinCapabilities { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue