| | |
| | | using NetTaste; |
| | | using DevExpress.Xpo.Helpers; |
| | | using NetTaste; |
| | | |
| | | namespace Yw.WinFrmUI |
| | | { |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region 业务监测点 |
| | | |
| | | /// <summary> |
| | | /// 设置业务监测点 |
| | | /// </summary> |
| | | public async Task SetLogicMonitors(List<LogicMonitor> obj) |
| | | { |
| | | if (!_isViewInitialized) |
| | | { |
| | | return; |
| | | } |
| | | await this.webViewControl1.EvaluateScriptAsync("setLogicMonitors", obj); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 清除业务监测点 |
| | | /// </summary> |
| | | public async Task ClearLogicMonitors() |
| | | { |
| | | if (!_isViewInitialized) |
| | | { |
| | | return; |
| | | } |
| | | await this.webViewControl1.EvaluateScriptAsync("clearLogicMonitors()"); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | } |
| | | } |