| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 运动板卡监听配置对象 |
| | | /// 运动板卡IO监听配置对象 |
| | | /// </summary> |
| | | public class MotionCardMonitorSet : MonitorSetBase |
| | | { |
| | |
| | | [Category("监听设置")] |
| | | [DisplayName("监听类型")] |
| | | [Description("监听运动板卡 IO 类型(IN OUT)")] |
| | | public IOModel MonitorIOModel { get; set; } |
| | | public IOType MonitorIOModel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 监听地址索引 |
| | |
| | | public int TriggerValue { get; set; } = -1; |
| | | |
| | | /// <summary> |
| | | /// 传入数据地址的索引 按照监听地址从0开始的索引集合 |
| | | /// </summary> |
| | | [Category("监听设置")] |
| | | [Description("传入数据地址的索引 按照监听地址从0开始的索引")] |
| | | [DisplayName("传入数据索引")] |
| | | [TypeConverter(typeof(SimpleCollectionConvert<int>))] |
| | | public List<int> InputDataIndex { get; set; } = new List<int>(); |
| | | |
| | | /// <summary> |
| | | /// 监听回传 |
| | | /// </summary> |
| | | [Category("回传设置")] |
| | | [DisplayName("监听回传")] |
| | | [Description("监听运动板卡,并往指定的IO写入数据")] |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(IOItem), typeof(UITypeEditor))] |
| | | public List<IOItem> ReplyIODatas { get; set; } = new List<IOItem>(); |
| | | //[Category("回传设置")] |
| | | //[DisplayName("监听回传")] |
| | | //[Description("监听运动板卡,并往指定的IO写入数据")] |
| | | //[TypeConverter(typeof(CollectionCountConvert))] |
| | | //[Editor(typeof(ComplexCollectionEditor<IOItem>), typeof(UITypeEditor))] |
| | | //public List<IOItem> ReplyIODatas { get; set; } = new List<IOItem>(); |
| | | } |
| | | |
| | | public class IOperationConfigEditor : UITypeEditor |