IScheduleServices.cs 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.EducationSchedule;
  6. using EMIS.ViewModel.UniversityManage.ClassroomManage;
  7. using EMIS.ViewModel.CalendarManage;
  8. using EMIS.ViewModel.EducationManage;
  9. using Bowin.Common.Linq.Entity;
  10. using EMIS.ViewModel;
  11. using EMIS.ViewModel.EducationManagement;
  12. namespace EMIS.CommonLogic.EducationSchedule
  13. {
  14. public interface IScheduleServices
  15. {
  16. void GenerateSchedule();
  17. void GenerateSchedule(IList<Guid?> educationMissionClassIDList);
  18. void ClearClassmajorSchedule(Guid schoolYearID, Guid classmajorID);
  19. List<EducationSchedulingView> GetClassmajorSchedule(Guid schoolYearID, Guid classmajorID);
  20. List<EducationSchedulingView> GetDepartmentSchedule(Guid schoolYearID, Guid departmentID, IList<int?> handleModeList);
  21. List<ClassroomView> GetAvailableClassroomList(Guid collegeID, Guid schoolYearID, IList<int?> schedulingWeekList,
  22. int weekday, Guid courseTimeID, int? studentNum, int? classroomTypeID = null);
  23. void CheckClassroomIsAvailable(Guid collegeID, Guid schoolYearID, IList<int?> schedulingWeekList,
  24. int weekday, Guid courseTimeID, Guid classroomID);
  25. void CheckClassroomIsAvailable(Guid schoolYearID, IList<int?> schedulingWeekList,
  26. int weekday, Guid courseTimeID, Guid classroomID);
  27. void CheckEducationSchedulingClassCanAddManualSchedule(Guid educationScheduleClassID, IList<SchedulingWeekListView> schedulingWeekList, Guid schoolYearID,
  28. int weekday, Guid courseTimeID);
  29. void CheckCourseIsOnWork(Guid coursematerialID, int weekday, Guid courseTimeID);
  30. void CheckTeacherIsOnWork(Guid educationScheduleClassID, IList<SchedulingWeekListView> weekTeacherList, int weekday, Guid courseTimeID);
  31. List<TeacherWorkTimeView> GetTeacherContinuousWorkTime(Guid educationScheduleClassID, IList<SchedulingWeekListView> schedulingWeekList,
  32. Guid schoolYearID, int weekday);
  33. void AddScheduling(EducationSchedulingView educationSchedulingView, IList<int?> schedulingWeekList, IList<CourseProcessTeacherView> teacherList);
  34. void DelScheduling(Guid educationSchedulingID);
  35. void DelWeeks(Guid educationSchedulingID, IList<int?> weekList);
  36. void Submit(Guid collegeID);
  37. List<ScheduleAdjustmentEditView> GetTeacherScheduleAdjustmentViewList(Guid schoolyearID, Guid userID, Guid? coursematerialID,
  38. Guid? educationMissionClassID, int? weekNum, int? weekday, Guid? courseTimesID, Guid? classroomID);
  39. List<ScheduleStopEditView> GetTeacherScheduleStopViewList(Guid schoolyearID, Guid userID, Guid? coursematerialID,
  40. Guid? educationMissionClassID, int? weekNum, int? weekday, Guid? courseTimesID, Guid? classroomID);
  41. ScheduleAdjustmentEditView GetScheduleAdjustmentView(Guid educationSchedulingWeekNumID);
  42. EducationSchedulingStopView GetEducationSchedulingStopView(Guid educationSchedulingID);
  43. List<CoursesTimeView> GetNotUseCoursesTimeViewList(Guid schoolyearID, int weekday, int toWeekday, Guid courseTimeID,
  44. int? weekNum, int? toWeekNum, Guid? fromTeacherID, Guid? replaceTeacherID, Guid educationMissionClassID);
  45. IGridResultSet<ClassroomView> GetNotUseClassroomViewList(ConfiguretView configuretView, Guid schoolyearID, int weekday, int toWeekday, Guid coursesTimeID,
  46. Guid toCoursesTimeID, IList<int?> weekNumList, IList<int?> toWeekNumList, int classroomTypeID, Guid educationMissionClassID,
  47. int? pageIndex = null, int? pageSize = null);
  48. List<ClassroomScheduleView> GetClassroomScheduleViewList(Guid schoolyearID, Guid classroomID);
  49. void ChangeClassroom(Guid educationSchedulingID, Guid classroomID);
  50. List<EducationSchedulingTeacherListView> GetEducationSchedulingTeacherViewList(Guid educationSchedulingID);
  51. void ChangeTeacher(Guid educationSchedulingID, IList<EducationSchedulingTeacherListView> teacherList);
  52. void ClearAutoSchedule(Guid schoolYearID, Guid? collegeID, int? standardID, int? year, Guid? classmajorID);
  53. List<MobileUserEducationScheduleView> GetMobileStudentSchedule(Guid userID, DateTime date);
  54. EducationMissionClassView GetEducationMissionClassViewBySchedule(Guid? schoolyearID, DateTime date, Guid coursesTimeID, Guid teacherUserID);
  55. List<EducationSchedulingWeekNumView> GetEducationSchedulingWeekNumViewByDateTimeList(Guid schoolyearID, IList<StartEndTimeView> dateTimeList);
  56. List<EducationSchedulingWeekNumView> GetEducationSchedulingWeekNumViewForExaminationTeacher(Guid schoolyearID, IList<StartEndTimeView> dateTimeList);
  57. List<CoursesTimeView> GetNotUseCoursesTimeViewListForBatchAdjustment(Guid? schoolyearID, int? toWeekday, int? toWeekNum, Guid? teacherID, List<Guid?> educationSchedulingWeekNumIDList);
  58. }
  59. }