duheng
2025-02-11 36a0ce55799c95821f39aab5c13566a5f238970b
WebApi/Global.asax.cs
@@ -1,3 +1,4 @@
using IStation.Common;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -24,9 +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();
        }
    }
}
}