using FObjBase; using FObjBase.Reflect; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FLY.Thick.Base.IService { /// /// AD盒输入输出口描述服务 /// public interface IFlyAdIoDefineService { /// /// 获取输入输出口描述列表 /// /// /// [Call(typeof(IODefineCollection))] void GetIODefine(AsyncCBHandler asyncDelegate, object asyncContext); } public class IODefineCollection { /// /// 输入口数量 /// public int InCount; /// /// 输出口数量 /// public int OutCount; /// /// 列表 /// public List List; } /// /// 输入输出口描述 /// public class IODefine { /// /// 输入口?输出口? /// public enum IOTYPE { /// /// 输入口 /// Input, /// /// 输出口 /// Output }; /// /// 输入口?输出口? /// public IOTYPE IoType; /// /// 序号,从0开始排列 /// public int Index; /// /// 功能表述 /// public string Description; } }