mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 12:54:54 +00:00
34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace PepperDash.Essentials.Core.Bridges
|
|
{
|
|
/// <summary>
|
|
/// Represents a IDigitalInputJoinMap
|
|
/// </summary>
|
|
public class IDigitalInputJoinMap : JoinMapBaseAdvanced
|
|
{
|
|
|
|
[JoinName("InputState")]
|
|
public JoinDataComplete InputState = new JoinDataComplete(new JoinData { JoinNumber = 1, JoinSpan = 1 },
|
|
new JoinMetadata { Description = "Input State", JoinCapabilities = eJoinCapabilities.ToSIMPL, JoinType = eJoinType.Digital });
|
|
|
|
/// <summary>
|
|
/// Constructor to use when instantiating this Join Map without inheriting from it
|
|
/// </summary>
|
|
/// <param name="joinStart">Join this join map will start at</param>
|
|
public IDigitalInputJoinMap(uint joinStart)
|
|
: this(joinStart, typeof(IDigitalInputJoinMap))
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor to use when extending this Join map
|
|
/// </summary>
|
|
/// <param name="joinStart">Join this join map will start at</param>
|
|
/// <param name="type">Type of the child join map</param>
|
|
protected IDigitalInputJoinMap(uint joinStart, Type type)
|
|
: base(joinStart, type)
|
|
{
|
|
}
|
|
}
|
|
} |