/// <summary> /// 初始化 /// </summary> public AppointmentModel() { this.GridEditors = new GridEditorCollection(); TaskWorkIntensity = new TaskWorkIntensity(); }
public CustomAppointment(String TaskId, String planid, DateTime starttime, DateTime endtime, String subject, String ownerid, int percentcomplete, String tasktemplateid, String description, int label, int status, TaskWorkIntensity TaskWorkIntensity, String DelegateId, String TaskLevel) { this.TaskId = TaskId; this.PlanId = planid; this.StartTime = starttime; this.EndTime = endtime; this.Subject = subject; this.OwnerId = ownerid; this.PercentComplete = percentcomplete; this.TaskTemplateId = tasktemplateid; this.Description = description; this.Label = label; this.Status = status; this.TaskWorkIntensity = TaskWorkIntensity; this.DelegateId = DelegateId; this.TaskLevel = TaskLevel; }