=== 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:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -11,11 +11,13 @@ public interface IConfigPumpsService
/// </summary>
/// <param name="obs">The source PumpObservation to be mapped.</param>
/// <returns>A task that represents the asynchronous mapping operation, containing the resulting PumpObservation.</returns>
/// <!-- aidoc:v1 sig=e90f6a3 -->
Task<PumpObservation> Map(PumpObservation obs);
/// <summary>
/// Retrieves all available pump configurations from the configuration store.
/// </summary>
/// <returns>A task containing a list of <see cref="ConfigPumps"/> with all pump configurations, or <c>null</c> if no configurations are available.</returns>
/// <!-- aidoc:v1 sig=02da65c -->
Task<List<ConfigPumps>?> GetAllPumpConfigs();
/// <summary>
/// Asynchronously retrieves the configuration pump items associated with the specified identifier.
@@ -23,36 +25,42 @@ public interface IConfigPumpsService
/// </summary>
/// <param name="id">The unique identifier used to look up the configuration items.</param>
/// <returns>A task containing a list of ConfigPumpItem objects if found, or null if no items exist for the specified id.</returns>
/// <!-- aidoc:v1 sig=f88a8a5 -->
Task<List<ConfigPumpItem>?> GetConfigItems(string id);
/// <summary>
/// Asynchronously retrieves the pump configuration that matches the specified identifier.
/// </summary>
/// <param name="id">The unique identifier of the pump configuration to look up.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains the matching <see cref="ConfigPumps"/> configuration if found; otherwise, <c>null</c> when no configuration exists for the given identifier.</returns>
/// <!-- aidoc:v1 sig=6e00a1d -->
Task<ConfigPumps?> GetPumpConfigById(string id);
/// <summary>
/// Updates the pump configuration asynchronously and returns the updated configuration.
/// </summary>
/// <param name="pumpConfig">The pump configuration to update.</param>
/// <returns>A task that represents the asynchronous operation, containing the updated <see cref="ConfigPumps"/>, or <c>null</c> if the configuration was not found.</returns>
/// <!-- aidoc:v1 sig=8810f19 -->
Task<ConfigPumps?> UpdatePumpConfig(ConfigPumps pumpConfig);
/// <summary>
/// Inserts a new pump configuration into the data store.
/// </summary>
/// <param name="pumpConfig">The pump configuration to insert.</param>
/// <returns>The inserted <see cref="ConfigPumps"/> entity, or <c>null</c> if the insertion was not performed.</returns>
/// <!-- aidoc:v1 sig=65d91df -->
Task<ConfigPumps?> InsertPumpConfig(ConfigPumps pumpConfig);
/// <summary>
/// Asynchronously deletes the specified pump configuration.
/// </summary>
/// <param name="config">The pump configuration to delete.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains a boolean indicating whether the deletion was successful.</returns>
/// <!-- aidoc:v1 sig=ce3f871 -->
Task<bool> DeletePumpConfig(ConfigPumps config);
/// <summary>
/// Asynchronously evaluates and applies retention actions for a pump observation, returning the resulting retention outcome.
/// </summary>
/// <param name="obs">The pump observation to process for retention actions.</param>
/// <returns>A task that represents the asynchronous operation, containing the retention result, or null if no retention action applies.</returns>
/// <!-- aidoc:v1 sig=9f98a57 -->
Task<ObservatitonRetentionResult?> RetentionActions(PumpObservation obs);
}