此版本改动较大,公共部分做了规整,放置到新建文件夹 commons 当中,并所有自定义模块引入 logging 模块,记录重要信息 1. [t_change_ui: clibs.py] - 调整代码组织结构,新增模块,将公共函数以及类合并入此 - 将一些常量放入该模块 - 引入logging/concurrent_log_handler模块,并作初始化操作,供其他模块使用,按50M切割,最多保留10份 - prj_to_xcore函数设置工程名部分重写,修复了多个prj工程可能不能执行的问题 2. [t_change_ui: openapi.py] - 完全重写了 get_from_id 函数,使更精准 - 在 msg_storage 函数中,增加 logger,保留所有响应消息 - 删除 heartbeat 函数中的日志保存功能部分 - 心跳再次修改为 2s... 3. [t_change_ui: aio.py] - 增加了日志初始化部分 - detect_network 函数中修改重新实例化HR间隔为 4s,对应心跳 4. [t_change_ui: do_brake.py] - 使用一直打开曲线的方法规避解决了 OOM 的问题,同时修改数据处理方式,只取最后 12s 5. [t_change_ui: do_current.py] - 保持电流,只取最后 15s 6. [t_change_ui: all the part]: 引入 commons 包,并定制了 logging 输出,后续持续优化
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
# UTF-8
|
|
#
|
|
# For more details about fixed file info 'ffi' see:
|
|
# http://msdn.microsoft.com/en-us/library/ms646997.aspx
|
|
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, 2, 0, 5),
|
|
prodvers=(0, 2, 0, 5),
|
|
# Contains a bitmask that specifies the valid bits 'flags'r
|
|
mask=0x3f,
|
|
# Contains a bitmask that specifies the Boolean attributes of the file.
|
|
flags=0x0,
|
|
# The operating system for which this file was designed.
|
|
# 0x4 - NT and there is no need to change it.
|
|
OS=0x4,
|
|
# The general type of file.
|
|
# 0x1 - the file is an application.
|
|
fileType=0x1,
|
|
# The function of the file.
|
|
# 0x0 - the function is not defined for this fileType
|
|
subtype=0x0,
|
|
# Creation date and time stamp.
|
|
date=(0, 0)
|
|
),
|
|
kids=[
|
|
StringFileInfo(
|
|
[
|
|
StringTable(
|
|
'040904b0',
|
|
[StringStruct('CompanyName', 'Rokae - https://www.rokae.com/'),
|
|
StringStruct('FileDescription', 'All in one automatic toolbox'),
|
|
StringStruct('FileVersion', '0.2.0.5 (2024-08-02)'),
|
|
StringStruct('InternalName', 'AIO.exe'),
|
|
StringStruct('LegalCopyright', '© 2024-2024 Manford Fan'),
|
|
StringStruct('OriginalFilename', 'AIO.exe'),
|
|
StringStruct('ProductName', 'AIO'),
|
|
StringStruct('ProductVersion', '0.2.0.5 (2024-08-02)')])
|
|
]),
|
|
VarFileInfo([VarStruct('Translation', [1033, 1200])])
|
|
]
|
|
)
|