13 lines
416 B
C#
13 lines
416 B
C#
|
using System.Text.Json.Nodes;
|
||
|
using InnovEnergy.Lib.Utils;
|
||
|
|
||
|
namespace InnovEnergy.Lib.Victron.VictronVRM;
|
||
|
|
||
|
|
||
|
// not used ATM, see Installation.Settings.cs & Installation.cs
|
||
|
public readonly record struct Settings(JsonNode Json)
|
||
|
{
|
||
|
public String Notes => Json.GetString("notes");
|
||
|
public String Name => Json.GetString("description");
|
||
|
public String PhoneNumber => Json.GetString("phonenumber");
|
||
|
}
|