=== 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.Domain.Models.Responses;
/// <remarks>
/// Implements <see cref="IEquatable{T}"/> to enable value-based equality comparison between <see cref="BeaconResponse"/> instances.
/// </remarks>
/// <!-- aidoc:v1 sig=47c826a -->
public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEquatable<BeaconResponse>
{
private string Color { get; } = color;
@@ -20,6 +21,7 @@ public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEqua
/// </summary>
/// <param name="other">The <see cref="BeaconResponse"/> to compare with the current instance.</param>
/// <returns><see langword="true"/> if both <c>PointOfCareId</c> and <c>UnitId</c> match; otherwise, <see langword="false"/>.</returns>
/// <!-- aidoc:v1 sig=dc8b593 body=afe9f08 -->
public bool Equals(BeaconResponse? other)
{
return PointOfCareId == other?.PointOfCareId && UnitId == other.UnitId;
@@ -29,6 +31,7 @@ public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEqua
/// Returns a string representation of the BeaconResponse, including the point of care identifier, unit (bed) identifier, and color.
/// </summary>
/// <returns>A formatted string describing the beacon's point of care, unit, and color.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=c53ecf7 -->
public override string ToString()
{
return "BeaconResponse[pointOfCare: " + PointOfCareId + ", bed: " + UnitId + ", color: " + Color + "]";