You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.1 KiB
63 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Euro.Transfer.Base
|
|
{
|
|
/// <summary>
|
|
/// 委托
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public delegate string ProcessDelegate<T>();
|
|
/// <summary>
|
|
/// 工作项配置
|
|
/// </summary>
|
|
public abstract class ServiceConfig
|
|
{
|
|
|
|
#region 子类必需实现的抽象属性
|
|
|
|
/// <summary>
|
|
/// 工作项说明
|
|
/// </summary>
|
|
public abstract string Description
|
|
{
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工作项是否开启
|
|
/// </summary>
|
|
public abstract string Enabled
|
|
{
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工作项程序集
|
|
/// </summary>
|
|
public abstract string Assembly
|
|
{
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工作项执行间隔时间
|
|
/// </summary>
|
|
public abstract int Interval
|
|
{
|
|
get;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 扩展属性
|
|
|
|
|
|
//可扩展
|
|
|
|
#endregion
|
|
}
|
|
}
|