|
@@ -1,4 +1,5 @@
|
|
|
using System.ComponentModel;
|
|
using System.ComponentModel;
|
|
|
|
|
+using YSAI.Core.attribute;
|
|
|
using YSAI.Core.data;
|
|
using YSAI.Core.data;
|
|
|
using YSAI.Unility;
|
|
using YSAI.Unility;
|
|
|
|
|
|
|
@@ -40,7 +41,9 @@ namespace YSAI.Core.subscription
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 处理间隔(毫秒)
|
|
/// 处理间隔(毫秒)
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- [Description("处理间隔(毫秒)")]
|
|
|
|
|
|
|
+ [Description("处理间隔")]
|
|
|
|
|
+ [Unit("ms")]
|
|
|
|
|
+ [Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
|
public int HandleInterval { get; set; } = 1000;
|
|
public int HandleInterval { get; set; } = 1000;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -49,6 +52,7 @@ namespace YSAI.Core.subscription
|
|
|
/// 数据库查询,此项无效
|
|
/// 数据库查询,此项无效
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[Description("变化抛出")]
|
|
[Description("变化抛出")]
|
|
|
|
|
+ [Display(true, true, true, Core.data.ParamStructure.dataCate.radio)]
|
|
|
public bool ChangeOut { get; set; } = true;
|
|
public bool ChangeOut { get; set; } = true;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -57,18 +61,22 @@ namespace YSAI.Core.subscription
|
|
|
/// 数据库查询,此项无效
|
|
/// 数据库查询,此项无效
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[Description("未变项与变化项一同抛出")]
|
|
[Description("未变项与变化项一同抛出")]
|
|
|
|
|
+ [Display(true, true, true, Core.data.ParamStructure.dataCate.radio)]
|
|
|
public bool AllOut { get; set; } = false;
|
|
public bool AllOut { get; set; } = false;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 任务数量
|
|
/// 任务数量
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[Description("任务数量")]
|
|
[Description("任务数量")]
|
|
|
|
|
+ [Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
|
public int TaskNumber { get; set; } = 5;
|
|
public int TaskNumber { get; set; } = 5;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 任务处理间隔(毫秒)
|
|
/// 任务处理间隔(毫秒)
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- [Description("任务处理间隔(毫秒)")]
|
|
|
|
|
|
|
+ [Description("任务处理间隔")]
|
|
|
|
|
+ [Unit("ms")]
|
|
|
|
|
+ [Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
|
public int TaskHandleInterval { get; set; } = 100;
|
|
public int TaskHandleInterval { get; set; } = 100;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|