mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-28 22:08:08 +02:00
Add project files.
This commit is contained in:
commit
b2325a46ef
1351 changed files with 48136 additions and 0 deletions
24
Models/Mikrotik/ServerTraffic.cs
Normal file
24
Models/Mikrotik/ServerTraffic.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using Newtonsoft.Json;
|
||||
|
||||
namespace MTWireGuard.Models.Mikrotik
|
||||
{
|
||||
public class ServerTraffic
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Type { get; set; }
|
||||
[JsonProperty("tx-byte")]
|
||||
public string TX { get; set; }
|
||||
[JsonProperty("rx-byte")]
|
||||
public string RX { get; set; }
|
||||
}
|
||||
|
||||
public class ServerTrafficViewModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Type { get; set; }
|
||||
public string Upload { get; set; }
|
||||
public string Download { get; set; }
|
||||
public long UploadBytes { get; set; }
|
||||
public long DownloadBytes { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue