--------------------------------------------Job类--------------------------------------------

 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 
 7 namespace Ygzxgzlb
 8 {
 9     /// <summary>
10     /// 父类:工作类
11     /// </summary>
12     public abstract class Job
13     {
14         //工作类型
15         public string Type { get; set; }
16 
17         //工作名称
18         public string Name { get; set; }
19 
20         //描述
21         public string Description { get; set; }
22 
23         //构造函数
24         public Job(string type, string name, string description)
25         {
26             this.Type = type;
27             this.Name = name;
28             this.Description = description;
29         }
30 
31         //方法
32         public Job() { }
33 
34         //执行
35         public abstract void Execute();
36 
37         //执行
38         public abstract void show();
39     }
40 }
Job

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2021-10-07
  • 2021-05-14
  • 2021-11-08
相关资源
相似解决方案