=== 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
+4
View File
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Utils;
/// <summary>
/// Provides helper methods for relaying operations, data, or commands between components.
/// </summary>
/// <!-- aidoc:v1 sig=00f0997 -->
public class RelayHelper
{
/// <summary>
@@ -69,6 +70,7 @@ public class RelayHelper
/// Powers on the specified relay by constructing a request to the local relay control endpoint at https://localhost:7186, where the relay is identified by its <see cref="Relay.RelayNumber"/> in the path.
/// </summary>
/// <param name="relay">The relay to power on.</param>
/// <!-- aidoc:v1 sig=61b2177 body=b5539f2 -->
public static void PowerOnRelay(Relay relay)
{
UriBuilder builder = new()
@@ -87,6 +89,7 @@ public class RelayHelper
/// using the relay's number as the path identifier, then forwarding the call to the underlying relay handler.
/// </summary>
/// <param name="relay">The relay to power off, identified by its <see cref="Relay.RelayNumber"/> which is used to construct the request path.</param>
/// <!-- aidoc:v1 sig=3bafafd body=1a09ab5 -->
public static void PowerOffRelay(Relay relay)
{
UriBuilder builder = new()
@@ -140,6 +143,7 @@ public class RelayHelper
/// </summary>
/// <param name="relay">The relay whose status is being queried.</param>
/// <returns><c>true</c> if the relay is active; otherwise, <c>false</c>.</returns>
/// <!-- aidoc:v1 sig=d491189 body=90f8ab6 -->
public static bool GetRelayStatus(Relay relay)
{
return false;