From 26d8996e55c33186800031f7c305688035bb3182 Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期二, 30 四月 2024 15:03:41 +0800 Subject: [PATCH] 修改名字 --- WaterPredict/Station.ChEr.Application.WaterPredict/01-info/PredictOut_Controller.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/WaterPredict/Station.ChEr.Application.WaterPredict/01-map-info/PredictOut_Controller.cs b/WaterPredict/Station.ChEr.Application.WaterPredict/01-info/PredictOut_Controller.cs similarity index 83% rename from WaterPredict/Station.ChEr.Application.WaterPredict/01-map-info/PredictOut_Controller.cs rename to WaterPredict/Station.ChEr.Application.WaterPredict/01-info/PredictOut_Controller.cs index 89a96f2..b20fe68 100644 --- a/WaterPredict/Station.ChEr.Application.WaterPredict/01-map-info/PredictOut_Controller.cs +++ b/WaterPredict/Station.ChEr.Application.WaterPredict/01-info/PredictOut_Controller.cs @@ -1,17 +1,17 @@ 锘縰sing IStation; -using ISupply.DAL; +using IStation.ChEr.DAL; using Microsoft.Extensions.Configuration.UserSecrets; using System; -using static Yw.Application.ConnectHelper; -using static Yw.Service.SSAPredictHelper; +using static IStation.Application.ConnectHelper; +using static IStation.Service.SSAPredictHelper; -namespace Yw.Application +namespace IStation.Application { /// <summary> /// 鏃堕棿娈佃嚜瀹氫箟棰勬祴 /// </summary> [Route("Predict/user")] - [ApiDescriptionSettings("OutWater", Name = "鏃堕棿鍧楅娴�", Order = 9900)] + [ApiDescriptionSettings("OutWater", Name = "鏃堕棿鍧楅娴�(浣滃簾)", Order = 9900)] public class PredictOutWater_Controller : IDynamicApiController { /// <summary> @@ -31,7 +31,7 @@ tupleList = totalSumByTimePoint .Select(x => Tuple.Create(x.DateTime, x.Total)) .ToList(); - Yw.Service.SSAPredictHelper sSAPredictHelper = new Service.SSAPredictHelper(); + IStation.Service.SSAPredictHelper sSAPredictHelper = new Service.SSAPredictHelper(); var a = tupleList.Where(x => x.Item1.Hour == 1).ToList(); var predictdata = sSAPredictHelper.Predict(tupleList, 3600, 24, 2880, (float)0.99, 48); var predictdataday = sSAPredictHelper.Predict(a, 86400, 2, 86400, (float)0.99, 2); @@ -68,10 +68,10 @@ [HttpGet] public List<TotalOneDay> SaveDB() { - var db = new MainDbContext(); - db.InitTables(); - var bll = new ISupply.BLL.PredictData(); - bll.GetAll(); + //var db = new MainDbContext(); + //db.InitTables(); + //var bll = new IStation.BLL.PredictData(); + //bll.GetAll(); return null; } } -- Gitblit v1.9.3