You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
432 B
14 lines
432 B
|
4 months ago
|
#!/usr/bin/env python3
|
||
|
|
"""
|
||
|
|
测试导入脚本
|
||
|
|
"""
|
||
|
|
try:
|
||
|
|
from app.core.config import ProtocolType, DeviceStatus
|
||
|
|
print("✅ 导入成功!")
|
||
|
|
print(f"ProtocolType.ADB: {ProtocolType.ADB}")
|
||
|
|
print(f"DeviceStatus.ONLINE: {DeviceStatus.ONLINE}")
|
||
|
|
print(f"DeviceStatus.OFFLINE: {DeviceStatus.OFFLINE}")
|
||
|
|
except ImportError as e:
|
||
|
|
print(f"❌ 导入失败: {e}")
|
||
|
|
except Exception as e:
|
||
|
|
print(f"❌ 其他错误: {e}")
|