Files
bom-local-service/Models/FrameMetadata.cs
T
alex 41e1f6d685 Implement multi-frame radar capture with configurable cropping
- Capture all 7 radar frames (0-6) instead of single screenshot
- Store frames in folder-based cache structure with metadata
- Extract and store minutesAgo for each frame from page display
- Add configurable screenshot cropping (default: 200px left/right)
- Fix step numbering to use whole numbers (1-22)
- Add scrubber position verification before frame capture
- Handle modal overlay blocking step forward button clicks
- Only create debug folders when scraping is actually needed
- Update API endpoints to return JSON with frame URLs
- Add separate endpoints for individual frame images
2025-12-07 12:51:44 +10:00

19 lines
437 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>
/// Number of minutes ago this frame represents (40, 35, 30, 25, 20, 15, 10).
/// </summary>
public int MinutesAgo { get; set; }
}