lixiaojun
2024-12-30 c22cc4c60e9ff156fc25b39a5c024cc758df354b
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/04-monitor/03-marker/SimulationMonitorMarkerHelper.cs
@@ -39,10 +39,10 @@
        public async Task<List<LogicMonitorMarker>> GetAll()
        {
            var allMonitorList = await _monitorHelper.GetAll();
            var allGroupList = allMonitorList?.GroupBy(x => new { x.Relation, x.SourceType }).ToList();
            var allGroupList = allMonitorList?.GroupBy(x => new { x.Parter, x.SourceType }).ToList();
            var allMarkerList = allGroupList?.Select(x => new LogicMonitorMarker()
            {
                Code = x.Key.Relation,
                Code = x.Key.Parter,
                SourceType = (int)x.Key.SourceType,
                Description = x.Key.SourceType == Yw.Hydro.eSourceType.Docking ? $"传感器测点({x.Count()})" : $"分析测点({x.Count()})"
            }).ToList();