12 lines
473 B
C#
12 lines
473 B
C#
namespace Evergreen.Health.Application.Health.Sleep;
|
|
|
|
public sealed record BedAutomationBinding(string Id, long UserId, string ProductKey, string SerialNumber,
|
|
BedSide Side, bool Simulation);
|
|
|
|
public interface IBedPresenceExecutionLog
|
|
{
|
|
Task<string?> BeginAsync(string bindingId, long userId, string action, string target, DateTimeOffset triggeredAt,
|
|
CancellationToken token);
|
|
Task CompleteAsync(string id, string result, DateTimeOffset completedAt);
|
|
}
|