/// <summary> /// This will run when a program that was being sent to the data logger is complete. /// This means that the program will be sent & compiled. /// /// If the send action failed, we will have the response code and compile result. /// </summary> /// <param name="successful"></param> /// <param name="response_code"></param> /// <param name="compile_result"></param> private void dataLoggerProgramSentComplete(bool successful, CSIDATALOGGERLib.prog_send_outcome_type response_code, string compile_result) { if (successful) { logResponse("+ Successfully sent the program. Complete event."); } else { logResponse("- Could not send the program. Response code: " + response_code + ". Compile result: " + compile_result + "."); } SentFileArgs fsArgs = new SentFileArgs(successful, response_code, compile_result); SentFile(this, fsArgs); }
/// <summary> /// This will run when a program that was being sent to the data logger is complete. /// This means that the program will be sent & compiled. /// /// If the send action failed, we will have the response code and compile result. /// </summary> /// <param name="successful"></param> /// <param name="response_code"></param> /// <param name="compile_result"></param> private void dataLoggerProgramSentComplete(bool successful, CSIDATALOGGERLib.prog_send_outcome_type response_code, string compile_result) { if (successful) { logResponse("+ Successfully sent the program. Complete event."); } else { logResponse("- Could not send the program. Response code: " + response_code+ ". Compile result: " + compile_result + "."); } SentFileArgs fsArgs = new SentFileArgs(successful, response_code, compile_result); SentFile(this, fsArgs); }