namespace ZB.MOM.WW.ScadaBridge.Commons.Types.Kpi;

/// <summary>
/// A single bucketed point of a KPI series ("KPI History &amp; Trends") — the
/// aggregated value of one series over the bucket starting at
/// <see cref="BucketStartUtc"/>. Returned by the bucketed query path and the
/// reusable trend chart.
/// </summary>
/// <param name="BucketStartUtc">UTC start of the time bucket this point covers.</param>
/// <param name="Value">Aggregated value for the bucket — counts exact; ages as seconds.</param>
public readonly record struct KpiSeriesPoint(DateTime BucketStartUtc, double Value);
