14 lines
466 B
C#
14 lines
466 B
C#
using Cardiopulmonarybypasssystems.Models;
|
|
|
|
namespace Cardiopulmonarybypasssystems.Services;
|
|
|
|
public interface IModbusTelemetryService
|
|
{
|
|
IReadOnlyList<DeviceChannel> GetChannels();
|
|
IReadOnlyList<PumpControlChannel> GetPumpControls();
|
|
IReadOnlyList<ValveControlChannel> GetValveControls();
|
|
IReadOnlyList<AlarmMessage> UpdateChannels();
|
|
void SetPumpRunning(string pumpKey, bool isRunning);
|
|
void SetValveOpen(string valveKey, bool isOpen);
|
|
}
|