|
@ -221,7 +221,7 @@ int32_t PipetteModule::do_pipette_ctrl_put_tip() { |
|
|
creg.module_status = 1; |
|
|
creg.module_status = 1; |
|
|
m_thread.start( |
|
|
m_thread.start( |
|
|
[this]() { //
|
|
|
[this]() { //
|
|
|
DO_IN_THREAD(befor_run()); |
|
|
|
|
|
|
|
|
DO_IN_THREAD(do_put_tip_before_run()); |
|
|
DO_IN_THREAD(m_smtp2.pump_put_tip()); |
|
|
DO_IN_THREAD(m_smtp2.pump_put_tip()); |
|
|
while (true) { |
|
|
while (true) { |
|
|
if (!check_when_run()) break; |
|
|
if (!check_when_run()) break; |
|
@ -729,6 +729,13 @@ int32_t PipetteModule::befor_run() { |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int32_t PipetteModule::do_put_tip_before_run() { |
|
|
|
|
|
creg.module_status = 1; |
|
|
|
|
|
creg.module_errorcode = 0; |
|
|
|
|
|
m_state.dul = 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
int32_t PipetteModule::after_run() { |
|
|
int32_t PipetteModule::after_run() { |
|
|
ZLOGI(TAG, "after_run"); |
|
|
ZLOGI(TAG, "after_run"); |
|
|
m_smtp2.pump_stop(); |
|
|
m_smtp2.pump_stop(); |
|
|