WebApi/Global.asax.cs
@@ -25,13 +25,18 @@ json.Indent = false; json.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local; DataFolderHelper.IsExeExcute = true; DataFolderHelper.IsExeExcute = true;//独立运行 IStation.LogHelper.Initial(); // IStation.LogHelper.Initial(); IStation.Common.AnaSetting.Initial(); IStation.Common.ReservoirParasHelper.Initial(); IStation.Common.RiverWaterLevelDropHelper.Initial(); //初始化雪花Id //SnowflakeIdHelper.InitId(1); ScheduleTask.Initial(); } } } }