Files
alex ffd3636d1c Remove minutes ago parsing, use UTC timestamps directly
- Refactor TimeParsingService to parse time strings to UTC only
- Remove minutesAgo from RadarFrame and FrameMetadata models
- Update CaptureFramesStep to extract UTC timestamps directly
- Update CacheService to store/load ObservationTime instead of MinutesAgo
- Update BomRadarService to use AbsoluteObservationTime directly
- Remove all backward compatibility code for old cache folders
- Update documentation and test SPA to calculate minutes ago on client
- Fix step registration to register concrete types for DI resolution
- Fix hosted service registration to use reflection correctly
2025-12-23 21:52:42 +10:00

22 lines
648 B
C#

namespace BomLocalService.Models;
/// <summary>
/// Represents a single radar frame (historical precipitation data).
/// Radar frames can be joined across cache folders to create extended historical slideshows.
/// </summary>
public class RadarFrame : CachedFrame
{
/// <summary>
/// The absolute UTC observation time for this frame.
/// Parsed directly from the frame display label during capture.
/// Client calculates "minutes ago" dynamically from this timestamp.
/// </summary>
public DateTime? AbsoluteObservationTime { get; set; }
public RadarFrame()
{
DataType = CachedDataType.Radar;
}
}