tangxu
2023-04-21 473084031d410d95db66e81f4d1761f9a2d1b8e5
成行 加上数据圆整
已修改2个文件
12 ■■■■ 文件已修改
Application/IStation.Application.OpenApi/shys/dispatch/DispatchAna_ShysController.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Calculation/IStation.Calculation.Dispatch/custom/shys/station/长兴岛/KeepStatus.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Application/IStation.Application.OpenApi/shys/dispatch/DispatchAna_ShysController.cs
@@ -185,7 +185,7 @@
            }
            else
            {
                water_level = scada_water.value;
                water_level = Math.Round( scada_water.value,2);
            }
            complex_request_paras.InletPipePara = new List<IStation.Calculation.DispatchAna.Model.InletPipePara>();
@@ -246,7 +246,7 @@
            }
            else
            {
                pipe1.TargetFlow = flow1.value;
                pipe1.TargetFlow = Math.Round(flow1.value,0);
            }
            var press1 = result_sg.result.Find(x => x.key == "stationCX_1#_pressure");
            if (press1 == null)
@@ -256,7 +256,7 @@
            }
            else
            {
                pipe1.TargetPress = press1.value;
                pipe1.TargetPress = Math.Round(press1.value,4);
            }
            var pipe1_val = result_sg.scada.Find(t => t.tagname == "_0402010403150101003");
            if (pipe1_val != null)
@@ -277,7 +277,7 @@
            }
            else
            {
                pipe2.TargetFlow = flow2.value;
                pipe2.TargetFlow = Math.Round(flow2.value,0);
            }
            var press2 = result_sg.result.Find(x => x.key == "stationCX_2#_pressure");
@@ -288,7 +288,7 @@
            }
            else
            {
                pipe2.TargetPress = press2.value;
                pipe2.TargetPress = Math.Round(press2.value,4);
            }
            var pipe2_val = result_sg.scada.Find(t => t.tagname == "_0402010403150102003");
            if (pipe2_val != null)
Calculation/IStation.Calculation.Dispatch/custom/shys/station/长兴岛/KeepStatus.cs
@@ -112,7 +112,7 @@
                    new Common.DispatchAnaGeneralHelper鍘嬪姏();
                calc_pipe_helper.InitialParas(
                    pipe1_TargetFlow + pipe2_TargetFlow,
                    water_level,true ,
                    water_level, true,
                    press, false,
                    null, null,
                    allMachineList, null, out error_info);