using Managing.Application.Abstractions.Services;
using Managing.Application.Workers.Abstractions;
using static Managing.Common.Enums;

namespace Managing.Api.Workers.Workers;

public class PricesOneHourWorker : PricesBaseWorker<PricesOneHourWorker>
{
    public PricesOneHourWorker(
        ILogger<PricesOneHourWorker> logger,
        IPricesService pricesService,
        IStatisticService statisticService,
        IWorkerService workerService) : base(
        logger,
        pricesService,
        workerService,
        statisticService,
        TimeSpan.FromMinutes(30),
        WorkerType.PriceOneHour,
        Timeframe.OneHour)
    {
    }
}