public void UpdateEventInstanceViewModel(PartolEventTaskInstanceInfo info) { this.EventSchduleId = Wj1090Module.Services.MenuIdAssgin.EventSchduleNavTaskWj1090LduEventScheduleViewId; this.EventSchduleInstanceDescription = info.EventSchduleInstanceDescription; this.EventSchduleInstanceId = info.EventSchduleInstanceId; this.EventSchduleInstanceName = info.EventSchduleInstanceName; this.EventSchduleViewId = Wj1090Module.Services.ViewIdAssign.Wj1090LduEventScheduleViewId; this.EventSchduleInstanceDetail = info.EventSchduleInstanceDetail; this.EventSchedule = info.EventSchedule; this.CreateTime = info.CreateTime; this.CreateUserName = info.CreateUserName; this.NextExcuteTime = info.NextExcuteTime; this.AlreadyExcutedTimes = info.AlreadyExcutedTimes; //this.ReMruTimes = info.ReMruTimes; }
public PartolEventTaskInstanceInfo GetMruEventTaskInstanceInfo() { PartolEventTaskInstanceInfo info = new PartolEventTaskInstanceInfo(); info.EventSchduleId = Wj1090Module.Services.MenuIdAssgin.EventSchduleNavTaskWj1090LduEventScheduleViewId; info.EventSchduleInstanceDescription = this.EventSchduleInstanceDescription; info.EventSchduleInstanceId = this.EventSchduleInstanceId; info.EventSchduleInstanceName = this.EventSchduleInstanceName; info.EventSchduleViewId = Wj1090Module.Services.ViewIdAssign.Wj1090LduEventScheduleViewId; info.EventSchduleInstanceDetail = this.EventSchduleInstanceDetail; info.EventSchedule = this.EventSchedule; info.CreateTime = this.CreateTime; info.CreateUserName = this.CreateUserName; info.NextExcuteTime = this.NextExcuteTime; info.AlreadyExcutedTimes = this.AlreadyExcutedTimes; return(info); }