补充readme以及release change相关信息,修改clibs.running的逻辑
This commit is contained in:
@ -196,6 +196,7 @@ def main():
|
||||
trq = int(clibs.data_dp["_trq"])
|
||||
estop = int(clibs.data_dp["_estop"])
|
||||
w2t = clibs.w2t
|
||||
clibs.running = 1
|
||||
|
||||
rawdata_dirs, result_files = clibs.traversal_files(path, w2t)
|
||||
config_file, result_files = check_files(rawdata_dirs, result_files, w2t)
|
||||
|
@ -412,6 +412,7 @@ def main():
|
||||
trqh = int(clibs.data_dp["_trqh"])
|
||||
sensor = int(clibs.data_dp["_sensor"])
|
||||
w2t = clibs.w2t
|
||||
clibs.running = 2
|
||||
insert_logdb = clibs.insert_logdb
|
||||
insert_logdb("INFO", "current", "current: 参数初始化成功")
|
||||
|
||||
|
@ -135,6 +135,7 @@ def p_iso_1000(file, p_files, ws, tmpfile):
|
||||
def main():
|
||||
path = clibs.data_dp["_path"]
|
||||
w2t = clibs.w2t
|
||||
clibs.running = 3
|
||||
dirs, files = clibs.traversal_files(path, 1)
|
||||
|
||||
filename = f"{path}/iso-results.xlsx"
|
||||
|
@ -145,6 +145,7 @@ def execution(data_files, w2t):
|
||||
def main():
|
||||
path = clibs.data_dp["_path"]
|
||||
w2t = clibs.w2t
|
||||
clibs.running = 4
|
||||
data_files = initialization(path, w2t)
|
||||
execution(data_files, w2t)
|
||||
|
||||
|
Reference in New Issue
Block a user