[modify] minor modifications, see readme.txt in v0.0.5 the later half part

This commit is contained in:
gitea 2024-05-23 16:12:35 +08:00
parent 6cb768a05e
commit 2dec392e50
3 changed files with 11 additions and 7 deletions

View File

@ -271,10 +271,10 @@ def initialization():
warn_pause_exit(msg, 1, 2)
DATA_DIR = ws_conf.cell(row=2, column=2).value
AV = int(ws_conf.cell(row=3, column=2).value)
RR = int(ws_conf.cell(row=4, column=2).value)
RC = float(ws_conf.cell(row=5, column=2).value)
AXIS = ws_conf.cell(row=6, column=2).value
AXIS = int(ws_conf.cell(row=3, column=2).value)
AV = int(ws_conf.cell(row=4, column=2).value.split(',')[AXIS-1].strip())
RR = int(ws_conf.cell(row=5, column=2).value.split(',')[AXIS-1].strip())
RC = float(ws_conf.cell(row=6, column=2).value.split(',')[AXIS-1].strip())
wb_conf.close()
raw_data_dirs, result_files = traversal_files(DATA_DIR)
@ -313,7 +313,7 @@ def execution(args):
time_end = time.time()
time_total = time_end - time_start
msg = f"数据处理时间:{time_total//3600:02} h {time_total % 3600/60:05.2f} min"
msg = f"数据处理时间:{time_total // 3600:02} h {time_total % 3600 // 60:02} min {time_total % 60:02} s"
warn_pause_exit(msg, 1, 0)

View File

@ -6,8 +6,8 @@ VSVersionInfo(
ffi=FixedFileInfo(
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
# Set not needed items to zero 0.
filevers=(0, 0, 5, 0),
prodvers=(0, 0, 5, 0),
filevers=(0, 0, 5, 1),
prodvers=(0, 0, 5, 1),
# Contains a bitmask that specifies the valid bits 'flags'r
mask=0x3f,
# Contains a bitmask that specifies the Boolean attributes of the file.

View File

@ -98,6 +98,10 @@ v0.0.5(2024/05/23)
2. 调整了阈值和步长
3. 删除了just_open函数以及对应的win32com库Thank GOD!终于可以不用这个库了)
4. 重写了获取开始点位的代码直接使用speed来判断而不用角度所以find_row_start_dp以及copy_data_to_excel_file函数也被一并删除
5. 修改了配置文件configs.xlsx的初始参数顺序及结构使程序通用性更强
6. 将initialazation中的预定义变量赋值调整到try...except...之外,更方便排查问题
7. 修改结束时间的格式,精确到秒
v0.x.x(2024/05/xx)