|
@@ -564,6 +564,9 @@ Error_manager Dispatch_manager::execute_rabbitmq_message_new(Rabbitmq_message* p
|
|
|
{
|
|
|
t_wheel_base_level = 9;
|
|
|
}
|
|
|
+
|
|
|
+ LOG(INFO) << " t_height_level = " << t_height_level;
|
|
|
+ LOG(INFO) << " t_wheel_base_level = " << t_wheel_base_level;
|
|
|
|
|
|
|
|
|
Dispatch_command::Dispatch_space_info t_dispatch_space_info;
|
|
@@ -1764,9 +1767,13 @@ void Dispatch_manager::process_sql_shanggujie()
|
|
|
std::cout << " huli test :::: " << " jsghvvvtfhderhthfdvht get_outlet_for_ready() = " << get_outlet_for_ready() << std::endl;
|
|
|
std::cout << " huli test :::: " << " qweqweqweqweqweqwefsd safe_lock = " << m_dispatch_plc.park_safe_lock[0] << " " << m_dispatch_plc.park_safe_lock[1] << std::endl;
|
|
|
|
|
|
- std::string t_now_time = Time_tool::get_instance_references().get_current_time_seconds();
|
|
|
- //周期性删除 预约超时的车位
|
|
|
- m_dispatch_command.update_parkspace_clear_apply_end_time(t_now_time, 0);
|
|
|
+ if ( m_dispatch_manager_id > 30 )
|
|
|
+ {
|
|
|
+ std::string t_now_time = Time_tool::get_instance_references().get_current_time_seconds();
|
|
|
+ //周期性删除 预约超时的车位
|
|
|
+ m_dispatch_command.update_parkspace_clear_apply_end_time(t_now_time, 0);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
//获取调度指令, 与数据库同步所有的指令信息,注意了:内部加锁,
|
|
|
m_dispatch_command.query_all_dispatch_command_ex();
|