IExamSettingServices.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMISOnline.Entities;
  6. using Bowin.Common.Linq.Entity;
  7. using EMISOnline.ViewModel.ExamView;
  8. using EMISOnline.ViewModel;
  9. namespace EMISOnline.CommonLogic.ExamServices
  10. {
  11. public interface IExamSettingServices
  12. {
  13. IGridResultSet<OnlineTestView> GetOnlinetestList(string testname, int page, int rows);
  14. bool ExamSettingSave(OnlineTestView view, string LoginID);
  15. OnlineTestView GetOnlineTestByID(decimal test_id);
  16. object GetPaperList(string papername, int pageIndex, int pageSize);
  17. /// <summary>
  18. /// 获取学生在线考试列表
  19. /// </summary>
  20. /// <param name="testname"></param>
  21. /// <param name="page"></param>
  22. /// <param name="rows"></param>
  23. /// <returns></returns>
  24. IGridResultSet<OnlineTestView> GetStudentOnlinetestList(string testname, DateTime? beginTime, DateTime? endTime, string UserID, int page, int rows);
  25. ExamResult GetExam(string userid, decimal test_id);
  26. Examinee_ExamStatus GetExamStartLength(decimal test_id, string userid, out double limit);
  27. test_paper getPaper(decimal test_id);
  28. bool TakePaper(decimal testid, string userid, string answer);
  29. }
  30. }