Commit e2c353b6 authored by Allvey's avatar Allvey

启动脚本取消二次调度

parent 94bef5ff
...@@ -31,6 +31,16 @@ logger = get_logger("zxt.para") ...@@ -31,6 +31,16 @@ logger = get_logger("zxt.para")
global_dict = {} global_dict = {}
json_file = "config.json"
with open(json_file, encoding='UTF-8') as f:
para_config = json.load(f)["para"]
# 挖机装载时间
loading_time = para_config["loading_time"]
# 卸载点写在时间
unloading_time = para_config["unloading_time"]
def get_value(name): def get_value(name):
return global_dict[name] return global_dict[name]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment