优化查找断点列表。

This commit is contained in:
2026-03-02 18:27:54 +08:00
parent fbdbed37f4
commit cfafb9d3d4
14 changed files with 17198 additions and 17201 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -6421,6 +6421,7 @@
'C:\\Program Files\\Python312\\Lib\\tracemalloc.py',
'PYMODULE'),
('tty', 'C:\\Program Files\\Python312\\Lib\\tty.py', 'PYMODULE'),
('turtle', 'C:\\Program Files\\Python312\\Lib\\turtle.py', 'PYMODULE'),
('typing', 'C:\\Program Files\\Python312\\Lib\\typing.py', 'PYMODULE'),
('typing_extensions',
'C:\\Users\\ADMIN\\AppData\\Roaming\\Python\\Python312\\site-packages\\typing_extensions.py',

View File

@@ -28,7 +28,7 @@ missing module named multiprocessing.BufferTooShort - imported by multiprocessin
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
missing module named posix - imported by os (conditional, optional), posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional)
missing module named posix - imported by posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), os (conditional, optional)
missing module named resource - imported by posix (top-level)
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
@@ -52,27 +52,25 @@ missing module named jaraco.text.yield_lines - imported by setuptools._vendor.ja
missing module named _manylinux - imported by packaging._manylinux (delayed, optional), setuptools._vendor.packaging._manylinux (delayed, optional), setuptools._vendor.wheel.vendored.packaging._manylinux (delayed, optional)
missing module named trove_classifiers - imported by setuptools.config._validate_pyproject.formats (optional)
missing module named pyimod02_importers - imported by C:\Program Files\Python312\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed), C:\Program Files\Python312\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py (delayed)
missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl (delayed, conditional)
missing module named collections.Mapping - imported by collections (optional), pytz.lazy (optional)
missing module named collections.Callable - imported by collections (optional), socks (optional)
missing module named simplejson - imported by requests.compat (conditional, optional)
missing module named dummy_threading - imported by requests.cookies (optional)
missing module named zstandard - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named compression - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named brotli - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named brotlicffi - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl (delayed, optional)
missing module named cryptography - imported by urllib3.contrib.pyopenssl (top-level), requests (conditional, optional)
missing module named OpenSSL - imported by urllib3.contrib.pyopenssl (top-level)
missing module named 'h2.events' - imported by urllib3.http2.connection (top-level)
missing module named 'h2.connection' - imported by urllib3.http2.connection (top-level)
missing module named h2 - imported by urllib3.http2.connection (top-level)
missing module named brotli - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named brotlicffi - imported by urllib3.util.request (optional), urllib3.response (optional)
missing module named win_inet_pton - imported by socks (conditional, optional)
missing module named collections.Callable - imported by collections (optional), socks (optional)
missing module named cryptography - imported by urllib3.contrib.pyopenssl (top-level), requests (conditional, optional)
missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl (delayed, conditional)
missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl (delayed, optional)
missing module named OpenSSL - imported by urllib3.contrib.pyopenssl (top-level)
missing module named 'pyodide.ffi' - imported by urllib3.contrib.emscripten.fetch (delayed, optional)
missing module named pyodide - imported by urllib3.contrib.emscripten.fetch (top-level)
missing module named js - imported by urllib3.contrib.emscripten.fetch (top-level)
missing module named wsaccel - imported by websocket._utils (optional)
missing module named 'python_socks.sync' - imported by websocket._http (optional)
missing module named 'python_socks._types' - imported by websocket._http (optional)
missing module named python_socks - imported by websocket._http (optional)
missing module named 'wsaccel.xormask' - imported by websocket._abnf (optional)
missing module named six.moves.range - imported by six.moves (top-level), dateutil.rrule (top-level)
runtime module named six.moves - imported by dateutil.tz.tz (top-level), dateutil.tz._factories (top-level), dateutil.tz.win (top-level), dateutil.rrule (top-level)
missing module named dateutil.tz.tzfile - imported by dateutil.tz (top-level), dateutil.zoneinfo (top-level)
@@ -308,7 +306,6 @@ missing module named setuptools_scm - imported by matplotlib (delayed, condition
missing module named markupsafe - imported by pandas.io.formats.style_render (top-level)
missing module named botocore - imported by pandas.io.common (delayed, conditional, optional)
missing module named sets - imported by pytz.tzinfo (optional)
missing module named collections.Mapping - imported by collections (optional), pytz.lazy (optional)
missing module named UserDict - imported by pytz.lazy (optional)
missing module named 'scipy.sparse' - imported by pandas.core.arrays.sparse.array (conditional), pandas.core.arrays.sparse.scipy_sparse (delayed, conditional), pandas.core.arrays.sparse.accessor (delayed), pandas.core.dtypes.common (delayed, conditional, optional)
missing module named pandas.core.internals.Block - imported by pandas.core.internals (conditional), pandas.io.pytables (conditional)
@@ -343,5 +340,8 @@ missing module named numpy_distutils - imported by numpy.f2py.diagnose (delayed,
missing module named yaml - imported by numpy.__config__ (delayed)
missing module named numpy._distributor_init_local - imported by numpy (optional), numpy._distributor_init (optional)
missing module named pytest - imported by pandas._testing._io (delayed), pandas._testing (delayed)
missing module named simplejson - imported by requests.compat (conditional, optional)
missing module named dummy_threading - imported by requests.cookies (optional)
missing module named wsaccel - imported by websocket._utils (optional)
missing module named 'python_socks.sync' - imported by websocket._http (optional)
missing module named 'python_socks._types' - imported by websocket._http (optional)
missing module named python_socks - imported by websocket._http (optional)
missing module named 'wsaccel.xormask' - imported by websocket._abnf (optional)

View File

@@ -282,9 +282,6 @@ imports:
&#8226; <a href="#functools">functools</a>
&#8226; <a href="#genericpath">genericpath</a>
&#8226; <a href="#globals.apis">globals.apis</a>
&#8226; <a href="#globals.driver_utils">globals.driver_utils</a>
&#8226; <a href="#globals.global_variable">globals.global_variable</a>
&#8226; <a href="#globals.ids">globals.ids</a>
&#8226; <a href="#heapq">heapq</a>
&#8226; <a href="#io">io</a>
&#8226; <a href="#keyword">keyword</a>
@@ -294,12 +291,6 @@ imports:
&#8226; <a href="#ntpath">ntpath</a>
&#8226; <a href="#operator">operator</a>
&#8226; <a href="#os">os</a>
&#8226; <a href="#page_objects.download_tabbar_page">page_objects.download_tabbar_page</a>
&#8226; <a href="#page_objects.login_page">page_objects.login_page</a>
&#8226; <a href="#page_objects.more_download_page">page_objects.more_download_page</a>
&#8226; <a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
&#8226; <a href="#page_objects.upload_config_page">page_objects.upload_config_page</a>
&#8226; <a href="#permissions">permissions</a>
&#8226; <a href="#posixpath">posixpath</a>
&#8226; <a href="#pyi_rth__tkinter.py">pyi_rth__tkinter.py</a>
&#8226; <a href="#pyi_rth_inspect.py">pyi_rth_inspect.py</a>
@@ -13248,6 +13239,7 @@ imported by:
&#8226; <a href="#setuptools._vendor.backports.tarfile">setuptools._vendor.backports.tarfile</a>
&#8226; <a href="#sqlalchemy.sql.util">sqlalchemy.sql.util</a>
&#8226; <a href="#tarfile">tarfile</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#weakref">weakref</a>
&#8226; <a href="#webbrowser">webbrowser</a>
&#8226; <a href="#xlrd.formula">xlrd.formula</a>
@@ -13548,6 +13540,7 @@ imported by:
&#8226; <a href="#openpyxl.utils.datetime">openpyxl.utils.datetime</a>
&#8226; <a href="#openpyxl.writer.excel">openpyxl.writer.excel</a>
&#8226; <a href="#page_objects.download_tabbar_page">page_objects.download_tabbar_page</a>
&#8226; <a href="#page_objects.more_download_page">page_objects.more_download_page</a>
&#8226; <a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
&#8226; <a href="#page_objects.upload_config_page">page_objects.upload_config_page</a>
&#8226; <a href="#pandas._typing">pandas._typing</a>
@@ -18031,7 +18024,6 @@ imported by:
&#8226; <a href="#page_objects.more_download_page">page_objects.more_download_page</a>
&#8226; <a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
&#8226; <a href="#page_objects.upload_config_page">page_objects.upload_config_page</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -18055,7 +18047,6 @@ imported by:
&#8226; <a href="#page_objects.login_page">page_objects.login_page</a>
&#8226; <a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
&#8226; <a href="#page_objects.upload_config_page">page_objects.upload_config_page</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -18075,7 +18066,6 @@ imported by:
&#8226; <a href="#page_objects.download_tabbar_page">page_objects.download_tabbar_page</a>
&#8226; <a href="#page_objects.login_page">page_objects.login_page</a>
&#8226; <a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -19306,6 +19296,7 @@ imported by:
&#8226; <a href="#sqlalchemy.sql.lambdas">sqlalchemy.sql.lambdas</a>
&#8226; <a href="#sqlalchemy.util.compat">sqlalchemy.util.compat</a>
&#8226; <a href="#sqlalchemy.util.langhelpers">sqlalchemy.util.langhelpers</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#typing">typing</a>
&#8226; <a href="#typing_extensions">typing_extensions</a>
&#8226; <a href="#unittest.async_case">unittest.async_case</a>
@@ -20949,6 +20940,7 @@ imported by:
&#8226; <a href="#setuptools._vendor.more_itertools.recipes">setuptools._vendor.more_itertools.recipes</a>
&#8226; <a href="#sqlalchemy.dialects.sqlite.pysqlite">sqlalchemy.dialects.sqlite.pysqlite</a>
&#8226; <a href="#statistics">statistics</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#urllib.parse">urllib.parse</a>
&#8226; <a href="#xlsxwriter.worksheet">xlsxwriter.worksheet</a>
@@ -37790,6 +37782,7 @@ imported by:
&#8226; <a href="#setuptools.msvc">setuptools.msvc</a>
&#8226; <a href="#sysconfig">sysconfig</a>
&#8226; <a href="#tracemalloc">tracemalloc</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#unittest.util">unittest.util</a>
</div>
@@ -38269,7 +38262,6 @@ imports:
<div class="import">
imported by:
<a href="#main">main</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -38297,7 +38289,6 @@ imports:
imported by:
<a href="#main">main</a>
&#8226; <a href="#page_objects.more_download_page">page_objects.more_download_page</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -38309,6 +38300,7 @@ imported by:
<span class="moduletype">SourceModule</span> <div class="import">
imports:
<a href="#appium.webdriver.common.appiumby">appium.webdriver.common.appiumby</a>
&#8226; <a href="#datetime">datetime</a>
&#8226; <a href="#globals.driver_utils">globals.driver_utils</a>
&#8226; <a href="#logging">logging</a>
&#8226; <a href="#page_objects">page_objects</a>
@@ -38324,7 +38316,6 @@ imports:
imported by:
<a href="#main">main</a>
&#8226; <a href="#page_objects.upload_config_page">page_objects.upload_config_page</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -38350,12 +38341,12 @@ imports:
&#8226; <a href="#selenium.webdriver.support.ui">selenium.webdriver.support.ui</a>
&#8226; <a href="#subprocess">subprocess</a>
&#8226; <a href="#time">time</a>
&#8226; <a href="#turtle">turtle</a>
</div>
<div class="import">
imported by:
<a href="#main">main</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -38388,7 +38379,6 @@ imports:
<div class="import">
imported by:
<a href="#main">main</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -51178,7 +51168,6 @@ imports:
<div class="import">
imported by:
<a href="#main">main</a>
&#8226; <a href="#scheduler.py">scheduler.py</a>
</div>
@@ -53219,6 +53208,7 @@ imported by:
&#8226; <a href="#tkinter">tkinter</a>
&#8226; <a href="#tokenize">tokenize</a>
&#8226; <a href="#tomllib._re">tomllib._re</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#typing">typing</a>
&#8226; <a href="#unittest.case">unittest.case</a>
&#8226; <a href="#unittest.loader">unittest.loader</a>
@@ -70140,6 +70130,7 @@ imported by:
&#8226; <a href="#tkinter">tkinter</a>
&#8226; <a href="#tokenize">tokenize</a>
&#8226; <a href="#traceback">traceback</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#types">types</a>
&#8226; <a href="#typing">typing</a>
&#8226; <a href="#typing_extensions">typing_extensions</a>
@@ -70594,6 +70585,7 @@ imported by:
&#8226; <a href="#subprocess">subprocess</a>
&#8226; <a href="#tarfile">tarfile</a>
&#8226; <a href="#threading">threading</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#unittest.case">unittest.case</a>
&#8226; <a href="#unittest.runner">unittest.runner</a>
&#8226; <a href="#urllib.request">urllib.request</a>
@@ -70623,9 +70615,9 @@ imports:
&#8226; <a href="#os">os</a>
&#8226; <a href="#re">re</a>
&#8226; <a href="#sys">sys</a>
&#8226; <a href="#tkinter.commondialog">tkinter.commondialog</a>
&#8226; <a href="#tkinter.constants">tkinter.constants</a>
&#8226; <a href="#tkinter.messagebox">tkinter.messagebox</a>
&#8226; <a href="#tkinter.simpledialog">tkinter.simpledialog</a>
&#8226; <a href="#traceback">traceback</a>
&#8226; <a href="#types">types</a>
@@ -70640,6 +70632,7 @@ imported by:
&#8226; <a href="#tkinter.font">tkinter.font</a>
&#8226; <a href="#tkinter.messagebox">tkinter.messagebox</a>
&#8226; <a href="#tkinter.simpledialog">tkinter.simpledialog</a>
&#8226; <a href="#turtle">turtle</a>
</div>
@@ -70655,8 +70648,7 @@ imports:
</div>
<div class="import">
imported by:
<a href="#tkinter">tkinter</a>
&#8226; <a href="#tkinter.filedialog">tkinter.filedialog</a>
<a href="#tkinter.filedialog">tkinter.filedialog</a>
&#8226; <a href="#tkinter.messagebox">tkinter.messagebox</a>
</div>
@@ -70765,7 +70757,9 @@ imports:
<div class="import">
imported by:
<a href="#matplotlib.backends._backend_tk">matplotlib.backends._backend_tk</a>
&#8226; <a href="#tkinter">tkinter</a>
&#8226; <a href="#tkinter.filedialog">tkinter.filedialog</a>
&#8226; <a href="#turtle">turtle</a>
</div>
@@ -71045,6 +71039,32 @@ imported by:
</div>
<div class="node">
<a name="turtle"></a>
<a target="code" href="///C:/Program%20Files/Python312/Lib/turtle.py" type="text/plain"><tt>turtle</tt></a>
<span class="moduletype">SourceModule</span> <div class="import">
imports:
<a href="#copy">copy</a>
&#8226; <a href="#inspect">inspect</a>
&#8226; <a href="#math">math</a>
&#8226; <a href="#os.path">os.path</a>
&#8226; <a href="#re">re</a>
&#8226; <a href="#sys">sys</a>
&#8226; <a href="#time">time</a>
&#8226; <a href="#tkinter">tkinter</a>
&#8226; <a href="#tkinter.simpledialog">tkinter.simpledialog</a>
&#8226; <a href="#types">types</a>
&#8226; <a href="#warnings">warnings</a>
</div>
<div class="import">
imported by:
<a href="#page_objects.screenshot_page">page_objects.screenshot_page</a>
</div>
</div>
<div class="node">
<a name="types"></a>
<a target="code" href="///C:/Program%20Files/Python312/Lib/types.py" type="text/plain"><tt>types</tt></a>
@@ -71159,6 +71179,7 @@ imported by:
&#8226; <a href="#tempfile">tempfile</a>
&#8226; <a href="#tkinter">tkinter</a>
&#8226; <a href="#tomllib._parser">tomllib._parser</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#typing">typing</a>
&#8226; <a href="#typing_extensions">typing_extensions</a>
&#8226; <a href="#unittest.case">unittest.case</a>
@@ -74124,6 +74145,7 @@ imported by:
&#8226; <a href="#tarfile">tarfile</a>
&#8226; <a href="#tempfile">tempfile</a>
&#8226; <a href="#threading">threading</a>
&#8226; <a href="#turtle">turtle</a>
&#8226; <a href="#typing">typing</a>
&#8226; <a href="#typing_extensions">typing_extensions</a>
&#8226; <a href="#unittest.async_case">unittest.async_case</a>

Binary file not shown.

View File

@@ -916,11 +916,6 @@ class ScreenshotPage:
self.logger.error(f"设备 {device_id} 点击平差处理按钮失败")
return False
# # 5. 在点击平差处理按钮后截图
# time.sleep(2) # 等待平差处理按钮点击后的界面变化
# if not self.take_screenshot("after_adjustment_button_click"):
# self.logger.error(f"设备 {device_id} 截图失败")
# return False
self.logger.info(f"设备 {device_id} 测量结束后操作流程完成")
return True

View File

@@ -1891,10 +1891,10 @@ class UploadConfigPage:
return False
# # 表达填写完成,点击"保存上传"并处理弹窗
# if not self.click_save_upload_and_handle_dialogs():
# self.logger.error("点击保存上传并处理弹窗失败")
# return False
# 表达填写完成,点击"保存上传"并处理弹窗
if not self.click_save_upload_and_handle_dialogs():
self.logger.error("点击保存上传并处理弹窗失败")
return False
# 暂不上传,使用返回按钮替代。
self.driver.back()

View File

@@ -135,13 +135,6 @@ def get_combined_tasks():
# full_time = f"{today} {local_times[user]}"
# 确保时间是两位数格式
raw_time = local_times[user]
# 将时间格式化为两位数9:52:20 -> 09:52:20
# if ':' in raw_time:
# parts = raw_time.split(':')
# if len(parts[0]) == 1:
# raw_time = f"0{raw_time}" # 补齐前导零
# full_time = f"{today} {raw_time}"
full_time = normalize_datetime(raw_time)
task_list[address] = {"time": full_time, "user": user}

View File

@@ -1,30 +1,25 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['scheduler.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=['main', 'globals.apis', 'globals.ids', 'globals.global_variable', 'permissions', 'globals.driver_utils', 'page_objects.login_page', 'page_objects.download_tabbar_page', 'page_objects.screenshot_page', 'page_objects.upload_config_page', 'page_objects.more_download_page'],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='沉降观测自动上传',