已注销上传
This commit is contained in:
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
Binary file not shown.
Binary file not shown.
@@ -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 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)
|
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)
|
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
missing module named posix - imported by os (conditional, optional), shutil (conditional), importlib._bootstrap_external (conditional), posixpath (optional)
|
missing module named posix - imported by os (conditional, optional), posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional)
|
||||||
missing module named resource - imported by posix (top-level)
|
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.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)
|
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
||||||
|
|||||||
Binary file not shown.
BIN
dist/创建无线连接.exe
vendored
BIN
dist/创建无线连接.exe
vendored
Binary file not shown.
BIN
dist/沉降观测自动上传.exe
vendored
BIN
dist/沉降观测自动上传.exe
vendored
Binary file not shown.
@@ -156,10 +156,7 @@ class UploadConfigPage:
|
|||||||
# 只取年月日部分(假设格式为 YYYY-MM-DD HH:MM:SS)
|
# 只取年月日部分(假设格式为 YYYY-MM-DD HH:MM:SS)
|
||||||
measurement_date_str = time_str.split()[0] # 取空格前的部分
|
measurement_date_str = time_str.split()[0] # 取空格前的部分
|
||||||
self.logger.info(f"提取到的测量日期: {measurement_date_str}")
|
self.logger.info(f"提取到的测量日期: {measurement_date_str}")
|
||||||
# if not measurement_date_str == datetime.now().strftime("%Y-%m-%d"): # 测量时间是今天
|
|
||||||
# self.logger.info(f"测量时间不是今天,不点击上传按钮")
|
|
||||||
# return False
|
|
||||||
# 2. 判断测量日期是否允许上传(小于等于今天可以,大于今天不行)
|
|
||||||
try:
|
try:
|
||||||
# 将字符串日期转换为datetime对象进行比较
|
# 将字符串日期转换为datetime对象进行比较
|
||||||
measurement_date = datetime.strptime(measurement_date_str, "%Y-%m-%d").date()
|
measurement_date = datetime.strptime(measurement_date_str, "%Y-%m-%d").date()
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ def get_combined_tasks():
|
|||||||
# today = datetime.now().strftime("%Y-%m-%d")
|
# today = datetime.now().strftime("%Y-%m-%d")
|
||||||
|
|
||||||
for account in accounts:
|
for account in accounts:
|
||||||
if account.get('is_ok') == 1 or account.get('username')=="CZSCZQ13A1xuliguo":
|
if account.get('is_ok') == 1:
|
||||||
user = account.get('username')
|
user = account.get('username')
|
||||||
ip = account.get('device_ip')
|
ip = account.get('device_ip')
|
||||||
port = account.get('device_port')
|
port = account.get('device_port')
|
||||||
|
|||||||
38
创建无线连接.spec
38
创建无线连接.spec
@@ -1,38 +0,0 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(
|
|
||||||
['create_a_link.py'],
|
|
||||||
pathex=[],
|
|
||||||
binaries=[],
|
|
||||||
datas=[],
|
|
||||||
hiddenimports=['appium', 'urllib3.connection'],
|
|
||||||
hookspath=[],
|
|
||||||
hooksconfig={},
|
|
||||||
runtime_hooks=[],
|
|
||||||
excludes=[],
|
|
||||||
noarchive=False,
|
|
||||||
optimize=0,
|
|
||||||
)
|
|
||||||
pyz = PYZ(a.pure)
|
|
||||||
|
|
||||||
exe = EXE(
|
|
||||||
pyz,
|
|
||||||
a.scripts,
|
|
||||||
a.binaries,
|
|
||||||
a.datas,
|
|
||||||
[],
|
|
||||||
name='创建无线连接',
|
|
||||||
debug=False,
|
|
||||||
bootloader_ignore_signals=False,
|
|
||||||
strip=False,
|
|
||||||
upx=True,
|
|
||||||
upx_exclude=[],
|
|
||||||
runtime_tmpdir=None,
|
|
||||||
console=True,
|
|
||||||
disable_windowed_traceback=False,
|
|
||||||
argv_emulation=False,
|
|
||||||
target_arch=None,
|
|
||||||
codesign_identity=None,
|
|
||||||
entitlements_file=None,
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user