static void Main(string[] args) { // 启动日志组件 log4net.Config.XmlConfigurator.Configure(); Test.Initialization(); Test.UpdateGrid(DateTime.Now.AddDays(-1).Date); ComputeUnderPowerMonitor.Execute(DateTime.Now.AddDays(-1).Date); Console.ReadLine(); }