public void UpdateEventInstanceViewModel(EventTaskInstanceInfo info) { this.EventSchduleClassId = Wj1090Module.Services.MenuIdAssgin.EventSchduleNavTaskWj1090LduEventScheduleViewId; this.EventSchduleInstanceDescription = info.InstanceInfo.EventSchduleInstanceDescription; this.EventSchduleInstanceId = info.InstanceInfo.EventSchduleInstanceId; this.EventSchduleInstanceName = info.InstanceInfo.EventSchduleInstanceName; this.EventSchduleViewId = Wj1090Module.Services.ViewIdAssign.Wj1090LduEventScheduleViewId; this.EventSchduleInstanceDetail = info.InstanceInfo.EventSchduleInstanceDetail; this.EventSchedule = info.EventScheduleInfo; this.CreateTime = info.CreateTime; this.CreateUserName = info.CreateUserName; this.NextExcuteTime = info.InstanceInfo.NextExcuteTime; this.AlreadyExcutedTimes = info.InstanceInfo.AlreadyExcutedTimes; //this.ReMruTimes = info.ReMruTimes; }
public EventTaskInstanceInfo GetMruEventTaskInstanceInfo() { EventTaskInstanceInfo info = new EventTaskInstanceInfo(); info.InstanceInfo.EventSchduleClassicId = this.EventSchduleClassId;// TaskClassic.Wj1090Measure;// Wj1090Module.Services.MenuIdAssgin.EventSchduleNavTaskWj1090LduEventScheduleViewId; info.InstanceInfo.EventSchduleInstanceDescription = this.EventSchduleInstanceDescription; info.InstanceInfo.EventSchduleInstanceId = this.EventSchduleInstanceId; info.InstanceInfo.EventSchduleInstanceName = this.EventSchduleInstanceName; info.InstanceInfo.EventSchduleViewId = Wj1090Module.Services.ViewIdAssign.Wj1090LduEventScheduleViewId; info.InstanceInfo.EventSchduleInstanceDetail = this.EventSchduleInstanceDetail; info.EventScheduleInfo = this.EventSchedule; info.CreateTime = this.CreateTime; info.CreateUserName = this.CreateUserName; info.InstanceInfo.NextExcuteTime = this.NextExcuteTime; info.InstanceInfo.AlreadyExcutedTimes = this.AlreadyExcutedTimes; return(info); }
private void UpdateEventInstanceInfo(EventTaskInstanceInfo info) { this.UpdateEventInstanceViewModel(info); //this.EventSchedule = info.EventSchedule; }