增减数量超限报警功能
This commit is contained in:
parent
0b283f6b8c
commit
9720a07683
@ -3571,7 +3571,8 @@ async def send_frame_to_s3_mq(loop,upload_executor,task_id, mqtt, mqtt_topic, ca
|
|||||||
"count_message":count_message,
|
"count_message":count_message,
|
||||||
"high_count_warn":{
|
"high_count_warn":{
|
||||||
"high_count_warn_status":high_count_warn_status,
|
"high_count_warn_status":high_count_warn_status,
|
||||||
"high_count_warn_num":high_count_warn_num
|
"high_count_warn_num":high_count_warn_num,
|
||||||
|
"high_count_warn":high_count_warn
|
||||||
},
|
},
|
||||||
"des_location":des_location_result
|
"des_location":des_location_result
|
||||||
}
|
}
|
||||||
|
|||||||
19
yolo_api.py
19
yolo_api.py
@ -54,16 +54,23 @@ service_status = {"is_healthy": True, "last_error": None, "error_time": None}
|
|||||||
# "user": "postgres",
|
# "user": "postgres",
|
||||||
# "password": "root"
|
# "password": "root"
|
||||||
# }
|
# }
|
||||||
|
#
|
||||||
|
# DB_CONFIG = {
|
||||||
|
# "dbname": "smart_dev_123",
|
||||||
|
# "user": "postgres",
|
||||||
|
# "password": "root",
|
||||||
|
# "host": "8.137.54.85",
|
||||||
|
# "port": "5060"
|
||||||
|
# }
|
||||||
|
#正式数据库
|
||||||
DB_CONFIG = {
|
DB_CONFIG = {
|
||||||
"dbname": "smart_dev_123",
|
"dbname": "smart_dev",
|
||||||
"user": "postgres",
|
"user": "postgres",
|
||||||
"password": "root",
|
"password": "StrongPassword@123",
|
||||||
"host": "8.137.54.85",
|
"host": "222.212.85.86",
|
||||||
"port": "5060"
|
"port": "5061"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# 什邡数据库
|
# 什邡数据库
|
||||||
# DB_CONFIG = {
|
# DB_CONFIG = {
|
||||||
# "dbname": "postgres",
|
# "dbname": "postgres",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user