duheng
2025-03-07 467578cbe7f027c14ceba0aed16fb827b94e2c65
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/00-core/AssetsMatchingHelper.cs
@@ -1841,6 +1841,7 @@
        public static bool Matching(HydroPressmeterMatchingViewModel input, List<AssetsPressmeterMainVmo> pressmeterVmos)
        {
            //输入参数验证
            if (input == null)
            {
                return false;
@@ -2037,11 +2038,11 @@
            {
                input.MatchingMaterial = translation.Material;
            }
            if (input.MinorLoss < 0)
            if (input.MinorLoss <= 0)
            {
                input.MatchingMinorLoss = translation.MinorLoss;
            }
            if (input.Roughness < 0)
            if (input.Roughness <= 0)
            {
                input.MatchingRoughness = translation.Roughness;
            }