mirror of
https://github.com/alexhopeoconnor/bom-local-service.git
synced 2026-10-03 21:21:59 +10:00
- 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
20 lines
492 B
C#
20 lines
492 B
C#
namespace BomLocalService.Models;
|
|
|
|
/// <summary>
|
|
/// Metadata for a single radar frame, stored alongside the frame image.
|
|
/// </summary>
|
|
public class FrameMetadata
|
|
{
|
|
/// <summary>
|
|
/// Frame index (0-6).
|
|
/// </summary>
|
|
public int FrameIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// The absolute UTC observation time for this frame.
|
|
/// Parsed directly from the frame display label during capture.
|
|
/// </summary>
|
|
public DateTime ObservationTime { get; set; }
|
|
}
|
|
|