duheng
2025-01-14 bee0b4fc0f1126dd10fb9d7be931121266f97f6e
修复报错
已修改4个文件
30 ■■■■ 文件已修改
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectHelper.cs 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/00-core/AssetsMatchingHelper.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.resx 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectHelper.cs
@@ -37,7 +37,7 @@
            feedBackProgress?.Invoke(100, 5);
            #endregion
            #endregion 第一步 临时文件处理(进度5%)
            #region 第二步 创建项目(进度 10%)
@@ -74,7 +74,7 @@
            feedBackProgress?.Invoke(100, 10);
            #endregion
            #endregion 第二步 创建项目(进度 10%)
            #region 第三步 设置地图位置(进度 20%)
@@ -115,7 +115,7 @@
            feedBackProgress?.Invoke(100, 20);
            #endregion
            #endregion 第三步 设置地图位置(进度 20%)
            #region 第四步 压缩文件解析 (进度30%)
@@ -154,7 +154,7 @@
            feedBackProgress?.Invoke(100, 30);
            #endregion
            #endregion 第四步 压缩文件解析 (进度30%)
            #region 第五步 解析水力结构文件 (进度40%)
@@ -197,6 +197,7 @@
                                        feedBackMsg?.Invoke($"构件类型:{revitParter.Catalog},构件编码:{revitParter.Id},构件属性:{revitParterPropStatus.PropName},错误:{revitParterPropStatus.StatusInfo} ", Color.Red);
                                    }
                                    break;
                                default: break;
                            }
                        }
@@ -291,7 +292,7 @@
                await BLLFactory<Yw.BLL.HydroDecoratorInfo>.Instance.Save(vm.HydroInfo.ID, HStation.Revit.ConstParas.Scene, allDecoratorList);
            }
            #endregion
            #endregion 第五步 解析水力结构文件 (进度40%)
            #region 第六步 关联水力结构模型(进度 50%)
@@ -318,7 +319,7 @@
            feedBackMsg?.Invoke("关联水力结构模型成功。。。", Color.Green);
            feedBackProgress?.Invoke(100, 50);
            #endregion
            #endregion 第六步 关联水力结构模型(进度 50%)
            #region 第七步 上传Revit模型文件(进度 60%)
@@ -345,7 +346,7 @@
            feedBackMsg?.Invoke("解析Revit模型文件成功。。。", Color.Green);
            feedBackProgress?.Invoke(100, 60);
            #endregion
            #endregion 第七步 上传Revit模型文件(进度 60%)
            #region 第八步 保存Bimface文件 (进度 65%)
@@ -372,7 +373,7 @@
            feedBackMsg?.Invoke("Bimface文件保存成功。。。", Color.Green);
            feedBackProgress?.Invoke(100, 65);
            #endregion
            #endregion 第八步 保存Bimface文件 (进度 65%)
            #region 第九步 关联Bimface文件(进度 70%)
@@ -397,7 +398,7 @@
            feedBackMsg?.Invoke("Bimface文件关联成功。。。", Color.Green);
            feedBackProgress?.Invoke(100, 70);
            #endregion
            #endregion 第九步 关联Bimface文件(进度 70%)
            #region 第十步 发起模型转换(进度 90%)
@@ -438,7 +439,7 @@
            feedBackProgress?.Invoke(100, 90);
            #endregion
            #endregion 第十步 发起模型转换(进度 90%)
            #region 第十一步 更新模型文件状态(进度 100%)
@@ -460,9 +461,7 @@
            feedBackMsg?.Invoke("项目导入完成。。。", Color.Green);
            return true;
            #endregion
            #endregion 第十一步 更新模型文件状态(进度 100%)
        }
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/00-core/AssetsMatchingHelper.cs
@@ -111,7 +111,7 @@
                    }
                }
                //喷头匹配
                //冷却塔匹配
                foreach (var item in assetsAutoMatchingView.Coolings)
                {
                    if (Matching(item, allCoolingMain))
@@ -1768,7 +1768,10 @@
            {
                input.MatchingBendingAngle = elbow.Angle;
            }
            if (elbow.ElbowType != null)
            {
            input.MatchingElbowType = (Yw.WinFrmUI.eElbowType)(int)elbow.ElbowType;
            }
            if (input.Material == null || input.Material == string.Empty)
            {
                input.MatchingMaterial = elbow.Material;
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.resx