rama creada apartir de master en j

This commit is contained in:
jrojas
2026-06-26 10:29:23 +02:00
parent 319fd3dfb0
commit c1517fda87
2810 changed files with 1927392 additions and 25392 deletions
@@ -1,16 +1,30 @@
namespace adas_core.Domain.Models.Pumps;
/// <summary>
/// Serves as an abstract base class for representing common pump types.
/// Provides a shared foundation for derived classes that define specific pump categorizations.
/// </summary>
public abstract class CommonPumpTypes
{
// Tipos auxiliares para valores con unidades (idénticos a PatientPumpObservation pero anidados aquí)
/// <summary>
/// Represents a value associated with a pump operation or measurement.
/// </summary>
public class PumpValue
{
public double? Value { get; set; }
public string? Units { get; set; }
/// <summary>
/// Returns a string representation of the measurement, including its value and units.
/// </summary>
/// <returns>A formatted string containing the Value and Units of the measurement.</returns>
public override string ToString() => $"{{Value: {Value}, Units: {Units}}}";
}
/// <summary>
/// Represents a container for detailed information about a syringe.
/// </summary>
public class SyringeDetails
{
public string? Type { get; set; }
@@ -3,6 +3,9 @@ using MongoDB.Bson;
namespace adas_core.Domain.Models.Pumps;
/// <summary>
/// Represents an event related to a pump alarm, encapsulating data raised when an alarm condition is detected on a pump.
/// </summary>
public class PumpAlarmEvent
{
public ObjectId Id { get; set; }