|
@@ -407,8 +407,13 @@ Error_manager Dispatch_process::connect_dispatch_device(int dispatch_device_type
|
|
|
std::cout << " huli test :::: " << " 123123123123123123123 = " << 1233 << std::endl;
|
|
|
std::cout << " huli test :::: " << " tp_catcher->check_status() = " << tp_catcher->check_status().to_string() << std::endl;
|
|
|
std::cout << " huli test :::: " << " tp_catcher->m_actual_device_status = " << tp_catcher->m_actual_device_status << std::endl;
|
|
|
+
|
|
|
+ char buf[1000] = {0};
|
|
|
+ sprintf(buf, "tp_catcher->m_actual_device_status device_status error, tp_catcher->check_status() = %s, tp_catcher->m_actual_device_status = %d", tp_catcher->check_status().to_string().c_str(), tp_catcher->m_actual_device_status);
|
|
|
+
|
|
|
+
|
|
|
t_error = Error_manager(Error_code::DISPATCH_PROCESS_DEVICE_STATUS_ERROR, Error_level::MINOR_ERROR,
|
|
|
- " tp_catcher->m_actual_device_status device_status error ");
|
|
|
+ buf);
|
|
|
dispatch_control_node.m_error = t_error;
|
|
|
return t_error;
|
|
|
}
|
|
@@ -481,8 +486,12 @@ Error_manager Dispatch_process::connect_dispatch_device(int dispatch_device_type
|
|
|
std::cout << " huli test :::: " << " 123123123123123123123 = " << 4566 << std::endl;
|
|
|
std::cout << " huli test :::: " << " tp_carrier->check_status() = " << tp_carrier->check_status().to_string() << std::endl;
|
|
|
std::cout << " huli test :::: " << " tp_carrier->m_actual_device_status = " << tp_carrier->m_actual_device_status << std::endl;
|
|
|
+
|
|
|
+ char buf[1000] = {0};
|
|
|
+ sprintf(buf, "tp_carrier->m_actual_device_status device_status error, tp_carrier->check_status() = %s, tp_carrier->m_actual_device_status = %d", tp_carrier->check_status().to_string().c_str(), tp_carrier->m_actual_device_status);
|
|
|
+
|
|
|
t_error = Error_manager(Error_code::DISPATCH_PROCESS_DEVICE_STATUS_ERROR, Error_level::MINOR_ERROR,
|
|
|
- " tp_carrier->m_actual_device_status device_status error ");
|
|
|
+ buf);
|
|
|
dispatch_control_node.m_error = t_error;
|
|
|
return t_error;
|
|
|
}
|