13 lines
368 B
C#
13 lines
368 B
C#
using InnovEnergy.Lib.Utils.Net;
|
|
|
|
namespace InnovEnergy.App.DeligreenBatteryCommunication;
|
|
|
|
public class SalimaxDevice : Ip4Address
|
|
{
|
|
public required DeviceState DeviceState { get; init; }
|
|
|
|
public override String ToString() => $"{base.ToString()} ({DeviceState})";
|
|
|
|
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), DeviceState);
|
|
|
|
} |