| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S8;
- /// <summary>
- /// CONFIG-MONITOR-DICT-READONLY-SEED-1:监控对象/指标只读字典查询 + 返回 DTO。
- /// </summary>
- public class AdoS8MonitorOptionsQueryDto
- {
- public long TenantId { get; set; } = 1;
- public long FactoryId { get; set; } = 1;
- }
- public class AdoS8MonitorMetricOptionDto
- {
- public string MetricCode { get; set; } = string.Empty;
- public string MetricLabel { get; set; } = string.Empty;
- public string Mechanism { get; set; } = string.Empty;
- public string? Unit { get; set; }
- public string? DueAtField { get; set; }
- public string? StatusField { get; set; }
- public string? MeasuredValueField { get; set; }
- public string? ObjectIdField { get; set; }
- public string? ObjectCodeField { get; set; }
- public string? ObjectNameField { get; set; }
- public bool IsResultKpi { get; set; }
- }
- public class AdoS8MonitorObjectOptionDto
- {
- public string ObjectCode { get; set; } = string.Empty;
- public string ObjectType { get; set; } = string.Empty;
- public string ObjectLabel { get; set; } = string.Empty;
- public string? SourceTable { get; set; }
- public List<string> Mechanisms { get; set; } = new();
- public List<AdoS8MonitorMetricOptionDto> Metrics { get; set; } = new();
- }
- public class AdoS8MonitorOptionsResultDto
- {
- public List<AdoS8MonitorObjectOptionDto> Objects { get; set; } = new();
- }
|