io commander
This commit is contained in:
16
VisionBuilder.UI.IOCommander/IOCommanderPinAction.cs
Normal file
16
VisionBuilder.UI.IOCommander/IOCommanderPinAction.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
|
||||
namespace VisionBuilder.UI.IOCommander;
|
||||
|
||||
public class IOCommanderPinAction
|
||||
{
|
||||
public int Pin { get; set; }
|
||||
public bool Low { get; set; }
|
||||
public bool Pulse { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Pin: {Pin}, {(Low?"Low":"High")}, Pulse: {Pulse}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user