public List<TaskBo> getTasks(int id, string starttime, string endtime, int state)
 {
     List<TaskBo> tasks = new List<TaskBo>();
     TaskBo t = new TaskBo();
     t.Name = "杀猪10头";
     t.WhichProductName = "";
     t.StartTime = "2014-02-14 08:30:00";
     t.EndTime = "2014-02-14 17:30:00";
     t.Type = "零星任务";
     t.Percent = 50;
     t.State = "执行";
     tasks.Add(t);
     return tasks;
 }
 public TaskBo getSporadicTaskById(int id)
 {
     var task = new TaskBo() { Id = 1, Name = "底盘设计", Creator = "SS", Executor = "Ss", State = "就绪", ExecuteState = 1 };
     return task;
 }
 public bool saveTask(TaskBo task)
 {
     return false;
 }
Beispiel #4
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     TaskBo task = new TaskBo();
     WcfServiceLocator.Create<IProjectPlanManageService>().saveTask(task);
 }