lixiaojun
2025-02-18 1f7091dac2a5dddf4a0a40acb0940d3787cf35f5
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/05-function/SimulationFunctionCtrl.cs
@@ -196,6 +196,26 @@
        #region 通用方法
        #region Model
        /// <summary>
        /// 获取模型
        /// </summary>
        public async Task<Yw.Model.HydroModelInfo> GetModel(XhsSchemeVmo scheme)
        {
            return await GetHydroInfo(scheme, true);
        }
        /// <summary>
        /// 刷新Model
        /// </summary>
        public async Task<Yw.Model.HydroModelInfo> RefreshModel(XhsSchemeVmo scheme)
        {
            return await GetHydroInfo(scheme, false);
        }
        #endregion
        /// <summary>
        /// 获取水力信息
        /// UseCache 是否使用缓存
@@ -987,13 +1007,7 @@
            this.ShowProjectSiteInfoEvent?.Invoke(_project, _projectSite, hydroInfo, this.svgImg32[0]);
        }
        /// <summary>
        /// 刷新
        /// </summary>
        public async Task<Yw.Model.HydroModelInfo> RefreshModel(XhsSchemeVmo scheme)
        {
            return await GetHydroInfo(scheme, false);
        }
        #endregion
    }