|
|
@@ -26,9 +26,9 @@ namespace YSAI.Core.subscription
|
|
|
public Address? Address { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 执行方法的委托,读取方法,每个通信设备都应该存在
|
|
|
- /// Address:请求参数
|
|
|
- /// Task<OperateResult>:操作结果
|
|
|
+ /// 执行方法的委托,读取方法,每个通信设备都应该存在;
|
|
|
+ /// Address:请求参数;
|
|
|
+ /// OperateResult:操作结果
|
|
|
/// </summary>
|
|
|
public Func<Address, OperateResult>? Function { get; set; }
|
|
|
}
|
|
|
@@ -44,7 +44,7 @@ namespace YSAI.Core.subscription
|
|
|
[Description("处理间隔")]
|
|
|
[Unit("ms")]
|
|
|
[Display(true, true, true, ParamStructure.dataCate.unmber)]
|
|
|
- public int HandleInterval { get; set; } = 1000;
|
|
|
+ public int HandleInterval { get; set; } = 100;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 数据变化抛出 false则为实时数据
|