예제 #1
0
    public string MarkProgram(string ProgramPath, string cQID, string StuCouHWDe_ID, string questionNum)
    {
        //call program marker
        this.TaskCorrectionService = new TaskCorrection();
        return(TaskCorrectionService.CorrectTask(ProgramPath, cQID, StuCouHWDe_ID, questionNum));

        /*
         * string strUpdateSQL = "UPDATE RecordMultiFormItem SET Required='true' WHERE MFID='" + FormID + "'";
         * CsDBConnection.InsertDataTable(strUpdateSQL);
         * return FormID + DateTime.Now.ToString();
         */
    }
예제 #2
0
    public string InitStuCouHWDe_prog(string StuCouHWDe_ID, string StuProgramFN)
    {
        this.TaskCorrectionService = new TaskCorrection();
        TaskCorrectionService.InitStuCouHWDe_prog_record(StuCouHWDe_ID, StuProgramFN);


        return("Finish create");

        /*
         * string strUpdateSQL = "UPDATE RecordMultiFormItem SET Required='true' WHERE MFID='" + FormID + "'";
         * CsDBConnection.InsertDataTable(strUpdateSQL);
         * return FormID + DateTime.Now.ToString();
         */
    }
예제 #3
0
 public TaskCorrectionController()
 {
     this.TaskCorrectionService = new TaskCorrection();
 }