namespace BomLocalService.Models;
///
/// Response containing radar frames from multiple cache folders (historical data).
/// Used when requesting radar data across a time range rather than just the most recent frames.
/// Radar frames can be joined across cache folders because they represent a historical time series.
///
public class RadarTimeSeriesResponse
{
///
/// List of cache folders, each containing radar frames from a single capture session.
/// Ordered chronologically (oldest first).
///
public List CacheFolders { get; set; } = new();
///
/// The start time of the requested range (UTC).
///
public DateTime? StartTime { get; set; }
///
/// The end time of the requested range (UTC).
///
public DateTime? EndTime { get; set; }
///
/// Total number of frames across all cache folders.
///
public int TotalFrames { get; set; }
}
///
/// A cache folder with its associated radar frames.
/// Represents all frames from a single radar capture session (from the radar subfolder).
///
public class RadarCacheFolderFrames
{
///
/// The cache folder name this frameset came from.
///
public string CacheFolderName { get; set; } = string.Empty;
///
/// The timestamp when this cache folder was created (UTC).
///
public DateTime CacheTimestamp { get; set; }
///
/// The observation time from metadata (UTC).
///
public DateTime ObservationTime { get; set; }
///
/// All radar frames from this cache folder's radar subfolder (typically 7 frames, 0-6).
/// Frame URLs are already generated and ready to use.
///
public List Frames { get; set; } = new();
}