expired date & brake speed setting format modification

This commit is contained in:
2025-06-16 09:10:11 +08:00
parent eb2463b943
commit 790a4985e7
6 changed files with 10 additions and 7 deletions

3
aio.py
View File

@ -1037,5 +1037,8 @@ class SplashScreen(QApplication):
if __name__ == '__main__':
if time.time() > 1757486841:
exit(9)
app = SplashScreen(sys.argv)
sys.exit(app.exec())

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, 4, 0, 7),
prodvers=(0, 4, 0, 7),
filevers=(0, 4, 0, 8),
prodvers=(0, 4, 0, 8),
# Contains a bitmask that specifies the valid bits 'flags'r
mask=0x3f,
# Contains a bitmask that specifies the Boolean attributes of the file.
@ -31,12 +31,12 @@ VSVersionInfo(
'040904b0',
[StringStruct('CompanyName', 'Rokae - https://www.rokae.com/'),
StringStruct('FileDescription', 'All in one automatic toolbox'),
StringStruct('FileVersion', '0.4.0.7 (2025-05-28)'),
StringStruct('FileVersion', '0.4.0.8 (2025-06-10)'),
StringStruct('InternalName', 'AIO.exe'),
StringStruct('LegalCopyright', '© 2024-2025 Manford Fan'),
StringStruct('OriginalFilename', 'AIO.exe'),
StringStruct('ProductName', 'AIO'),
StringStruct('ProductVersion', '0.4.0.7 (2025-05-28)')])
StringStruct('ProductVersion', '0.4.0.8 (2025-06-10)')])
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
]

View File

@ -1 +1 @@
0.4.0.7@05/28/2025
0.4.0.8@06/10/2025

View File

@ -1 +1 @@
0.4.0.7@05/28/2025
0.4.0.8@06/10/2025

View File

@ -215,7 +215,7 @@ class DoBrakeTest(QThread):
rl_cmd = f"brake_E(j{axis}_{reach}_p, j{axis}_{reach}_n, p_speed, p_tool);"
elif pon == "negative":
rl_cmd = f"brake_E(j{axis}_{reach}_n, j{axis}_{reach}_p, p_speed, p_tool);"
rl_speed = f"VelSet {speed};"
rl_speed = f"VelSet({speed});"
rl_tool = f"tool p_tool = {self.tool};"
cmd = "cd /home/luoshi/bin/controller/; "
cmd += f'sudo sed -i "/brake_E/d" projects/{prj_name}/_build/brake/main.mod; '