23 lines
645 B
C#
23 lines
645 B
C#
using Managing.Application.Abstractions.Services;
|
|
using Microsoft.Extensions.Logging;
|
|
using static Managing.Common.Enums;
|
|
|
|
namespace Managing.Application.Workers;
|
|
|
|
public class PricesOneHourWorker : PricesBaseWorker<PricesOneHourWorker>
|
|
{
|
|
public PricesOneHourWorker(
|
|
ILogger<PricesOneHourWorker> logger,
|
|
IPricesService pricesService,
|
|
IServiceProvider serviceProvider,
|
|
IStatisticService statisticService) : base(
|
|
logger,
|
|
pricesService,
|
|
serviceProvider,
|
|
statisticService,
|
|
TimeSpan.FromMinutes(30),
|
|
WorkerType.PriceOneHour,
|
|
Timeframe.OneHour)
|
|
{
|
|
}
|
|
} |