From 6954aa5b4a32aeba903b9532d5ff8e75c1b9548b Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期二, 11 六月 2024 15:03:26 +0800 Subject: [PATCH] 计算调用远程服务 --- WebApi/Global.asax.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/WebApi/Global.asax.cs b/WebApi/Global.asax.cs index db69766..725e85d 100644 --- a/WebApi/Global.asax.cs +++ b/WebApi/Global.asax.cs @@ -25,13 +25,19 @@ json.Indent = false; json.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local; - DataFolderHelper.IsExeExcute = true; + DataFolderHelper.IsExeExcute = true;//独立运行 IStation.LogHelper.Initial(); IStation.Common.AnaSetting.Initial(); IStation.Common.ReservoirParasHelper.Initial(); IStation.Common.RiverWaterLevelDropHelper.Initial(); + + //初始化雪花Id + //SnowflakeIdHelper.InitId(1); + + + ScheduleTask.Initial(); } } } -- Gitblit v1.9.3