lixiaojun
2024-03-27 56b519c5ee0ee0615400c7df8d455f9766fa600b
版本大更新
已删除4个文件
已重命名59个文件
已复制3个文件
已修改11个文件
已添加11个文件
1153 ■■■■■ 文件已修改
Yw.Application.Curve.Core/00-core/Mapper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/01-pump-curve/PumpCurve_Controller.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/02-pump-curve-mapping/PumpCurveMapping_Controller.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/03-pump-curve-extension/PumpCurveExMapping_Controller.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/09-tool/CurveTool_Controller.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/1-pump-curve/2-chat/PumpChart_Controller.cs 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/1-pump-curve/2-chat/dto/CoordinateParasLxp.cs 122 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/1-pump-curve/2-chat/dto/PumpChart.cs 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/GlobalUsings.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/Yw.Application.Curve.Core.csproj 89 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Curve.Core.sln 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.CurveBase.Core/GlobalUsings.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.CurveBase.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.CurveBase.Core/Yw.CurveBase.Core.csproj 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/00-helper/ConfigHelper.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/00-helper/Extensions.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/01-pump-curve/AddPumpCurveInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/01-pump-curve/PumpCurveDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/01-pump-curve/UpdatePumpCurveInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/02-pump-curve-mapping/AddPumpCurveMappingInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/02-pump-curve-mapping/PumpCurveMappingDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/02-pump-curve-mapping/SetPumpWorkingCurveInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/02-pump-curve-mapping/UpdatePumpCurveMappingInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/03-pump-curve-extension/AddPumpCurveExMappingInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/03-pump-curve-extension/PumpCurveExMappingDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/03-pump-curve-extension/UpdatePumpCurveExMappingInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/04-curve-tool/CurveExpressToolInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/04-curve-tool/PumpCurveExpressToolInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/04-curve-tool/PumpCurveExpressToolOutput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/04-curve-tool/PumpCurvePointToolDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/CurveIDInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/PumpIDAndCurveIDInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/UpdatePumpCoordParasInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/UpdatePumpCurveExpressInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/UpdateReliabilityStatusInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/curve-info/CurveExpressDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/curve-info/CurveExpressInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/curve-info/PumpCurveExpressDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/curve-info/PumpCurveExpressInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/pumpid/PumpIDInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/99-model/pumpid/PumpIdsInput.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/GlobalUsings.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/Yw.Dto.Curve.Core.csproj 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Dto.Curve.Core/Yw.Dto.Curve.Core.csproj.user 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/0-core/ConfigHelper.cs 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/ConfigHelper.cs 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/DataType.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/MemoryCacheKey.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/ePumpFeatType.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/eReliabilityStatus.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/00-core/eSourceWay.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/01-entity/PumpCurve.cs 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/01-entity/PumpCurveMapping.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/02-model/PumpCurve.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/02-model/PumpCurveInfoModel.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/02-model/PumpCurveMapping.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/helper/CurveFileHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/helper/CurveParasHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/CurveParas.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase.cs 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_Factory.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_PostgreSql.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_SQLite.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/01-interface/IPumpCurve.cs 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/01-interface/IPumpCurveMapping.cs 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/02-postgresql/PumpCurve.cs 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/02-postgresql/PumpCurveMapping.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurve.cs 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurveMapping.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/00-core/CacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/00-core/DALCreateHelper.cs 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/00-core/Extensions.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/00-core/PumpFeatHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/1-pump-curve/PumpCurve.cs 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/1-pump-curve/PumpCurve_Instance.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/1-pump-curve/cache/PumpCurveCacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/PumpCurveMapping.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/PumpCurveMapping_Instance.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/cache/PumpCurveMappingCacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/05-service/3-pump-curve-mapping-extension/PumpCurveExMapping.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/GlobalUsings.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/Yw.Service.Curve.Core.csproj 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.Curve.Core/paras_curve_settings.json 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.Curve.Core/00-core/Mapper.cs
Yw.Application.Curve.Core/01-pump-curve/PumpCurve_Controller.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/1-pump-curve/1-mgr/PumpCurve_Controller.cs ÐÞ¸Ä
@@ -93,7 +93,7 @@
        [HttpPut]
        public bool UpdateCoordParas(UpdatePumpCoordParasInput input)
        {
            var bol = _service.UpdateCoordParas(input.ID, input.CoordParas, UserManager.UserID, DateTime.Now);
            var bol = _service.UpdateCoordParas(input.ID, input.CoordParas);
            return bol;
        }
@@ -104,7 +104,7 @@
        [HttpPut]
        public bool UpdateCurveExpress(UpdatePumpCurveExpressInput input)
        {
            var bol = _service.UpdateCurveInfo(input.ID, input.CurveExpress.Transfer(), UserManager.UserID, DateTime.Now);
            var bol = _service.UpdateCurveInfo(input.ID, input.CurveExpress.Transfer());
            return bol;
        }
@@ -115,7 +115,7 @@
        [HttpPut]
        public bool UpdateReliabilityStatus(UpdateReliabilityStatusInput input)
        {
            var bol = _service.UpdateReliabilityStatus(input.ID, input.ReliabilityStatus, UserManager.UserID, DateTime.Now);
            var bol = _service.UpdateReliabilityStatus(input.ID, input.ReliabilityStatus);
            return bol;
        }
Yw.Application.Curve.Core/02-pump-curve-mapping/PumpCurveMapping_Controller.cs
Yw.Application.Curve.Core/03-pump-curve-extension/PumpCurveExMapping_Controller.cs
Yw.Application.Curve.Core/09-tool/CurveTool_Controller.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/9-tool/CurveTool_Controller.cs ÐÞ¸Ä
@@ -15,7 +15,7 @@
        public List<CurvePoint> GeneralFitPointList([Required] CurveExpressToolInput input)
        {
            var fitHelper = new FitHelper(input.DefinePoints, input.FitType);
            var pointNumber = ConfigHelper.PointNumber;
            var pointNumber = Settings.CurveParasHelper.Curve.PointNumber;
            if (input.PointNumber.HasValue)
            {
                pointNumber = input.PointNumber.Value;
@@ -34,7 +34,7 @@
            var vm = new PumpCurveExpressToolOutput();
            //扬程
            var pointNumberQH = ConfigHelper.PointNumber;
            var pointNumberQH = Settings.CurveParasHelper.Curve.PointNumber;
            if (input.PointNumberQH.HasValue)
            {
                pointNumberQH = input.PointNumberQH.Value;
@@ -45,7 +45,7 @@
            //功率
            var hasQP = false;
            var pointNumberQP = ConfigHelper.PointNumber;
            var pointNumberQP = Settings.CurveParasHelper.Curve.PointNumber;
            if (input.PointNumberQP.HasValue)
            {
                pointNumberQP = input.PointNumberQP.Value;
@@ -65,7 +65,7 @@
            //效率
            var hasQE = false;
            var pointNumberQE = ConfigHelper.PointNumber;
            var pointNumberQE = Settings.CurveParasHelper.Curve.PointNumber;
            if (input.PointNumberQE.HasValue)
            {
                pointNumberQE = input.PointNumberQE.Value;
Yw.Application.Curve.Core/1-pump-curve/2-chat/PumpChart_Controller.cs
ÎļþÒÑɾ³ý
Yw.Application.Curve.Core/1-pump-curve/2-chat/dto/CoordinateParasLxp.cs
ÎļþÒÑɾ³ý
Yw.Application.Curve.Core/1-pump-curve/2-chat/dto/PumpChart.cs
ÎļþÒÑɾ³ý
Yw.Application.Curve.Core/GlobalUsings.cs
@@ -9,3 +9,5 @@
global using Yw.JWT;
global using Yw.Curve;
global using Yw.Model.Curve;
global using Yw.Dto;
global using Yw.Dto.Curve;
Yw.Application.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@
-->
<Project>
  <PropertyGroup>
    <History>True|2023-11-24T04:42:58.9596873Z;True|2023-11-24T11:01:27.7460883+08:00;True|2023-11-22T11:00:47.6114775+08:00;True|2023-11-15T09:32:40.8990513+08:00;True|2023-11-08T14:05:47.8074399+08:00;True|2023-11-08T13:33:00.5811678+08:00;True|2023-11-08T11:55:54.5929525+08:00;True|2023-11-07T11:05:59.7264456+08:00;True|2023-11-07T11:05:52.0532331+08:00;True|2023-10-24T23:17:54.0748672+08:00;True|2023-10-21T14:38:03.2722172+08:00;True|2023-09-26T14:10:22.2485377+08:00;True|2023-08-29T11:46:24.5710627+08:00;True|2023-08-23T11:34:59.7400481+08:00;True|2023-08-21T13:31:52.3074533+08:00;True|2023-08-18T16:51:57.4477528+08:00;True|2023-08-18T13:49:11.3231257+08:00;True|2023-08-17T14:51:49.8452519+08:00;True|2023-08-17T11:44:23.5001902+08:00;True|2023-08-16T17:43:46.8283841+08:00;True|2023-08-16T11:10:43.5110570+08:00;True|2023-08-15T16:51:35.3016945+08:00;True|2023-08-15T15:04:30.4334950+08:00;True|2023-08-10T15:23:57.4783701+08:00;True|2023-08-08T10:01:53.7466486+08:00;True|2023-08-07T11:49:59.7506144+08:00;True|2023-08-05T10:38:53.6104500+08:00;True|2023-08-02T15:25:21.6024349+08:00;True|2023-08-02T15:20:20.4985081+08:00;True|2023-08-02T13:31:18.6184059+08:00;True|2023-08-02T13:30:52.4975034+08:00;True|2023-08-02T13:29:34.9010019+08:00;True|2023-08-02T13:28:35.4729592+08:00;True|2023-07-25T15:08:42.3375388+08:00;True|2023-07-17T10:31:53.5181752+08:00;True|2023-07-17T10:31:44.6652344+08:00;True|2023-07-13T12:10:11.2591498+08:00;True|2023-05-25T18:02:16.3580168+08:00;True|2023-05-25T15:44:32.4909866+08:00;</History>
    <History>True|2024-03-27T06:38:11.7362547Z;True|2023-11-24T12:42:58.9596873+08:00;True|2023-11-24T11:01:27.7460883+08:00;True|2023-11-22T11:00:47.6114775+08:00;True|2023-11-15T09:32:40.8990513+08:00;True|2023-11-08T14:05:47.8074399+08:00;True|2023-11-08T13:33:00.5811678+08:00;True|2023-11-08T11:55:54.5929525+08:00;True|2023-11-07T11:05:59.7264456+08:00;True|2023-11-07T11:05:52.0532331+08:00;True|2023-10-24T23:17:54.0748672+08:00;True|2023-10-21T14:38:03.2722172+08:00;True|2023-09-26T14:10:22.2485377+08:00;True|2023-08-29T11:46:24.5710627+08:00;True|2023-08-23T11:34:59.7400481+08:00;True|2023-08-21T13:31:52.3074533+08:00;True|2023-08-18T16:51:57.4477528+08:00;True|2023-08-18T13:49:11.3231257+08:00;True|2023-08-17T14:51:49.8452519+08:00;True|2023-08-17T11:44:23.5001902+08:00;True|2023-08-16T17:43:46.8283841+08:00;True|2023-08-16T11:10:43.5110570+08:00;True|2023-08-15T16:51:35.3016945+08:00;True|2023-08-15T15:04:30.4334950+08:00;True|2023-08-10T15:23:57.4783701+08:00;True|2023-08-08T10:01:53.7466486+08:00;True|2023-08-07T11:49:59.7506144+08:00;True|2023-08-05T10:38:53.6104500+08:00;True|2023-08-02T15:25:21.6024349+08:00;True|2023-08-02T15:20:20.4985081+08:00;True|2023-08-02T13:31:18.6184059+08:00;True|2023-08-02T13:30:52.4975034+08:00;True|2023-08-02T13:29:34.9010019+08:00;True|2023-08-02T13:28:35.4729592+08:00;True|2023-07-25T15:08:42.3375388+08:00;True|2023-07-17T10:31:53.5181752+08:00;True|2023-07-17T10:31:44.6652344+08:00;True|2023-07-13T12:10:11.2591498+08:00;True|2023-05-25T18:02:16.3580168+08:00;True|2023-05-25T15:44:32.4909866+08:00;</History>
  </PropertyGroup>
</Project>
Yw.Application.Curve.Core/Yw.Application.Curve.Core.csproj
@@ -1,55 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>disable</Nullable>
    <RootNamespace>Yw.Application</RootNamespace>
    <GenerateDocumentationFile>True</GenerateDocumentationFile>
    <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
    <Version>1.0.7</Version>
    <Description>应用升级</Description>
  </PropertyGroup>
    <PropertyGroup>
        <TargetFramework>net6.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>disable</Nullable>
        <RootNamespace>Yw.Application</RootNamespace>
        <GenerateDocumentationFile>True</GenerateDocumentationFile>
        <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
        <Version>3.0.0</Version>
        <Description>应用升级</Description>
    </PropertyGroup>
  <ItemGroup>
    <Content Update="C:\Users\admin\.nuget\packages\yw.jwt.core\1.0.1\contentFiles\any\net6.0\JWT.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.jwt.core\1.0.2\contentFiles\any\net6.0\JWT.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.service.assets.core\1.0.6\contentFiles\any\net6.0\paras_assets_settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.service.assets.core\1.0.7\contentFiles\any\net6.0\paras_assets_settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.service.health.core\1.0.0\contentFiles\any\net6.0\paras_health_settings.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.service.health.core\1.1.2\contentFiles\any\net6.0\paras_health_settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.service.monitor.core\1.1.4\contentFiles\any\net6.0\paras_monitor_settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Update="C:\Users\admin\.nuget\packages\yw.yitter.core\1.0.0\contentFiles\any\net6.0\paras_yitter_settings.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
    <ItemGroup>
        <Content Update="C:\Users\admin\.nuget\packages\yw.jwt.core\1.0.1\contentFiles\any\net6.0\JWT.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.jwt.core\1.0.2\contentFiles\any\net6.0\JWT.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.service.assets.core\1.0.6\contentFiles\any\net6.0\paras_assets_settings.json">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.service.assets.core\1.0.7\contentFiles\any\net6.0\paras_assets_settings.json">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.service.health.core\1.0.0\contentFiles\any\net6.0\paras_health_settings.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.service.health.core\1.1.2\contentFiles\any\net6.0\paras_health_settings.json">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.service.monitor.core\1.1.4\contentFiles\any\net6.0\paras_monitor_settings.json">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
        <Content Update="C:\Users\admin\.nuget\packages\yw.yitter.core\1.0.0\contentFiles\any\net6.0\paras_yitter_settings.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
    </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Yw.Application.Core" Version="1.2.7" />
    <PackageReference Include="Yw.Quartz.Core" Version="1.0.0" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="2-pump-curve-mapping\2-std\" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Yw.Coordinate\Yw.Coordinate.csproj" />
    <ProjectReference Include="..\Yw.Service.Curve.Core\Yw.Service.Curve.Core.csproj" />
  </ItemGroup>
    <ItemGroup>
        <PackageReference Include="Yw.Application.Core" Version="3.0.1" />
        <PackageReference Include="Yw.Dto.Curve.Core" Version="3.0.0" />
    </ItemGroup>
</Project>
Yw.Curve.Core.sln
@@ -13,7 +13,7 @@
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Yw.Entry.Curve.Core", "Yw.Entry.Curve.Core\Yw.Entry.Curve.Core.csproj", "{7F9D6EB3-52FC-4E78-960C-CD6F726D0172}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Yw.Coordinate", "Yw.Coordinate\Yw.Coordinate.csproj", "{3EA3B1DA-2041-483A-9DDB-32A20377222E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Yw.Dto.Curve.Core", "Yw.Dto.Curve.Core\Yw.Dto.Curve.Core.csproj", "{17F3D647-3C7D-4DC5-8BC4-2370C2CBDE45}"
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -41,10 +41,10 @@
        {7F9D6EB3-52FC-4E78-960C-CD6F726D0172}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {7F9D6EB3-52FC-4E78-960C-CD6F726D0172}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {7F9D6EB3-52FC-4E78-960C-CD6F726D0172}.Release|Any CPU.Build.0 = Release|Any CPU
        {3EA3B1DA-2041-483A-9DDB-32A20377222E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {3EA3B1DA-2041-483A-9DDB-32A20377222E}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {3EA3B1DA-2041-483A-9DDB-32A20377222E}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {3EA3B1DA-2041-483A-9DDB-32A20377222E}.Release|Any CPU.Build.0 = Release|Any CPU
        {17F3D647-3C7D-4DC5-8BC4-2370C2CBDE45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {17F3D647-3C7D-4DC5-8BC4-2370C2CBDE45}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {17F3D647-3C7D-4DC5-8BC4-2370C2CBDE45}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {17F3D647-3C7D-4DC5-8BC4-2370C2CBDE45}.Release|Any CPU.Build.0 = Release|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
Yw.CurveBase.Core/GlobalUsings.cs
@@ -1,7 +1,6 @@
global using Yw.Newtonsoft;
global using MathNet.Numerics;
global using MathNet.Numerics;
global using System.Runtime.Serialization;
global using System.ComponentModel.DataAnnotations;
global using System.ComponentModel;
global using System.Text;
global using Yw.Model;
global using Yw.Untity;
Yw.CurveBase.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@
-->
<Project>
  <PropertyGroup>
    <History>True|2023-11-24T04:41:35.1109248Z;True|2023-11-07T10:59:03.8484346+08:00;True|2023-09-22T13:16:35.5213053+08:00;True|2023-09-19T13:47:08.6616971+08:00;True|2023-09-19T13:42:42.1690038+08:00;True|2023-09-18T15:12:24.4129783+08:00;False|2023-09-18T15:11:19.1798407+08:00;True|2023-09-01T13:20:20.4261550+08:00;True|2023-09-01T11:08:43.5292206+08:00;True|2023-08-29T16:21:32.3346453+08:00;</History>
    <History>True|2024-03-27T05:52:13.3065511Z;True|2023-11-24T12:41:35.1109248+08:00;True|2023-11-07T10:59:03.8484346+08:00;True|2023-09-22T13:16:35.5213053+08:00;True|2023-09-19T13:47:08.6616971+08:00;True|2023-09-19T13:42:42.1690038+08:00;True|2023-09-18T15:12:24.4129783+08:00;False|2023-09-18T15:11:19.1798407+08:00;True|2023-09-01T13:20:20.4261550+08:00;True|2023-09-01T11:08:43.5292206+08:00;True|2023-08-29T16:21:32.3346453+08:00;</History>
  </PropertyGroup>
</Project>
Yw.CurveBase.Core/Yw.CurveBase.Core.csproj
@@ -8,7 +8,7 @@
    <RootNamespace>$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
    <GenerateDocumentationFile>True</GenerateDocumentationFile>
    <ProduceReferenceAssembly>True</ProduceReferenceAssembly>
    <Version>1.0.1</Version>
    <Version>3.0.0</Version>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -20,8 +20,8 @@
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Yw.Calculation.Core" Version="1.0.3" />
    <PackageReference Include="Yw.MathNet.Core" Version="1.0.0" />
    <PackageReference Include="Yw.Model.Core" Version="1.0.4" />
    <PackageReference Include="Yw.Calculation.Core" Version="3.0.0" />
    <PackageReference Include="Yw.MathNet.Core" Version="3.0.0" />
    <PackageReference Include="Yw.Untity.Core" Version="3.0.0" />
  </ItemGroup>
</Project>
Yw.Dto.Curve.Core/00-helper/ConfigHelper.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/4-helper/ConfigHelper.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    internal class ConfigHelper
    {
Yw.Dto.Curve.Core/00-helper/Extensions.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/2-extensions/Extensions.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/01-pump-curve/AddPumpCurveInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/1-pump-curve/1-mgr/dto/AddPumpCurveInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// æ·»åŠ æ³µæ›²çº¿
Yw.Dto.Curve.Core/01-pump-curve/PumpCurveDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/1-pump-curve/1-mgr/dto/PumpCurveDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// æ³µæ›²çº¿
Yw.Dto.Curve.Core/01-pump-curve/UpdatePumpCurveInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/1-pump-curve/1-mgr/dto/UpdatePumpCurveInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// æ›´æ–°æ³µæ›²çº¿
Yw.Dto.Curve.Core/02-pump-curve-mapping/AddPumpCurveMappingInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/2-pump-curve-mapping/1-mgr/dto/AddPumpCurveMappingInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// æ·»åŠ æ³µæ›²çº¿æ˜ å°„
Yw.Dto.Curve.Core/02-pump-curve-mapping/PumpCurveMappingDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/2-pump-curve-mapping/1-mgr/dto/PumpCurveMappingDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/02-pump-curve-mapping/SetPumpWorkingCurveInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/2-pump-curve-mapping/1-mgr/dto/SetPumpWorkingCurveInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/02-pump-curve-mapping/UpdatePumpCurveMappingInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/2-pump-curve-mapping/1-mgr/dto/UpdatePumpCurveMappingInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// æ›´æ–°æ³µæ›²çº¿æ˜ å°„
Yw.Dto.Curve.Core/03-pump-curve-extension/AddPumpCurveExMappingInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/3-pump-curve-extension/1-mgr/dto/AddPumpCurveExMappingInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/03-pump-curve-extension/PumpCurveExMappingDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/3-pump-curve-extension/1-mgr/dto/PumpCurveExMappingDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/03-pump-curve-extension/UpdatePumpCurveExMappingInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/3-pump-curve-extension/1-mgr/dto/UpdatePumpCurveExMappingInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/04-curve-tool/CurveExpressToolInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/9-tool/dto/CurveExpressToolInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/04-curve-tool/PumpCurveExpressToolInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/9-tool/dto/PumpCurveExpressToolInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/04-curve-tool/PumpCurveExpressToolOutput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/9-tool/dto/PumpCurveExpressToolOutput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/04-curve-tool/PumpCurvePointToolDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/9-tool/dto/PumpCurvePointToolDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application
namespace Yw.Dto
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/CurveIDInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/CurveIDInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/PumpIDAndCurveIDInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/PumpIDAndCurveIDInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/UpdatePumpCoordParasInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/UpdatePumpCoordParasInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/UpdatePumpCurveExpressInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/UpdatePumpCurveExpressInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/UpdateReliabilityStatusInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/UpdateReliabilityStatusInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/curve-info/CurveExpressDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/curve-info/CurveExpressDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/curve-info/CurveExpressInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/curve-info/CurveExpressInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/curve-info/PumpCurveExpressDto.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/curve-info/PumpCurveExpressDto.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/curve-info/PumpCurveExpressInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/curve-info/PumpCurveExpressInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/pumpid/PumpIDInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/pumpid/PumpIDInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/99-model/pumpid/PumpIdsInput.cs
ÎļþÃû´Ó Yw.Application.Curve.Core/0-core/3-dto/pumpid/PumpIdsInput.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.Application.Curve
namespace Yw.Dto.Curve
{
    /// <summary>
    /// 
Yw.Dto.Curve.Core/GlobalUsings.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
global using System.ComponentModel.DataAnnotations;
global using System.Text;
global using Yw.Untity;
global using Yw.Curve;
global using Yw.Service.Curve;
global using Yw.Dto.Curve;
Yw.Dto.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
  <PropertyGroup>
    <Configuration>Release</Configuration>
    <Platform>Any CPU</Platform>
    <PublishDir>bin\Release\net6.0\publish\</PublishDir>
    <PublishProtocol>FileSystem</PublishProtocol>
  </PropertyGroup>
</Project>
Yw.Dto.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
  <PropertyGroup>
    <History>True|2024-03-27T06:33:53.0819704Z;</History>
  </PropertyGroup>
</Project>
Yw.Dto.Curve.Core/Yw.Dto.Curve.Core.csproj
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>disable</Nullable>
    <Version>3.0.0</Version>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Yw.Dto.Core" Version="3.0.1" />
    <PackageReference Include="Yw.Service.Curve.Core" Version="3.0.0" />
  </ItemGroup>
</Project>
Yw.Dto.Curve.Core/Yw.Dto.Curve.Core.csproj.user
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_LastSelectedProfileId>D:\WorkData\模块\Code\Curve\Yw.Dto.Curve.Core\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
  </PropertyGroup>
</Project>
Yw.Service.Curve.Core/0-core/ConfigHelper.cs
ÎļþÒÑɾ³ý
Yw.Service.Curve.Core/00-core/ConfigHelper.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,108 @@
namespace Yw.Curve
{
    internal class ConfigHelper
    {
        /// <summary>
        /// é»˜è®¤è¿žæŽ¥é…ç½®
        /// </summary>
        internal static ConnectionConfig DefaultConnectionConfig
        {
            get
            {
                //SnowFlakeSingle.WorkId = Settings.SqlSugar.SnowFlakeWorkId; ä¸åŒæœºå™¨é…ç½®çš„唯一数字; // å•服务器不需要指定
                return new ConnectionConfig()
                {
                    DbType = SqlSugar.DbType.PostgreSQL,//数据库类型
                    ConnectionString = CurveParasHelper.Curve.DataBase.PostgreSql.ConnectString,
                    IsAutoCloseConnection = true,//是否自动关闭
                    MoreSettings = new ConnMoreSettings()
                    {
                        //PgSqlIsAutoToLower = false //数据库存在大写字段的 ï¼Œéœ€è¦æŠŠè¿™ä¸ªè®¾ä¸ºfalse ï¼Œå¹¶ä¸”实体和字段名称要一样
                    },
                    AopEvents = new AopEvents
                    {
                        OnLogExecuting = (sql, p) =>
                        {
                            // var sqlString = UtilMethods.GetNativeSql(sql, p);
                            //LogHelper.Debug(sqlString);
                            // Console.WriteLine(sql);
                        }
                    }
                };
            }
        }
        /// <summary>
        /// PostgreSql连接配置
        /// </summary>
        internal static ConnectionConfig PostgreSqlConnectionConfig
        {
            get
            {
                //SnowFlakeSingle.WorkId = Settings.SqlSugar.SnowFlakeWorkId; ä¸åŒæœºå™¨é…ç½®çš„唯一数字; // å•服务器不需要指定
                return new ConnectionConfig()
                {
                    DbType = SqlSugar.DbType.PostgreSQL,//数据库类型
                    ConnectionString = CurveParasHelper.Curve.DataBase.PostgreSql.ConnectString,
                    IsAutoCloseConnection = true,//是否自动关闭
                    MoreSettings = new ConnMoreSettings()
                    {
                        //PgSqlIsAutoToLower = false //数据库存在大写字段的 ï¼Œéœ€è¦æŠŠè¿™ä¸ªè®¾ä¸ºfalse ï¼Œå¹¶ä¸”实体和字段名称要一样
                    },
                    AopEvents = new AopEvents
                    {
                        OnLogExecuting = (sql, p) =>
                        {
                            // var sqlString = UtilMethods.GetNativeSql(sql, p);
                            //LogHelper.Debug(sqlString);
                            // Console.WriteLine(sql);
                        }
                    }
                };
            }
        }
        /// <summary>
        /// SQLite连接配置
        /// </summary>
        internal static ConnectionConfig SQLiteConnectionConfig
        {
            get
            {
                //SnowFlakeSingle.WorkId = Settings.SqlSugar.SnowFlakeWorkId; ä¸åŒæœºå™¨é…ç½®çš„唯一数字; // å•服务器不需要指定
                return new ConnectionConfig()
                {
                    DbType = SqlSugar.DbType.Sqlite,//数据库类型
                    ConnectionString = CurveParasHelper.Curve.DataBase.SQLite.ConnectString,
                    IsAutoCloseConnection = true,//是否自动关闭
                    MoreSettings = new ConnMoreSettings()
                    {
                        //PgSqlIsAutoToLower = false //数据库存在大写字段的 ï¼Œéœ€è¦æŠŠè¿™ä¸ªè®¾ä¸ºfalse ï¼Œå¹¶ä¸”实体和字段名称要一样
                    },
                    AopEvents = new AopEvents
                    {
                        OnLogExecuting = (sql, p) =>
                        {
                            // var sqlString = UtilMethods.GetNativeSql(sql, p);
                            //LogHelper.Debug(sqlString);
                            // Console.WriteLine(sql);
                        }
                    }
                };
            }
        }
    }
}
Yw.Service.Curve.Core/00-core/DataType.cs
Yw.Service.Curve.Core/00-core/MemoryCacheKey.cs
Yw.Service.Curve.Core/00-core/ePumpFeatType.cs
Yw.Service.Curve.Core/00-core/eReliabilityStatus.cs
Yw.Service.Curve.Core/00-core/eSourceWay.cs
Yw.Service.Curve.Core/01-entity/PumpCurve.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/1-entity/PumpCurve.cs ÐÞ¸Ä
@@ -4,7 +4,7 @@
    /// æ³µæ›²çº¿
    /// </summary>
    [SugarTable("pump_curve")]
    public class PumpCurve : BaseEntity, System.ICloneable
    public class PumpCurve : BaseTraceEntity, System.ICloneable
    {
        /// <summary>
@@ -24,12 +24,6 @@
            this.CurveInfo = rhs.CurveInfo;
            this.ReliabilityStatus = rhs.ReliabilityStatus;
            this.InputTime = rhs.InputTime;
            this.CreateTime = rhs.CreateTime;
            this.CreateUserID = rhs.CreateUserID;
            this.CreateUserName = rhs.CreateUserName;
            this.UpdateTime = rhs.UpdateTime;
            this.UpdateUserID = rhs.UpdateUserID;
            this.UpdateUserName = rhs.UpdateUserName;
            this.Description = rhs.Description;
        }
@@ -67,36 +61,6 @@
        /// å½•入时间
        /// </summary>
        public DateTime InputTime { get; set; }
        /// <summary>
        /// åˆ›å»ºæ—¶é—´
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// åˆ›å»ºäººid
        /// </summary>
        public long CreateUserID { get; set; }
        /// <summary>
        /// åˆ›å»ºäººåç§°
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// æ›´æ–°æ—¶é—´
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// æ›´æ–°äººid
        /// </summary>
        public long? UpdateUserID { get; set; }
        /// <summary>
        /// æ›´æ–°äººåç§°
        /// </summary>
        public string UpdateUserName { get; set; }
        /// <summary>
        /// è¯´æ˜Ž
Yw.Service.Curve.Core/01-entity/PumpCurveMapping.cs
Yw.Service.Curve.Core/02-model/PumpCurve.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/2-model/1-pump/PumpCurve.cs ÐÞ¸Ä
@@ -30,7 +30,7 @@
            this.UpdateUserID = rhs.UpdateUserID;
            this.UpdateUserName = rhs.UpdateUserName;
            this.Description = rhs.Description;
        }
        /// <summary>
@@ -73,7 +73,7 @@
        /// <summary>
        /// åæ ‡å‚æ•°
        /// </summary>
        public  string  CoordParas { get; set; }
        public string CoordParas { get; set; }
        /// <summary>
        /// æ›²çº¿ä¿¡æ¯
Yw.Service.Curve.Core/02-model/PumpCurveInfoModel.cs
Yw.Service.Curve.Core/02-model/PumpCurveMapping.cs
Yw.Service.Curve.Core/03-settings/helper/CurveFileHelper.cs
Yw.Service.Curve.Core/03-settings/helper/CurveParasHelper.cs
Yw.Service.Curve.Core/03-settings/paras/CurveParas.cs
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve.cs
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
namespace Yw.Settings
{
    /// <summary>
    ///
    /// </summary>
    public class Paras_Curve_DataBase
    {
        /// <summary>
        /// æ•°æ®åº“类型
        /// </summary>
        public string DbType { get; set; }
        /// <summary>
        /// å·¥åŽ‚
        /// </summary>
        public Paras_Curve_DataBase_Factory Factory { get; set; }
        /// <summary>
        /// PostgreSql
        /// </summary>
        public Paras_Curve_DataBase_PostgreSql PostgreSql { get; set; }
        /// <summary>
        /// SQLite
        /// </summary>
        public Paras_Curve_DataBase_SQLite SQLite { get; set; }
    }
}
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_Factory.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
namespace Yw.Settings
{
    /// <summary>
    ///
    /// </summary>
    public class Paras_Curve_DataBase_Factory
    {
        /// <summary>
        /// æ˜¯å¦å¼€å¯ç¼“å­˜
        /// </summary>
        public bool EnableCache { get; set; }
        /// <summary>
        /// ç¼“存时间(秒)
        /// </summary>
        public int CacheTime { get; set; }
    }
}
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_PostgreSql.cs
copy from Yw.Service.Curve.Core/3-settings/paras/Paras_Curve_DataBase.cs copy to Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_PostgreSql.cs
Îļþ´Ó Yw.Service.Curve.Core/3-settings/paras/Paras_Curve_DataBase.cs ¸´ÖÆ
@@ -3,14 +3,12 @@
    /// <summary>
    /// 
    /// </summary>
    public class Paras_Curve_DataBase
    public class Paras_Curve_DataBase_PostgreSql
    {
        /// <summary>
        /// è¿žæŽ¥å­—符串
        /// </summary>
        public string ConnectString { get; set; }
    }
}
Yw.Service.Curve.Core/03-settings/paras/Paras_Curve_DataBase_SQLite.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/3-settings/paras/Paras_Curve_DataBase.cs ÐÞ¸Ä
@@ -3,14 +3,12 @@
    /// <summary>
    /// 
    /// </summary>
    public class Paras_Curve_DataBase
    public class Paras_Curve_DataBase_SQLite
    {
        /// <summary>
        /// è¿žæŽ¥å­—符串
        /// </summary>
        public string ConnectString { get; set; }
    }
}
Yw.Service.Curve.Core/04-dal/01-interface/IPumpCurve.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,35 @@
namespace Yw.DAL
{
    /// <summary>
    /// æ³µæ›²çº¿
    /// </summary>
    public interface IPumpCurve : IBaseTraceDAL<Entity.PumpCurve>
    {
        /// <summary>
        /// æ›´æ–° CurveInfo
        /// </summary>
        bool UpdateCurveInfo(long ID, string CurveInfo);
        /// <summary>
        /// æ›´æ–° CoordParas
        /// </summary>
        bool UpdateCoordParas(long ID, string CoordParas);
        /// <summary>
        /// æ›´æ–°å¯ä¿¡åº¦
        /// </summary>
        bool UpdateReliabilityStatus(long ID, int ReliabilityStatus);
        /// <summary>
        /// é€šè¿‡ ID åˆ é™¤ åŒæ—¶åˆ é™¤æ˜ å°„
        /// </summary>
        bool DeleteExByID(long ID);
    }
}
Yw.Service.Curve.Core/04-dal/01-interface/IPumpCurveMapping.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,67 @@
namespace Yw.DAL
{
    /// <summary>
    /// æ³µæ›²çº¿æ˜ å°„
    /// </summary>
    public interface IPumpCurveMapping : IBaseDAL<Entity.PumpCurveMapping>, IUpdateSorter
    {
        /// <summary>
        /// æ’入拓展
        /// </summary>
        long InsertEx(Entity.PumpCurve curveEntity, Entity.PumpCurveMapping mappingEntity);
        /// <summary>
        /// æ›´æ–°æ‹“展
        /// </summary>
        bool UpdateEx(Entity.PumpCurve curveEntity, Entity.PumpCurveMapping mappingEntity);
        /// <summary>
        /// é€šè¿‡ PumpID èŽ·å–
        /// </summary>
        List<Entity.PumpCurveMapping> GetByPumpID(long PumpID);
        /// <summary>
        /// é€šè¿‡ PumpIds èŽ·å–
        /// </summary>
        List<Entity.PumpCurveMapping> GetByPumpIds(List<long> PumpIds);
        /// <summary>
        /// é€šè¿‡ CurveID èŽ·å–
        /// </summary>
        List<Entity.PumpCurveMapping> GetByCurveID(long CurveID);
        /// <summary>
        /// æ›´æ–° OtherName
        /// </summary>
        bool UpdateOtherName(long ID, string OtherName);
        /// <summary>
        /// æ›´æ–° IsWorking
        /// </summary>
        bool UpdateIsWorking(long ID, bool IsWorking);
        /// <summary>
        /// è®¾ç½®å·¥ä½œæ›²çº¿
        /// </summary>
        bool SetWorkingCurve(long ID, long PumpID);
        /// <summary>
        /// é€šè¿‡ PumpID åˆ é™¤
        /// </summary>
        bool DeleteByPumpID(long PumpID);
    }
}
Yw.Service.Curve.Core/04-dal/02-postgresql/PumpCurve.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/4-dal/1-pump/PumpCurve.cs ÐÞ¸Ä
@@ -1,31 +1,30 @@
namespace Yw.DAL
namespace Yw.DAL.PostgreSql
{
    /// <summary>
    /// æ³µæ›²çº¿
    /// </summary>
    public partial class PumpCurve : BaseDAL<Entity.PumpCurve>
    public partial class PumpCurve : BaseTraceDAL<Entity.PumpCurve>
    {
        /// <summary>
        /// 
        /// </summary>
        public override ConnectionConfig ConnectionConfig
        {
            get { return ConfigHelper.DefaultConnectionConfig; }
            get { return ConfigHelper.PostgreSqlConnectionConfig; }
        }
        /// <summary>
        /// æ›´æ–° CurveInfo
        /// </summary>
        public bool UpdateCurveInfo(long ID, string CurveInfo, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCurveInfo(long ID, string CurveInfo)
        {
            using (var db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.CurveInfo == CurveInfo)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
@@ -33,14 +32,15 @@
        /// <summary>
        /// æ›´æ–° CoordParas
        /// </summary>
        public bool UpdateCoordParas(long ID, string CoordParas, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCoordParas(long ID, string CoordParas)
        {
            using (SqlSugarClient db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.CoordParas == CoordParas)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
@@ -48,14 +48,15 @@
        /// <summary>
        /// æ›´æ–°å¯ä¿¡åº¦
        /// </summary>
        public bool UpdateReliabilityStatus(long ID, int ReliabilityStatus, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateReliabilityStatus(long ID, int ReliabilityStatus)
        {
            using (SqlSugarClient db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.ReliabilityStatus == ReliabilityStatus)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
Yw.Service.Curve.Core/04-dal/02-postgresql/PumpCurveMapping.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/4-dal/1-pump/PumpCurveMapping.cs ÐÞ¸Ä
@@ -1,4 +1,4 @@
namespace Yw.DAL
namespace Yw.DAL.PostgreSql
{
    /// <summary>
    /// æ³µæ›²çº¿æ˜ å°„
@@ -10,7 +10,7 @@
        /// </summary>
        public override ConnectionConfig ConnectionConfig
        {
            get { return ConfigHelper.DefaultConnectionConfig; }
            get { return ConfigHelper.PostgreSqlConnectionConfig; }
        }
        /// <summary>
Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurve.cs
copy from Yw.Service.Curve.Core/4-dal/1-pump/PumpCurve.cs copy to Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurve.cs
Îļþ´Ó Yw.Service.Curve.Core/4-dal/1-pump/PumpCurve.cs ¸´ÖÆ
@@ -1,31 +1,30 @@
namespace Yw.DAL
namespace Yw.DAL.SQLite
{
    /// <summary>
    /// æ³µæ›²çº¿
    /// </summary>
    public partial class PumpCurve : BaseDAL<Entity.PumpCurve>
    public partial class PumpCurve : BaseTraceDAL<Entity.PumpCurve>
    {
        /// <summary>
        /// 
        /// </summary>
        public override ConnectionConfig ConnectionConfig
        {
            get { return ConfigHelper.DefaultConnectionConfig; }
            get { return ConfigHelper.SQLiteConnectionConfig; }
        }
        /// <summary>
        /// æ›´æ–° CurveInfo
        /// </summary>
        public bool UpdateCurveInfo(long ID, string CurveInfo, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCurveInfo(long ID, string CurveInfo)
        {
            using (var db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.CurveInfo == CurveInfo)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
@@ -33,14 +32,15 @@
        /// <summary>
        /// æ›´æ–° CoordParas
        /// </summary>
        public bool UpdateCoordParas(long ID, string CoordParas, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCoordParas(long ID, string CoordParas)
        {
            using (SqlSugarClient db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.CoordParas == CoordParas)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
@@ -48,14 +48,15 @@
        /// <summary>
        /// æ›´æ–°å¯ä¿¡åº¦
        /// </summary>
        public bool UpdateReliabilityStatus(long ID, int ReliabilityStatus, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateReliabilityStatus(long ID, int ReliabilityStatus)
        {
            using (SqlSugarClient db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Updateable<Entity.PumpCurve>()
                    .SetColumns(x => x.ReliabilityStatus == ReliabilityStatus)
                    .SetColumns(x => x.UpdateUserID == UpdateUserID)
                    .SetColumns(x => x.UpdateTime == UpdateTime)
                    .SetColumns(x => x.UpdateUserID == UserRegister.UserID)
                    .SetColumns(x => x.UpdateTime == DateTime.Now)
                    .SetColumns(x => x.UpdateUserName == UserRegister.UserName)
                    .Where(x => x.ID == ID).ExecuteCommandHasChange();
            }
        }
Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurveMapping.cs
copy from Yw.Service.Curve.Core/4-dal/1-pump/PumpCurveMapping.cs copy to Yw.Service.Curve.Core/04-dal/03-sqlite/PumpCurveMapping.cs
Îļþ´Ó Yw.Service.Curve.Core/4-dal/1-pump/PumpCurveMapping.cs ¸´ÖÆ
@@ -1,4 +1,4 @@
namespace Yw.DAL
namespace Yw.DAL.SQLite
{
    /// <summary>
    /// æ³µæ›²çº¿æ˜ å°„
@@ -10,7 +10,7 @@
        /// </summary>
        public override ConnectionConfig ConnectionConfig
        {
            get { return ConfigHelper.DefaultConnectionConfig; }
            get { return ConfigHelper.SQLiteConnectionConfig; }
        }
        /// <summary>
Yw.Service.Curve.Core/05-service/00-core/CacheHelper.cs
Yw.Service.Curve.Core/05-service/00-core/DALCreateHelper.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
namespace Yw.Service.Curve
{
    /// <summary>
    /// DAL辅助类
    /// </summary>
    internal class DALCreateHelper
    {
        /// <summary>
        /// åˆ›å»ºDAL
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        public static T CreateDAL<T>()
        {
            var dbType = Settings.CurveParasHelper.Curve.DataBase.DbType;
            var enableCache = Settings.CurveParasHelper.Curve.DataBase.Factory.EnableCache;
            var cacheTime = Settings.CurveParasHelper.Curve.DataBase.Factory.CacheTime;
            return Yw.DALFactory.CreateDAL<T>(dbType, enableCache, cacheTime);
        }
    }
}
Yw.Service.Curve.Core/05-service/00-core/Extensions.cs
Yw.Service.Curve.Core/05-service/00-core/PumpFeatHelper.cs
Yw.Service.Curve.Core/05-service/1-pump-curve/PumpCurve.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/5-service/1-pump-curve/PumpCurve.cs ÐÞ¸Ä
@@ -12,7 +12,7 @@
        {
            var all = PumpCurveCacheHelper.GetSet(() =>
            {
                var dal = new DAL.PumpCurve();
                var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
                var entityList = dal.GetAll();
                var modelList = Entity2Models(entityList);
                if (modelList == null)
@@ -27,7 +27,7 @@
        //通过 ID æ›´æ–°ç¼“å­˜
        internal static void UpdateCache(long ID)
        {
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var entityDb = dal.GetByID(ID);
            var modelDb = Entity2Model(entityDb);
            var all = GetCache();
@@ -48,7 +48,7 @@
        {
            if (Ids == null || Ids.Count < 1)
                return;
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var entityList = dal.GetByIds(Ids);
            var modelList = Entity2Models(entityList);
            var all = GetCache();
@@ -95,10 +95,10 @@
        public Model.PumpCurve GetByID(long ID)
        {
            var all = GetAll();
            return  all.Find(x => x.ID == ID);
            return all.Find(x => x.ID == ID);
        }
        /// <summary>
        /// é€šè¿‡ ID èŽ·å–
        /// </summary>
@@ -126,7 +126,7 @@
                return default;
            }
            var entity = Model2Entity(model);
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var id = dal.Insert(entity);
            if (id > 0)
            {
@@ -144,7 +144,7 @@
            {
                return false;
            }
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var entity_list = Model2Entities(list);
            var ids = dal.InsertsR(entity_list);
            if (ids != null && ids.Count > 0)
@@ -169,7 +169,7 @@
                return false;
            }
            var entity = Model2Entity(model);
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.Update(entity);
            if (bol)
            {
@@ -188,7 +188,7 @@
                return false;
            }
            var entity_list = Model2Entities(list.ToList());
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.Updates(entity_list);
            if (bol)
            {
@@ -200,14 +200,14 @@
        /// <summary>
        /// æ›´æ–° CurveInfo
        /// </summary>
        public bool UpdateCurveInfo(long ID, PumpCurveInfoModel CurveInfo, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCurveInfo(long ID, PumpCurveInfoModel CurveInfo)
        {
            if (ID < 1)
            {
                return false;
            }
            var dal = new DAL.PumpCurve();
            var bol = dal.UpdateCurveInfo(ID, CurveInfo?.ToJson(), UpdateUserID, UpdateTime);
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.UpdateCurveInfo(ID, CurveInfo?.ToJson());
            if (bol)
            {
                UpdateCache(ID);
@@ -218,14 +218,14 @@
        /// <summary>
        /// æ›´æ–° CoordParas
        /// </summary>
        public bool UpdateCoordParas(long ID, Dictionary<string, string> CoordParas, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateCoordParas(long ID, Dictionary<string, string> CoordParas)
        {
            if (ID < 1)
            {
                return false;
            }
            var dal = new DAL.PumpCurve();
            var bol = dal.UpdateCoordParas(ID, ParasHelper.ToString(CoordParas), UpdateUserID, UpdateTime);
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.UpdateCoordParas(ID, ParasHelper.ToString(CoordParas));
            if (bol)
            {
                UpdateCache(ID);
@@ -236,14 +236,14 @@
        /// <summary>
        /// æ›´æ–° ReliabilityStatus
        /// </summary>
        public bool UpdateReliabilityStatus(long ID, eReliabilityStatus ReliabilityStatus, long UpdateUserID, DateTime UpdateTime)
        public bool UpdateReliabilityStatus(long ID, eReliabilityStatus ReliabilityStatus)
        {
            if (ID < 1)
            {
                return false;
            }
            var dal = new DAL.PumpCurve();
            var bol = dal.UpdateReliabilityStatus(ID, (int)ReliabilityStatus, UpdateUserID, UpdateTime);
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.UpdateReliabilityStatus(ID, (int)ReliabilityStatus);
            if (bol)
            {
                UpdateCache(ID);
@@ -266,7 +266,7 @@
                Msg = "存在曲线关联关系";
                return false;
            }
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.DeleteByID(ID);
            if (bol)
            {
@@ -281,7 +281,7 @@
        public bool DeleteExByID(long ID, out string Msg)
        {
            Msg = string.Empty;
            var dal = new DAL.PumpCurve();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurve>();
            var bol = dal.DeleteExByID(ID);
            if (bol)
            {
Yw.Service.Curve.Core/05-service/1-pump-curve/PumpCurve_Instance.cs
Yw.Service.Curve.Core/05-service/1-pump-curve/cache/PumpCurveCacheHelper.cs
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/PumpCurveMapping.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/5-service/2-pump-curve-mapping/PumpCurveMapping.cs ÐÞ¸Ä
@@ -12,7 +12,7 @@
        {
            var all = PumpCurveMappingCacheHelper.GetSet(() =>
            {
                var dal = new DAL.PumpCurveMapping();
                var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
                var entityList = dal.GetAll();
                var modelList = Entity2Models(entityList);
                if (modelList == null)
@@ -27,7 +27,7 @@
        //通过 ID æ›´æ–°ç¼“å­˜
        internal static Model.PumpCurveMapping UpdateCache(long ID)
        {
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var entityDb = dal.GetByID(ID);
            var modelDb = Entity2Model(entityDb);
            var all = GetCache();
@@ -49,7 +49,7 @@
        {
            if (Ids == null || Ids.Count < 1)
                return;
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var entityList = dal.GetByIds(Ids);
            var modelList = Entity2Models(entityList);
            var all = GetCache();
@@ -64,7 +64,7 @@
        //通过 PumpID æ›´æ–°ç¼“å­˜
        internal static void UpdateCacheByPumpID(long PumpID)
        {
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var entityList = dal.GetByPumpID(PumpID);
            var modelList = Entity2Models(entityList);
            var all = GetCache();
@@ -83,7 +83,7 @@
            {
                return;
            }
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var entityList = dal.GetByPumpIds(PumpIds);
            var modelList = Entity2Models(entityList);
            var all = GetCache();
@@ -98,7 +98,7 @@
        //通过 CurveID æ›´æ–°ç¼“å­˜
        internal static void UpdateCacheByCurveID(long CurveID)
        {
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var entityList = dal.GetByCurveID(CurveID);
            var modelList = Entity2Models(entityList);
            var all = GetCache();
@@ -270,7 +270,7 @@
                return default;
            }
            var entity = Model2Entity(model);
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var id = dal.Insert(entity);
            if (id > 0)
            {
@@ -294,7 +294,7 @@
                return false;
            }
            var entity = Model2Entity(model);
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.Update(entity);
            if (bol)
            {
@@ -312,7 +312,7 @@
            {
                return default;
            }
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.UpdateSortCode(ID, SortCode);
            if (bol)
            {
@@ -330,7 +330,7 @@
            {
                return default;
            }
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.UpdateSorter(sorters.ToEntityList());
            if (bol)
            {
@@ -380,7 +380,7 @@
        public bool DeleteByID(long ID, out string Msg)
        {
            Msg = string.Empty;
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.DeleteByID(ID);
            if (bol)
            {
@@ -427,7 +427,7 @@
                return false;
            }
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.SetWorkingCurve(ID, model.PumpID);
            if (bol)
            {
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/PumpCurveMapping_Instance.cs
Yw.Service.Curve.Core/05-service/2-pump-curve-mapping/cache/PumpCurveMappingCacheHelper.cs
Yw.Service.Curve.Core/05-service/3-pump-curve-mapping-extension/PumpCurveExMapping.cs
ÎļþÃû´Ó Yw.Service.Curve.Core/5-service/3-pump-curve-mapping-extension/PumpCurveExMapping.cs ÐÞ¸Ä
@@ -130,7 +130,7 @@
            }
            var curveEntity = PumpCurve.Model2Entity(curve);
            var mappingEntity = PumpCurveMapping.Model2Entity(mapping);
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var id = dal.InsertEx(curveEntity, mappingEntity);
            if (id > 0)
            {
@@ -155,7 +155,7 @@
            }
            var curveEntity = PumpCurve.Model2Entity(curve);
            var mappingEntity = PumpCurveMapping.Model2Entity(mapping);
            var dal = new DAL.PumpCurveMapping();
            var dal = DALCreateHelper.CreateDAL<Yw.DAL.IPumpCurveMapping>();
            var bol = dal.UpdateEx(curveEntity, mappingEntity);
            if (bol)
            {
Yw.Service.Curve.Core/GlobalUsings.cs
@@ -8,7 +8,6 @@
global using System.Collections;
global using SqlSugar;
global using AutoMapper;
global using Yw.Newtonsoft;
global using Yw.Curve;
global using Yw.Settings;
global using Yw.Untity;
Yw.Service.Curve.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@
-->
<Project>
  <PropertyGroup>
    <History>True|2023-11-24T04:42:29.4629539Z;True|2023-11-24T11:00:06.9513357+08:00;True|2023-11-22T10:59:43.5869760+08:00;True|2023-11-15T09:31:29.7022607+08:00;True|2023-11-08T13:30:50.1423957+08:00;True|2023-11-08T11:54:49.6715090+08:00;True|2023-11-07T11:00:32.3186525+08:00;True|2023-11-07T11:00:20.7173571+08:00;True|2023-10-24T23:16:33.8643304+08:00;True|2023-10-21T14:19:25.2606768+08:00;True|2023-09-26T14:09:33.8756384+08:00;True|2023-08-29T11:33:28.5466784+08:00;True|2023-08-21T13:26:43.3162454+08:00;True|2023-08-18T13:08:38.6378644+08:00;True|2023-08-16T17:42:45.3685771+08:00;True|2023-08-16T11:48:48.4326811+08:00;True|2023-08-15T15:00:14.6493599+08:00;True|2023-08-10T15:20:03.2786400+08:00;True|2023-08-07T11:48:46.2865626+08:00;True|2023-08-07T11:15:37.1248435+08:00;True|2023-08-07T10:40:31.7277832+08:00;True|2023-08-04T17:10:25.6488475+08:00;True|2023-08-02T15:24:28.5531853+08:00;True|2023-08-02T15:19:18.2260163+08:00;True|2023-08-02T13:26:30.0499052+08:00;True|2023-07-17T10:30:15.0370305+08:00;True|2023-07-13T11:54:33.7989040+08:00;True|2023-07-13T11:54:23.3967174+08:00;True|2023-07-06T09:49:52.7407983+08:00;True|2023-05-25T15:37:23.5406830+08:00;False|2023-05-25T15:36:09.3589239+08:00;</History>
    <History>True|2024-03-27T06:04:50.4437801Z;True|2024-03-27T14:04:30.9570873+08:00;True|2023-11-24T12:42:29.4629539+08:00;True|2023-11-24T11:00:06.9513357+08:00;True|2023-11-22T10:59:43.5869760+08:00;True|2023-11-15T09:31:29.7022607+08:00;True|2023-11-08T13:30:50.1423957+08:00;True|2023-11-08T11:54:49.6715090+08:00;True|2023-11-07T11:00:32.3186525+08:00;True|2023-11-07T11:00:20.7173571+08:00;True|2023-10-24T23:16:33.8643304+08:00;True|2023-10-21T14:19:25.2606768+08:00;True|2023-09-26T14:09:33.8756384+08:00;True|2023-08-29T11:33:28.5466784+08:00;True|2023-08-21T13:26:43.3162454+08:00;True|2023-08-18T13:08:38.6378644+08:00;True|2023-08-16T17:42:45.3685771+08:00;True|2023-08-16T11:48:48.4326811+08:00;True|2023-08-15T15:00:14.6493599+08:00;True|2023-08-10T15:20:03.2786400+08:00;True|2023-08-07T11:48:46.2865626+08:00;True|2023-08-07T11:15:37.1248435+08:00;True|2023-08-07T10:40:31.7277832+08:00;True|2023-08-04T17:10:25.6488475+08:00;True|2023-08-02T15:24:28.5531853+08:00;True|2023-08-02T15:19:18.2260163+08:00;True|2023-08-02T13:26:30.0499052+08:00;True|2023-07-17T10:30:15.0370305+08:00;True|2023-07-13T11:54:33.7989040+08:00;True|2023-07-13T11:54:23.3967174+08:00;True|2023-07-06T09:49:52.7407983+08:00;True|2023-05-25T15:37:23.5406830+08:00;False|2023-05-25T15:36:09.3589239+08:00;</History>
  </PropertyGroup>
</Project>
Yw.Service.Curve.Core/Yw.Service.Curve.Core.csproj
@@ -7,7 +7,7 @@
        <RootNamespace>Yw</RootNamespace>
        <GenerateDocumentationFile>True</GenerateDocumentationFile>
        <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
        <Version>1.0.6</Version>
        <Version>3.0.0</Version>
        <Description>完善缓存关联更新</Description>
    </PropertyGroup>
@@ -27,14 +27,12 @@
    </ItemGroup>
    <ItemGroup>
      <PackageReference Include="Yw.DynamicExpresso.Core" Version="1.0.0" />
      <PackageReference Include="Yw.RabbitMq.Core" Version="1.0.0" />
      <PackageReference Include="Yw.Redis.Core" Version="1.0.1" />
      <PackageReference Include="Yw.Service.Core" Version="1.1.3" />
    </ItemGroup>
    <ItemGroup>
      <ProjectReference Include="..\Yw.Coordinate\Yw.Coordinate.csproj" />
      <PackageReference Include="Yw.CurveBase.Core" Version="3.0.0" />
      <PackageReference Include="Yw.DAL.PostgreSql.Core" Version="3.0.0" />
      <PackageReference Include="Yw.DAL.SQLite.Core" Version="3.0.0" />
      <PackageReference Include="Yw.DALFactory.Core" Version="3.0.0" />
      <PackageReference Include="Yw.IDAL.Core" Version="3.0.0" />
      <PackageReference Include="Yw.Service.Core" Version="3.0.0" />
    </ItemGroup>
    <ItemGroup>
Yw.Service.Curve.Core/paras_curve_settings.json
@@ -4,7 +4,17 @@
  "Curve": {
    "DataBase": {
      "ConnectString": "PORT=5432;DATABASE=yw_health;HOST=localhost;PASSWORD=123456;USER ID=postgres;"
      "DbType": "PostgreSql", //PostgreSql、SQLite
      "Factory": {
        "EnableCache": true,
        "CacheTime": 10
      },
      "PostgreSql": {
        "ConnectString": "PORT=5432;DATABASE=yw_curve;HOST=localhost;PASSWORD=123456;USER ID=postgres;"
      },
      "SQLite": {
        "ConnectString": "Data Source=yw_curve.db;"
      }
    },
    "PointNumber": 12
  }