using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StandardScene.ExtendDevice.ButtonBox { /// /// 按钮盒模型 /// public class ButtonBoxModel { public string Ip { get; set; } = string.Empty; public int Port { get; set; } = 0; public int Index { get; set; } = 0; public string Type { get; set; } = string.Empty; public List Buttons { get; set; } = new List(); } /// /// 按钮模型 /// public class ButtonModel { public int Index { get; set; } = 0; public string TriggerMission { get; set; } = string.Empty; public string TriggerMethod { get; set; } = string.Empty; public string TriggerMethodParams { get; set; } = string.Empty; public string TriggerState { get; set; } = string.Empty; public ushort TriggerDelay { get; set; } = 0; } }