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

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Euro.Transfer.Base
  7. {
  8. /// <summary>
  9. /// 委托
  10. /// </summary>
  11. /// <returns></returns>
  12. public delegate string ProcessDelegate<T>();
  13. /// <summary>
  14. /// 工作项配置
  15. /// </summary>
  16. public abstract class ServiceConfig
  17. {
  18. #region 子类必需实现的抽象属性
  19. /// <summary>
  20. /// 工作项说明
  21. /// </summary>
  22. public abstract string Description
  23. {
  24. get;
  25. }
  26. /// <summary>
  27. /// 工作项是否开启
  28. /// </summary>
  29. public abstract string Enabled
  30. {
  31. get;
  32. }
  33. /// <summary>
  34. /// 工作项程序集
  35. /// </summary>
  36. public abstract string Assembly
  37. {
  38. get;
  39. }
  40. /// <summary>
  41. /// 工作项执行间隔时间
  42. /// </summary>
  43. public abstract int Interval
  44. {
  45. get;
  46. }
  47. #endregion
  48. #region 扩展属性
  49. //可扩展
  50. #endregion
  51. }
  52. }