public List<ScheduleItem> CheckOneDaySchedule() { ScheduleDataSet data = new ScheduleDataSet(); ScheduleDataSet.search_eip_t_scheduleRow paramRow = data.search_eip_t_schedule.Newsearch_eip_t_scheduleRow(); paramRow.user_id = SettingManager.UserId; data.search_eip_t_schedule.Rows.Add(paramRow); ScheduleModel m = new ScheduleModel(); m.Execute(m.GetOneDayScheduleInfo, data); return this.GetOneDaySchedule(data); }
/// <summary> /// スケジュールを検索 /// </summary> /// <param name="start_date"></param> /// <returns></returns> private ScheduleDataSet GetScheduleData(string start_date) { ScheduleDataSet data = new ScheduleDataSet(); ScheduleDataSet.search_eip_t_scheduleRow paramRow = data.search_eip_t_schedule.Newsearch_eip_t_scheduleRow(); paramRow.user_id = SettingManager.UserId; paramRow.start_date = start_date; paramRow.check_time = SettingManager.CheckTime.ToString(); if (SettingManager.CheckOtherSchedule) { paramRow.other_user_id_list = SettingManager.GroupUserId; } data.search_eip_t_schedule.Rows.Add(paramRow); ScheduleModel m = new ScheduleModel(); m.Execute(m.GetScheduleInfo, data); return data; }