更新参数名;更新引用类

This commit is contained in:
JIANG
2025-12-18 14:50:29 +08:00
parent 971386ae5a
commit 2b268081b1
3 changed files with 8 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ import uuid
import project_info
from api.postgresql_info import get_pgconn_string
from timescaledb.internal_queries import InternalQueries as TimescaleInternalQueries
from timescaledb.internal_queries import InternalStorage as TimescaleInternalStorage
logging.basicConfig(
level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s"
@@ -1229,11 +1230,11 @@ def run_simulation(
# 存储
starttime = time.time()
if simulation_type.upper() == "REALTIME":
TimescaleInternalQueries.store_realtime_simulation(
TimescaleInternalStorage.store_realtime_simulation(
node_result, link_result, modify_pattern_start_time
)
elif simulation_type.upper() == "EXTENDED":
TimescaleInternalQueries.store_scheme_simulation(
TimescaleInternalStorage.store_scheme_simulation(
scheme_Type,
scheme_Name,
node_result,