=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
/// Serves as an abstract base class for representing common pump types.
|
||||
/// Provides a shared foundation for derived classes that define specific pump categorizations.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=ae2d216 -->
|
||||
public abstract class CommonPumpTypes
|
||||
{
|
||||
// Tipos auxiliares para valores con unidades (idénticos a PatientPumpObservation pero anidados aquí)
|
||||
@@ -11,6 +12,7 @@ public abstract class CommonPumpTypes
|
||||
/// <summary>
|
||||
/// Represents a value associated with a pump operation or measurement.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=e6d5f09 -->
|
||||
public class PumpValue
|
||||
{
|
||||
public double? Value { get; set; }
|
||||
@@ -19,12 +21,14 @@ public abstract class CommonPumpTypes
|
||||
/// 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>
|
||||
/// <!-- aidoc:v1 sig=e168502 -->
|
||||
public override string ToString() => $"{{Value: {Value}, Units: {Units}}}";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents a container for detailed information about a syringe.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=1b49f09 -->
|
||||
public class SyringeDetails
|
||||
{
|
||||
public string? Type { get; set; }
|
||||
|
||||
@@ -6,6 +6,7 @@ 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>
|
||||
/// <!-- aidoc:v1 sig=6cc55e2 -->
|
||||
public class PumpAlarmEvent
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.Pumps
|
||||
/// Una fila por alarma activa (DeviceId + AlarmType o AlarmCodeMdc).
|
||||
/// Se actualiza vía PumpService: start/continue → upsert, end → delete.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=d93ddd8 -->
|
||||
public class PumpAlarmState
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.Pumps
|
||||
/// de observaciones (PCD-01/10), alarmas (PCD-04) y eventos. El servicio
|
||||
/// decidirá cómo dividir y persistir en las colecciones destino.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=7ac2d51 -->
|
||||
public class PumpObservation
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.Pumps
|
||||
/// Se sobrescribe con cada mensaje del HL7.
|
||||
/// Contiene siempre el último valor conocido de la bomba.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=86a0766 -->
|
||||
public class PumpState
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user