Esempio n. 1
0
        public OperEvent(GCal.CalEvent ge)
        {
            GoogleEvent = ge;

            FormGlob.ParseEventDescription(
                GoogleEvent.Summary,
                out m_parsed_title,
                out m_parsed_students,
                out m_parsed_teachers,
                out m_parsed_comment);

            Linked = false;

            SimilarityPlace = -1;
            SimilarityStart = -1;
            SimilarityDuration = -1;
            SimilarityTeacher = -1;
            SimilarityStudent = -1;
            SimilarityStatus = -1;
        }
Esempio n. 2
0
        private OperEvent(
            GCal.CalEvent ge, 
            Lesson l,
            string title,
            string[] students,
            string[] teachers,
            string comment)
        {
            GoogleEvent = ge;
            SuspectedLesson = l;
            m_parsed_title = title;
            m_parsed_students = students;
            m_parsed_teachers = teachers;
            m_parsed_comment = comment;

            Linked = false;

            SimilarityPlace = -1;
            SimilarityStart = -1;
            SimilarityDuration = -1;
            SimilarityTeacher = -1;
            SimilarityStudent = -1;
            SimilarityStatus = -1;
        }