Files
bom-local-service/Services/Scraping/Workflows/TemperatureMapWorkflow.cs
T
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

42 lines
1.3 KiB
C#

using BomLocalService.Models;
using BomLocalService.Services.Interfaces;
using BomLocalService.Services.Scraping;
namespace BomLocalService.Services.Scraping.Workflows;
/// <summary>
/// Future workflow for temperature map scraping (not yet implemented)
/// </summary>
public class TemperatureMapWorkflow : ITemperatureMapWorkflow
{
private readonly ILogger<TemperatureMapWorkflow> _logger;
public string Name => "TemperatureMap";
public string Description => "Scrapes temperature forecast map (future feature)";
public string[] StepNames => new[]
{
"NavigateHomepage",
"ClickSearchButton",
"FillSearchInput",
"WaitForSearchResults",
"SelectSearchResult",
// Future: "ClickTemperatureMapLink",
// Future: "WaitForMapReady",
// Future: "ExtractMetadata",
// Future: "CalculateMapBounds",
// Future: "CaptureTemperatureFrames"
};
public TemperatureMapWorkflow(ILogger<TemperatureMapWorkflow> logger)
{
_logger = logger;
}
public Task<RadarResponse> ExecuteAsync(ScrapingContext context, CancellationToken cancellationToken)
{
throw new NotImplementedException("TemperatureMap workflow is not yet implemented");
}
}