1. [aio.py] 在detect_network函数中需改查询时间间隔是1s,在tabview_click中增加textbox配置normal的语句 2. [do_brake.py -> btn_functions.py] 新增执行相应函数,并在get_state函数中设置无示教器模式 3. [openapi.py] 新增sock_conn函数,并做连接时的异常处理,新增类参数w2t 4. [aio.py] 修改customtkinter库中C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\customtkinter\windows\widgets\ctk_tabview.py文件,参考https://github.com/TomSchimansky/CustomTkinter/issues/2296,实现修改tabview组件的字体大小,使用原生字体,同时将segmented button字体修改为原生,为了解决segmented button在禁用和启用时,屏幕抖动的问题,并将大小修改为16 5. [aio.py] 修改了segmented_button_callback的实现逻辑,使代码更简洁 6. [aio.py] 修改了在tabview_click函数中对于实例化openapi的动作,使每次切换标签都会重新实例化,也就是每次都会重新连接,修复显示不正确的问题 7. [openapi.py] 新增了socket关闭的函数,并增加msg_id为None的处理逻辑 8. [btn_functions.py] 完善了状态获取的功能,新增告警获取以及功能切换的逻辑
		
			
				
	
	
		
			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, 1, 7, 0),
 | |
|     prodvers=(0, 1, 7, 0),
 | |
|     # 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.1.7.0 (2024-06-26)'),
 | |
|         StringStruct('InternalName', 'AIO.exe'),
 | |
|         StringStruct('LegalCopyright', '© 2024-2024 Manford Fan'),
 | |
|         StringStruct('OriginalFilename', 'AIO.exe'),
 | |
|         StringStruct('ProductName', 'AIO'),
 | |
|         StringStruct('ProductVersion', '0.1.7.0 (2024-06-26)')])
 | |
|       ]),
 | |
|     VarFileInfo([VarStruct('Translation', [1033, 1200])])
 | |
|   ]
 | |
| )
 |