ENH:comment out two line code
Jira: STUDIO-5535 Change-Id: I5475e4f9ec6fb7e4abdb3d950da34fadead3b606
This commit is contained in:
parent
5c4945d7e8
commit
52ccbe0209
|
@ -31,7 +31,7 @@ static wxString sending_over_cloud_str = _L("Sending print job through clou
|
||||||
|
|
||||||
static wxString wait_sending_finish = _L("Print task sending times out.");
|
static wxString wait_sending_finish = _L("Print task sending times out.");
|
||||||
//static wxString desc_wait_sending_finish = _L("The printer timed out while receiving a print job. Please check if the network is functioning properly and send the print again.");
|
//static wxString desc_wait_sending_finish = _L("The printer timed out while receiving a print job. Please check if the network is functioning properly and send the print again.");
|
||||||
static wxString desc_wait_sending_finish = _L("The printer timed out while receiving a print job. Please check if the network is functioning properly.");
|
//static wxString desc_wait_sending_finish = _L("The printer timed out while receiving a print job. Please check if the network is functioning properly.");
|
||||||
|
|
||||||
PrintJob::PrintJob(std::shared_ptr<ProgressIndicator> pri, Plater* plater, std::string dev_id)
|
PrintJob::PrintJob(std::shared_ptr<ProgressIndicator> pri, Plater* plater, std::string dev_id)
|
||||||
: PlaterJob{ std::move(pri), plater },
|
: PlaterJob{ std::move(pri), plater },
|
||||||
|
@ -445,7 +445,7 @@ void PrintJob::process()
|
||||||
boost::this_thread::sleep_for(boost::chrono::milliseconds(1000));
|
boost::this_thread::sleep_for(boost::chrono::milliseconds(1000));
|
||||||
}
|
}
|
||||||
//this->update_status(curr_percent, _L("Print task sending times out."));
|
//this->update_status(curr_percent, _L("Print task sending times out."));
|
||||||
m_plater->update_print_error_info(BAMBU_NETWORK_ERR_TIMEOUT, wait_sending_finish.ToStdString(), desc_wait_sending_finish.ToStdString());
|
//m_plater->update_print_error_info(BAMBU_NETWORK_ERR_TIMEOUT, wait_sending_finish.ToStdString(), desc_wait_sending_finish.ToStdString());
|
||||||
BOOST_LOG_TRIVIAL(info) << "print_job: timeout, cancel the job" << obj->job_id_;
|
BOOST_LOG_TRIVIAL(info) << "print_job: timeout, cancel the job" << obj->job_id_;
|
||||||
/* handle tiemout */
|
/* handle tiemout */
|
||||||
//obj->command_task_cancel(curr_job_id);
|
//obj->command_task_cancel(curr_job_id);
|
||||||
|
|
Loading…
Reference in New Issue