Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using adas_core.Domain.Enums;
|
||||
using adas_core.Domain.Models;
|
||||
using adas_core.Domain.Models.Filter;
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using adas_core.Domain.Models.Responses;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Application.Services.Interfaces;
|
||||
|
||||
public interface ILightBeaconService
|
||||
{
|
||||
Task SendColor(ObjectId pocId, LightBeaconColor color);
|
||||
Task SendColor(PointOfCare pocId, LightBeaconColor color);
|
||||
Task SendBeaconBroadcast(PointOfCare poc, LightBeaconColor color);
|
||||
Task SendBeaconBroadcast(ObjectId poc, LightBeaconColor color);
|
||||
Task PowerOffLed(ObjectId pocId);
|
||||
Task PowerOffLed(PointOfCare poc);
|
||||
|
||||
void GenerateColorAlert(PatientObservation obs);
|
||||
|
||||
//TODO refactor, one patient can have multiple beacons
|
||||
public Task<LightBeaconColor> GetColor(ObjectId pocId);
|
||||
public Task<LightBeaconColor> GetColor(PointOfCare poc);
|
||||
Task<LightBeacon?> UpdateOne(LightBeacon beacon);
|
||||
Task<LightBeacon?> InsertOne(LightBeacon beacon);
|
||||
Task<PaginationResponse<LightBeacon>> GetPaginatedBeacons(PaginationFilter request);
|
||||
Task<List<LightBeacon>> GetSearchByName(string textToSearch);
|
||||
}
|
||||
Reference in New Issue
Block a user