mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-26 19:04:47 +00:00
41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace PepperDash.Essentials.Core.CrestronIO
|
|
{
|
|
/// <summary>
|
|
/// Represents a IOPortConfig
|
|
/// </summary>
|
|
public class IOPortConfig
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the PortDeviceKey
|
|
/// </summary>
|
|
[JsonProperty("portDeviceKey")]
|
|
public string PortDeviceKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the PortNumber
|
|
/// </summary>
|
|
[JsonProperty("portNumber")]
|
|
public uint PortNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the DisablePullUpResistor
|
|
/// </summary>
|
|
[JsonProperty("disablePullUpResistor")]
|
|
public bool DisablePullUpResistor { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the MinimumChange
|
|
/// </summary>
|
|
[JsonProperty("minimumChange")]
|
|
public int MinimumChange { get; set; }
|
|
}
|
|
} |