=== 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
@@ -8,6 +8,7 @@ namespace adas_core.module.LightBeacons.Devices;
/// The specific implementation of these methods will depend on the type of light beacon being used and the requirements of the application.
/// </summary>
/// <param name="options">A dictionary containing configuration options for the light beacon. This can include settings such as the beacon's IP address, port number, color configurations, and other relevant parameters.</param>
/// <!-- aidoc:v1 sig=f70cccd -->
public abstract class LightBeacon(EquatableDictionary<string, object> options)
{
/// <summary>
@@ -19,24 +20,28 @@ public abstract class LightBeacon(EquatableDictionary<string, object> options)
/// Turns the light beacon blue. This method should be implemented to control the beacon's hardware or software interface to change its color to blue.
/// </summary>
/// <returns>A task representing the asynchronous operation.</returns>
/// <!-- aidoc:v1 sig=2fdc9f9 -->
public abstract Task BlueCode();
/// <summary>
/// Turns the light beacon red. This method should be implemented to control the beacon's hardware or software interface to change its color to red.
/// </summary>
/// <returns>A task representing the asynchronous operation.</returns>
/// <!-- aidoc:v1 sig=8664798 -->
public abstract Task RedCode();
/// <summary>
/// Turns the light beacon yellow. This method should be implemented to control the beacon's hardware or software interface to change its color to yellow.
/// </summary>
/// <returns>A task representing the asynchronous operation.</returns>
/// <!-- aidoc:v1 sig=7741a6b -->
public abstract Task YellowCode();
/// <summary>
/// Turns off the light beacon. This method should be implemented to control the beacon's hardware or software interface to turn off the light, regardless of its current color.
/// </summary>
/// <returns></returns>
/// <!-- aidoc:v1 sig=a171807 -->
public abstract Task PowerOffLed();
/// <summary>
@@ -45,11 +50,13 @@ public abstract class LightBeacon(EquatableDictionary<string, object> options)
/// </summary>
/// <param name="obs">The patient observation used to determine the appropriate color alert.</param>
/// <returns>A task representing the asynchronous operation.</returns>
/// <!-- aidoc:v1 sig=a91a8f7 -->
public abstract Task GenerateColorAlert(PatientObservation obs);
/// <summary>
/// Retrieves the current color of the light beacon. This method should be implemented to query the beacon's hardware or software interface to determine its current color state and return it as a value from the LightBeaconColor enumeration.
/// </summary>
/// <returns>A task representing the asynchronous operation, with a result of the current color of the light beacon.</returns>
/// <!-- aidoc:v1 sig=e132b45 -->
public abstract Task<Domain.Enums.LightBeaconColor> GetBeaconColor();
}