using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMISOnline.Entities; using EMISOnline.ViewModel; namespace EMISOnline.CommonLogic.ExamServices { public interface ITestPaperServices { decimal CreateSinglePaper(decimal testid, test_paper t_paper); bool UpdatePaperID(decimal test_id, string userid, decimal newPaperid); bool IsControllable(decimal id, out int test_method); bool UpdateExamState(decimal test_id, string userid); void AddExchange(decimal test_id, int type, int receiveType, string receiver, int extendIntData); ExamResult GetExam(string userid, decimal test_id); double GetExamLastLength(decimal test_id, string userid); object PaperBuilder(decimal test_id, decimal paper_id); test_onlinetest GetOnlineTest(decimal id); Examinee_ExamStatus GetExamStartLength(decimal test_id, string userid, out double limit); string ListExchange(decimal test_id, int receiveType, string receiver, DateTime? sendTime); void RootReadPaper(decimal testid, string userid); } }