=== 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:
@@ -10,6 +10,7 @@ namespace adas_core.Domain.Models.MongoModels;
|
||||
/// <remarks>
|
||||
/// This class serves as an intermediary mechanism, commonly used to decouple producers and consumers of information.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=2f27144 -->
|
||||
public class Relay
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
@@ -52,6 +53,7 @@ public class Relay
|
||||
/// </summary>
|
||||
/// <param name="other">The other <see cref="Relay"/> instance to compare against the current one.</param>
|
||||
/// <returns><c>true</c> if all properties of both relays match; otherwise, <c>false</c>.</returns>
|
||||
/// <!-- aidoc:v1 sig=2e64d60 body=9793a82 -->
|
||||
public bool Equals(Relay other)
|
||||
{
|
||||
return Driver == other.Driver && Ip == other.Ip && Port == other.Port && RelayNumber == other.RelayNumber &&
|
||||
@@ -63,6 +65,7 @@ public class Relay
|
||||
/// Returns a JSON string representation of the current object, serializing all its public properties via JsonConvert.
|
||||
/// </summary>
|
||||
/// <returns>A JSON-formatted string that represents the current object.</returns>
|
||||
/// <!-- aidoc:v1 sig=d27f326 body=a8136e0 -->
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonConvert.SerializeObject(this);
|
||||
|
||||
Reference in New Issue
Block a user