采集卡bug修复

This commit is contained in:
Ray
2025-10-29 15:34:28 +08:00
parent bcc971d528
commit 3a8873acc2
6 changed files with 738 additions and 56 deletions

View File

@@ -22,7 +22,7 @@ def create_launcher():
"""创建启动器界面"""
root = tk.Tk()
root.title("火炬之光自动化 - 启动器")
root.geometry("400x300")
root.geometry("400x380")
root.resizable(False, False)
# 标题
@@ -49,10 +49,21 @@ def create_launcher():
preview_btn.pack(pady=10)
# 主程序按钮
main_btn = tk.Button(button_frame, text="🚀 启动自动化",
main_btn = tk.Button(button_frame, text="🚀 启动单个配置组",
command=start_main_program,
width=30, height=3, font=('Arial', 12))
main_btn.pack(pady=10)
width=30, height=2, font=('Arial', 11))
main_btn.pack(pady=5)
def start_multi_program():
"""启动多配置组程序"""
subprocess.Popen([sys.executable, "main_multi.py"],
creationflags=subprocess.CREATE_NEW_CONSOLE if sys.platform == 'win32' else 0)
# 多配置组启动按钮
multi_btn = tk.Button(button_frame, text="🔥 启动多个配置组",
command=start_multi_program,
width=30, height=2, font=('Arial', 11))
multi_btn.pack(pady=5)
# 说明
info_label = tk.Label(root,