Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.VDA5050.Factsheet;
|
||||
|
||||
public class Version
|
||||
{
|
||||
[JsonPropertyName("key")]
|
||||
public string Key { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
public string Value { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class Network
|
||||
{
|
||||
[JsonPropertyName("dnsServers")]
|
||||
public string[] DnsServers { get; set; } = [];
|
||||
|
||||
[JsonPropertyName("ntpServers")]
|
||||
public string[] NtpServers { get; set; } = [];
|
||||
|
||||
[JsonPropertyName("localIpAddress")]
|
||||
public string LocalIpAddress { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("netmask")]
|
||||
public string Netmask { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("defaultGateway")]
|
||||
public string DefaultGateway { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class VehicleConfig
|
||||
{
|
||||
[JsonPropertyName("versions")]
|
||||
public Version[] Versions { get; set; } = [];
|
||||
|
||||
[JsonPropertyName("network")]
|
||||
public Network Network { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user