2026-07-25 18:44:26 +08:00
|
|
|
namespace MiGu.Server.Fleet;
|
|
|
|
|
|
2026-08-26 17:46:52 +08:00
|
|
|
/// <summary>与 Simple3 GET /projection/fleet/health 行对齐,供车队运维前端消费。</summary>
|
2026-07-25 18:44:26 +08:00
|
|
|
public sealed class FleetHealthRowDto
|
|
|
|
|
{
|
|
|
|
|
public int CarId { get; set; }
|
|
|
|
|
public string? CarName { get; set; }
|
|
|
|
|
public string? Ip { get; set; }
|
|
|
|
|
public string? OnboardUrl { get; set; }
|
|
|
|
|
public int? LatencyMs { get; set; }
|
|
|
|
|
public bool? Reachable { get; set; }
|
|
|
|
|
public string? ProbedAt { get; set; }
|
|
|
|
|
public double? UptimeSecs { get; set; }
|
|
|
|
|
public double? AlarmActiveSecs { get; set; }
|
|
|
|
|
public double? FaultRatePercent { get; set; }
|
|
|
|
|
public bool? IsAlarmActive { get; set; }
|
|
|
|
|
public double? CpuPercent { get; set; }
|
|
|
|
|
public double? MemPercent { get; set; }
|
|
|
|
|
/// <summary>latency 探测通道:watchdog | onboard | none</summary>
|
|
|
|
|
public string? LatencySource { get; set; }
|
|
|
|
|
}
|