This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SwitchDahua
|
||||
{
|
||||
public class LLDP
|
||||
{
|
||||
public int id { get; set; }
|
||||
public List<ParamLLDP>? Params { get; set; }
|
||||
public bool result { get; set; }
|
||||
public string? session { get; set; }
|
||||
}
|
||||
public class ParamLLDP
|
||||
{
|
||||
public string? LocalInterface { get; set; }
|
||||
public string? ManagerIP { get; set; }
|
||||
public string? PortDescribe { get; set; }
|
||||
public string? PortID { get; set; }
|
||||
public string? SysAbility { get; set; }
|
||||
public string? SysName { get; set; }
|
||||
}
|
||||
public class Condition
|
||||
{
|
||||
}
|
||||
|
||||
public class ParamsMAC1
|
||||
{
|
||||
public int Count { get; set; }
|
||||
public int Token { get; set; }
|
||||
}
|
||||
|
||||
public class MAC1
|
||||
{
|
||||
public int id { get; set; }
|
||||
public ParamsMAC1 Params { get; set; }
|
||||
public bool result { get; set; }
|
||||
public string session { get; set; }
|
||||
}
|
||||
|
||||
public class InfoMAC
|
||||
{
|
||||
public int KeepState { get; set; }
|
||||
public string MAC { get; set; }
|
||||
public int PortID { get; set; }
|
||||
public int PortType { get; set; }
|
||||
public int Type { get; set; }
|
||||
public int VlanID { get; set; }
|
||||
}
|
||||
|
||||
public class ParamsMAC
|
||||
{
|
||||
public List<InfoMAC> Info { get; set; }
|
||||
}
|
||||
|
||||
public class MAC
|
||||
{
|
||||
public int id { get; set; }
|
||||
public ParamsMAC Params { get; set; }
|
||||
public bool result { get; set; }
|
||||
public string session { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user