public static void main(String[] args) {
   CourseInfo c = new CourseInfo();
   c.setDepartment("1");
   c.setSubject("2");
   c.setCourseName("3");
   c.setTeacher("4");
   c.setAddress("5");
   c.setDateTime("6");
   c.setDescription("7");
   SetFileProperty(c);
 }
 /**
  * @author zfc
  *     <p>课程信息设置
  *     SetCourseInfo&Department={0}&Subject={1}&CourseName={2}&Teacher={3}&Address={4}&DateTime={5}&Description={6}
  */
 public static void SetFileProperty(CourseInfo vo) {
   if (vo == null) return;
   String string =
       "RecordCmd=SetCourseInfo"
           + "&Department="
           + vo.getDepartment()
           + "&Subject="
           + vo.getSubject()
           + "&CourseName="
           + vo.getCourseName()
           + "&Teacher="
           + vo.getTeacher()
           + "&Address="
           + vo.getAddress()
           + "&DateTime="
           + vo.getDateTime()
           + "&Description="
           + vo.getDescription();
   controlDirection(string);
 }