The first letter of the guiconfig attribute must be capitalized.
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
{
|
||||
public class ClashConnectionModel
|
||||
{
|
||||
public string? id { get; set; }
|
||||
public string? network { get; set; }
|
||||
public string? type { get; set; }
|
||||
public string? host { get; set; }
|
||||
public ulong upload { get; set; }
|
||||
public ulong download { get; set; }
|
||||
public string? uploadTraffic { get; set; }
|
||||
public string? downloadTraffic { get; set; }
|
||||
public double time { get; set; }
|
||||
public string? elapsed { get; set; }
|
||||
public string? chain { get; set; }
|
||||
public string? Id { get; set; }
|
||||
public string? Network { get; set; }
|
||||
public string? Type { get; set; }
|
||||
public string? Host { get; set; }
|
||||
public ulong Upload { get; set; }
|
||||
public ulong Download { get; set; }
|
||||
public string? UploadTraffic { get; set; }
|
||||
public string? DownloadTraffic { get; set; }
|
||||
public double Time { get; set; }
|
||||
public string? Elapsed { get; set; }
|
||||
public string? Chain { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -3,15 +3,15 @@
|
||||
[Serializable]
|
||||
public class ClashProxyModel
|
||||
{
|
||||
public string? name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
public string? type { get; set; }
|
||||
public string? Type { get; set; }
|
||||
|
||||
public string? now { get; set; }
|
||||
public string? Now { get; set; }
|
||||
|
||||
public int delay { get; set; }
|
||||
public int Delay { get; set; }
|
||||
|
||||
public string? delayName { get; set; }
|
||||
public string? DelayName { get; set; }
|
||||
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[Serializable]
|
||||
public class RoutingTemplate
|
||||
{
|
||||
public string version { get; set; }
|
||||
public RoutingItem[] routingItems { get; set; }
|
||||
public string Version { get; set; }
|
||||
public RoutingItem[] RoutingItems { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -3,16 +3,16 @@
|
||||
[Serializable]
|
||||
public class RulesItem
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string? type { get; set; }
|
||||
public string? port { get; set; }
|
||||
public string? network { get; set; }
|
||||
public List<string>? inboundTag { get; set; }
|
||||
public string? outboundTag { get; set; }
|
||||
public List<string>? ip { get; set; }
|
||||
public List<string>? domain { get; set; }
|
||||
public List<string>? protocol { get; set; }
|
||||
public List<string>? process { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string? Type { get; set; }
|
||||
public string? Port { get; set; }
|
||||
public string? Network { get; set; }
|
||||
public List<string>? InboundTag { get; set; }
|
||||
public string? OutboundTag { get; set; }
|
||||
public List<string>? Ip { get; set; }
|
||||
public List<string>? Domain { get; set; }
|
||||
public List<string>? Protocol { get; set; }
|
||||
public List<string>? Process { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
public string? Remarks { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,38 +3,20 @@
|
||||
[Serializable]
|
||||
public class ServerSpeedItem : ServerStatItem
|
||||
{
|
||||
public long proxyUp
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public long ProxyUp { get; set; }
|
||||
|
||||
public long proxyDown
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public long ProxyDown { get; set; }
|
||||
|
||||
public long directUp
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public long DirectUp { get; set; }
|
||||
|
||||
public long directDown
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public long DirectDown { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class TrafficItem
|
||||
{
|
||||
public ulong up
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public ulong Up { get; set; }
|
||||
|
||||
public ulong down
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public ulong Down { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user