From 0a2c59670b82d61d3fa79f51a54e82e7bd0134c4 Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期一, 25 十一月 2024 13:29:14 +0800 Subject: [PATCH] 优化生成 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ViewModel/SectionBundleInfo.cs | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ViewModel/SectionBundleInfo.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ViewModel/SectionBundleInfo.cs" index e674b04..d358fd9 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ViewModel/SectionBundleInfo.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ViewModel/SectionBundleInfo.cs" @@ -78,6 +78,23 @@ /// <summary> /// /// </summary> + /// <param name="index"></param> + /// <returns></returns> + public void FromSectionShapePara(SectionShapePara model) + { + + var index = model.Index ; + this.GaMa_Left[index] = model.Gama_Left ; + this.GaMa_Right[index] = model.Gama_Right ; + this.H[index] = model.H; + this.R_Left[index]= model.R_Left ; + this.R_Right[index] = model.R_Right ; + + + } + /// <summary> + /// + /// </summary> /// <param name="sectionShapePara"></param> /// <param name="index"></param> public void SetShapeInfo(SectionShapePara sectionShapePara, int index) -- Gitblit v1.9.3