예제 #1
0
 def __init__(self):
     self.seq = SeqInfo()
     self.detail = DetailInfo()
     self.course = CourseInfo()
     self.stu = StuInfo()
     self.sum = SumInfo()
     self.ini = IniInfo()
예제 #2
0
 def __init__(self, tec_id, course_id, course_filename, stu_filename,
              seq_filename):
     self.course = CourseInfo()
     self.stu = StuInfo()
     self.tim = TimeWindows()
     self.seq = SeqInfo()
     self.section = self.tim.get_now_section(self.tim.get_time())
     self.tecid = tec_id
     self.courseid = course_id
     self.classnames = self.get_checkin_classnames(tec_id, course_id,
                                                   course_filename)
     self.stuids = self.get_checkin_stuids(self.classnames, stu_filename)
     self.seqid = str(
         self.seq.get_seqid(tec_id, course_id,
                            self.seq.get_all_seq_info(seq_filename)) + 1)
     self.starttime = self.tim.get_time2()