Files
WQ_GUI/src/new/__init__.py

19 lines
655 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
"""
WQ_GUI 端到端模块化新架构
============================
四层一对一分离:
* ``core/`` 基础通讯接口(BaseView 等契约)
* ``views/`` 前端皮囊 —— 仅 PyQt UI,零业务
* ``services/`` 后端大脑 —— 纯函数计算,零 PyQt
* ``main_view.py`` 路由与调度壳,连接前端按钮与后端服务
调用链:
Step1View._on_run_clicked
→ BaseView.dispatch_execute(step_id, config)
→ MainView.run_single_step(step_id, config)
→ TaskWorker 线程调用 services.step1_service.execute_step1(config)
→ 返回 dict 结果 → 日志区
"""