ITestPaperServices.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMISOnline.Entities;
  6. using EMISOnline.ViewModel;
  7. namespace EMISOnline.CommonLogic.ExamServices
  8. {
  9. public interface ITestPaperServices
  10. {
  11. decimal CreateSinglePaper(decimal testid, test_paper t_paper);
  12. bool UpdatePaperID(decimal test_id, string userid, decimal newPaperid);
  13. bool IsControllable(decimal id, out int test_method);
  14. bool UpdateExamState(decimal test_id, string userid);
  15. void AddExchange(decimal test_id, int type, int receiveType, string receiver, int extendIntData);
  16. ExamResult GetExam(string userid, decimal test_id);
  17. double GetExamLastLength(decimal test_id, string userid);
  18. object PaperBuilder(decimal test_id, decimal paper_id);
  19. test_onlinetest GetOnlineTest(decimal id);
  20. Examinee_ExamStatus GetExamStartLength(decimal test_id, string userid, out double limit);
  21. string ListExchange(decimal test_id, int receiveType, string receiver, DateTime? sendTime);
  22. void RootReadPaper(decimal testid, string userid);
  23. }
  24. }