From 81819f13e1e3a49bf8456051ec0f0b51e3f10821 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 23 九月 2024 12:20:33 +0800
Subject: [PATCH] 解析优化

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs
index 76e0e97..24d5df3 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs
@@ -59,7 +59,7 @@
                 _hydroInfo = await BLLFactory<Yw.BLL.HydroModelInfo>.Instance.GetByID(hydroRelation.ModelID);
             }
             this.xhsProjectSimulationQ3dCtrl1.SetBindingData(_hydroInfo);
-            //this.xhsProjectSimulationL3dCtrl1.SetBindingData(_hydroInfo);
+            this.xhsProjectSimulationL3dCtrl1.SetBindingData(_hydroInfo);
         }
 
         /// <summary>
@@ -95,7 +95,7 @@
             }
             if (_fastShowHideCodeList == null)
             {
-                _fastShowHideCodeList = _hydroInfo.Waterboxs.Select(x => x.Code).ToList();
+                _fastShowHideCodeList = _hydroInfo.Decorators.Select(x => x.Code).ToList();
                 await this.xhsProjectSimulationBimfaceCtrl1.HideComponents(_fastShowHideCodeList);
             }
             else
@@ -317,7 +317,7 @@
                 Dbid = x.DbId,
                 DbLocked = x.DbLocked,
                 ModelType = x.ModelType,
-                //  Caliber = x.Caliber,
+                Caliber = x.Caliber,
                 Material = x.Material
             }).ToList();
             input.ThreeLinkMatchingModels = _hydroInfo.Threelinks?.Select(x => new ThreeLinkMatchingViewModel()
@@ -328,7 +328,7 @@
                 DbId = x.DbId,
                 DbLocked = x.DbLocked,
                 ModelType = x.ModelType,
-                //Caliber = x.Caliber,
+                Caliber = x.Caliber,
                 Material = x.Material
             }).ToList();
             input.FourLinkMatchingModels = _hydroInfo.Fourlinks?.Select(x => new FourLinkMatchingViewModel()
@@ -339,7 +339,7 @@
                 Dbid = x.DbId,
                 DbLocked = x.DbLocked,
                 ModelType = x.ModelType,
-                //   Caliber = x.Caliber,
+                Caliber = x.Caliber,
                 Material = x.Material
             }).ToList();
             input.PipeLineMatchingModels = _hydroInfo.Pipes?.Select(x => new PipeLineMatchingViewModel()

--
Gitblit v1.9.3