完整功能

This commit is contained in:
xiongyi
2025-11-12 14:01:26 +08:00
parent 084cf0ac52
commit 036fb08634
49 changed files with 2706 additions and 2121 deletions

32
config/settings.py Normal file
View File

@ -0,0 +1,32 @@
"""配置信息模块"""
import os
# API配置
BASE_URL = "http://127.0.0.1:5000"#https://www.shnthy.com:9154
LOGIN_DATA = {
"Program": 11,
"SC": "1000000001",
"loginName": "leduser",
"password": "bfcda35cf4eba92d4583931bbe4ff72ffdfa8b5c9c4b72611bd33f5babee069d"
}
# 数据库配置
ACCESS_DB_PATH = "D:\\Janeoo-B12-DB\\Janeoo.2.mdb"
ACCESS_DB_PASSWORD = "BCS7.2_SDBS"
SQL_SERVER_CONFIG = {
"driver": "{SQL Server}",
"server": "127.0.0.1",
"database": "BS23DB",
"username": "sa",
"password": "123"
}
# TCP配置
TCP_HOST = '127.0.0.1'
TCP_PORT = 8888
# 其他配置
MAX_AGE_HOURS = 24
CHECK_INTERVAL = 10
MONITOR_INTERVAL = 2