| | |
| | | |
| | | if (iConfig is M071Config config) |
| | | { |
| | | config.SnapshotPointCollection.ForEach(s => |
| | | { |
| | | table[s.Id] = s.Name; |
| | | }); |
| | | config.SnapshotPointCollection.Where(u => u.IsEnabled).ToList().ForEach(s => |
| | | { |
| | | table[s.Id] = s.Name; |
| | | }); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | if (iConfig is M071Config config) |
| | | { |
| | | var resultIds = config.KeyUnitCollection.Where(u => u.Key == (context.Instance as KeyUnitBind).Key).Select(u => u.KeyResult).ToList(); |
| | | var resultIds = config.KeyUnitCollection.Where(u => u.IsEnabled && u.Key == (context.Instance as KeyUnitBind).Key).Select(u => u.KeyResultId).ToList(); |
| | | |
| | | var result = config.KeyResultCollection.Where(u => resultIds.Contains(u.Id)).SelectMany(u => u.Results).ToList(); |
| | | |
| | |
| | | { |
| | | result.ForEach(r => |
| | | { |
| | | table[r] = r; |
| | | table.Add(r, r); |
| | | }); |
| | | |
| | | table[""] = ""; |
| | | table.Add("All", "All"); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | if (iConfig is M071Config config) |
| | | { |
| | | return new StandardValuesCollection(config.MeasureSpecCollection.Select(u => u.Code).ToList()); |
| | | return new StandardValuesCollection(config.MeasureTypeCollection.Select(u => u.Code).ToList()); |
| | | } |
| | | } |
| | | |