Пример #1
0
        public void removeAttandance(string UUID)
        {
            StuAttandance aim = getAttandance(UUID);

            if (aim != null)
            {
                stuAttandances.Remove(aim);
            }
        }
Пример #2
0
        public int CompareTo(object obj)
        {
            int flag = 0;

            try {
                StuAttandance stu = (StuAttandance)obj;
                flag = DateTime.Compare(this.date, stu.date);
            } catch (Exception ex) { throw new Exception("比较异常", ex.InnerException); }
            return(flag);
        }
Пример #3
0
 public void addAttandance(StuAttandance att)
 {
     stuAttandances.Add(att);
     stuAttandances.Sort();
 }