示例#1
0
        private void genQAList()
        {
            //Information retrieval part from the google doc.
            ExcelQAExtractor eQAExtract = new ExcelQAExtractor();

            qaRespList = eQAExtract.getQuestionsFromCSV(QAPath);
        }
示例#2
0
        private static List <Person> createBoardMemberList()
        {
            ExcelQAExtractor eQAExtract = new ExcelQAExtractor();
            List <Person>    boardList  = new List <Person>();

            //Generate board QA generic list (just parse the answers);
            boardList.Add(new Person("Jana Marie Ho See", "President", 1, "*****@*****.**"));
            boardList.Add(new Person("Amanda Lai", "Interval Vice President", 2, "*****@*****.**"));
            boardList.Add(new Person("John Su", "External Vice President", 3, "*****@*****.**"));
            boardList.Add(new Person("Jillian Wong", "Secretary", 4, "*****@*****.**"));
            boardList.Add(new Person("Eric Li", "Treasurer", 5, "*****@*****.**"));
            boardList.Add(new Person("Aaron Arellano", "Social Chair", 6, "*****@*****.**"));
            boardList.Add(new Person("Joshua Xu", "Cultural Chair", 7, "*****@*****.**"));
            boardList.Add(new Person("Skylar Lung", "Culture Night Producer", 8, "*****@*****.**"));
            boardList.Add(new Person("Victoria Muliawan", "Publicity Coordinator", 9, "*****@*****.**"));
            boardList.Add(new Person("Aaron Kim", "Sports Coordinator", 10, "*****@*****.**"));
            boardList.Add(new Person("Jerry Chen", "Historian", 11, "*****@*****.**"));
            boardList.Add(new Person("Jonathan Le", "Historian", 12, "*****@*****.**"));
            boardList.Add(new Person("Kevin Liang", "Fundraising Chair", 14, "*****@*****.**"));
            boardList.Add(new Person("Winnie Chang", "Head of Staff", 15, "*****@*****.**"));
            boardList.Add(new Person("Nicholas Chow", "Camp Coordinator", 16, "*****@*****.**"));
            eQAExtract.parseFile(test_path + "test_response.csv", boardList);

            setImages(boardList);

            return(boardList);
        }