namespace Admin.NET.Plugin.AiDOP.Dto.S8;
///
/// CONFIG-MONITOR-DICT-READONLY-SEED-1:监控对象/指标只读字典查询 + 返回 DTO。
///
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 Mechanisms { get; set; } = new();
public List Metrics { get; set; } = new();
}
public class AdoS8MonitorOptionsResultDto
{
public List Objects { get; set; } = new();
}