// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FloraMultiPlatformFrontend.Presentation.Models.Cockpit;

namespace FloraMultiPlatformFrontend.Data.Repositories.Interfaces;

public interface ILiveRepository
{
    Task<IEnumerable<SensorData>> GetSensorDataAsync(
        IEnumerable<int> sensorIds,
        string machineCode,
        CancellationToken cancellationToken = default
    );
    Task<DateTime?> GetLastUpdateTimeAsync(string machineCode, CancellationToken cancellationToken = default);
}
