lixiaojun
2022-09-02 d5a3d08601fa59498edc092cec23c7ca166a0d15
同步代码
已修改8个文件
34 ■■■■ 文件已修改
Application/IStation.Application.Eta/eta_analy_deviation/EtaAnalyDeviation_Controller.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Eta/eta_analy_deviation/dto/EtaDeviationDayContent.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Main/logic_tree/logic/LogicTree_LogicController.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Main/pipe_line/logic/dto/PumpCurveLogicDto.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Product/product/logic/_/dto/PumpCurveLogicDto.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Run/monitor_general_day_record/mgr/MonitorGeneralDayRecord_MgrController.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Entry/IStation.WebApi.Entry/IStation.WebApi.Entry.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/IStation.Service.Product/pump_curve/pump_curve/PumpCurve.cs 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.Eta/eta_analy_deviation/EtaAnalyDeviation_Controller.cs
@@ -83,6 +83,7 @@
                {
                    var vm = new EtaDeviationDayContent();
                    vm.Time = record.DataTime.ToString("HH:mm:ss");
                    vm.HZr = record.HZa;//新增字段 nsx
                    vm.Qr = Math.Round(record.Qa.Value, 2);
                    vm.Hr = Math.Round(record.Ha.Value, 2);
@@ -123,7 +124,6 @@
            return vmList;
        }
    }
}
Application/IStation.Application.Eta/eta_analy_deviation/dto/EtaDeviationDayContent.cs
@@ -15,6 +15,10 @@
        /// 时间
        /// </summary>
        public string Time { get; set; }
        /// <summary>
        /// 频率(原始)
        /// </summary>
        public double HZr { get; set; }
        /// <summary>
        /// 流量(原始)
        /// </summary>
Application/IStation.Application.Main/logic_tree/logic/LogicTree_LogicController.cs
@@ -254,7 +254,5 @@
            return vm_list;
        }
    }
}
Application/IStation.Application.Main/pipe_line/logic/dto/PumpCurveLogicDto.cs
@@ -32,6 +32,7 @@
            this.OtherName = rhs.OtherName;
            this.SortCode = rhs.SortCode;
            this.IsWorking = rhs.IsWorking;
            this.ReliabilityStatus = rhs.ReliabilityStatus;
            this.PointQH = rhs.CurveInfo?.CurveQH?.GetFitPoints(20)?.Select(x=>new CurvePointDto(x.X,x.Y)).ToList();
            this.PointQP = rhs.CurveInfo?.CurveQP?.GetFitPoints(20)?.Select(x => new CurvePointDto(x.X, x.Y)).ToList();
            this.PointQE = rhs.CurveInfo?.CurveQE?.GetFitPoints(20)?.Select(x => new CurvePointDto(x.X, x.Y)).ToList();
@@ -97,6 +98,11 @@
        public bool IsWorking { get; set; }
        /// <summary>
        /// 可信度
        /// </summary>
        public Model.PumpCurve.eReliabilityStatus ReliabilityStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<CurvePointDto> PointQH { get; set; }
Application/IStation.Application.Product/product/logic/_/dto/PumpCurveLogicDto.cs
@@ -32,6 +32,7 @@
            this.OtherName = rhs.OtherName;
            this.SortCode = rhs.SortCode;
            this.IsWorking = rhs.IsWorking;
            this.ReliabilityStatus = rhs.ReliabilityStatus;
            this.PointQH = rhs.CurveInfo?.CurveQH?.GetFitPoints(20)?.Select(x => new CurvePointDto(x.X, x.Y)).ToList();
            this.PointQP = rhs.CurveInfo?.CurveQP?.GetFitPoints(20)?.Select(x => new CurvePointDto(x.X, x.Y)).ToList();
            this.PointQE = rhs.CurveInfo?.CurveQE?.GetFitPoints(20)?.Select(x => new CurvePointDto(x.X, x.Y)).ToList();
@@ -104,6 +105,11 @@
        public bool IsWorking { get; set; }
        /// <summary>
        /// 可信度
        /// </summary>
        public Model.PumpCurve.eReliabilityStatus ReliabilityStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<CurvePointDto> PointQH { get; set; }
Application/IStation.Application.Run/monitor_general_day_record/mgr/MonitorGeneralDayRecord_MgrController.cs
@@ -64,13 +64,16 @@
                throw Oops.Oh(ErrorCodes.D002, $"测点:{monitorId}", "未配置公式参数");
            }
            var getMonitorPoint = new Func<long, Model.MonitorPoint_Signal_SignalType>(x => {
            var getMonitorPoint = new Func<long, Model.MonitorPoint_Signal_SignalType>(x =>
            {
                return new Service.MonitorPoint().GetExSignalWithSignalTypeByID(corpId, x);
            });
            var getLastRecord = new Func<long, long, Model.MonitorBasicRecord>((x, y) => {
            var getLastRecord = new Func<long, long, Model.MonitorBasicRecord>((x, y) =>
            {
                return new Service.MonitorDayRecord().GetBySignalIDOfDay(corpId, x, y, startDay.AddDays(-1));
            });
            var getRecordList = new Func<long, long,Model.Monitor.eCronType, DateTime,DateTime, List<Model.MonitorBasicRecord>>((x, y,cy, st,et) => {
            var getRecordList = new Func<long, long, Model.Monitor.eCronType, DateTime, DateTime, List<Model.MonitorBasicRecord>>((x, y, cy, st, et) =>
            {
                switch (cy)
                {
                    case Model.Monitor.eCronType.Real:
@@ -131,9 +134,6 @@
            var bol = new Service.MonitorDayRecord().InsertsAgain(recordList);
            return new AnalyAgainMonitorGeneralDayRecordOfDayRangeResultDto(bol, msg);
        } 
    }
}
Entry/IStation.WebApi.Entry/IStation.WebApi.Entry.csproj.user
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\WorkData\git\istation\webapi\v4\Entry\IStation.WebApi.Entry\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\WorkData\IStation\IStationV4.1\Core\Service.V4.1\Entry\IStation.WebApi.Entry\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
    <ActiveDebugProfile>IIS Express</ActiveDebugProfile>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Service/IStation.Service.Product/pump_curve/pump_curve/PumpCurve.cs