io commander

This commit is contained in:
meelstorm
2025-07-19 15:57:59 +02:00
parent 40d74d6da6
commit cd70088d9a
46 changed files with 2198 additions and 28 deletions

View File

@@ -0,0 +1,20 @@
using Inspectron.Settings.Attributes;
namespace VisionBuilder.UI.IOCommander;
public class IOCommanderCommand
{
public int Pin { get; set; }
[SettingDescription("Should be triggered when crossing from low to high or opposite?")]
public bool OnHigh { get; set; }
public EGPIOCommand Command { get; set; }
override public string ToString()
{
return $"Pin: {Pin}, OnHigh: {OnHigh}, Command: {Command}";
}
}