31 lines
835 B
C#
31 lines
835 B
C#
namespace Strela.Models
|
|
{
|
|
public class DeviceItem
|
|
{
|
|
public int Id { get; set; }
|
|
public string Ip { get; set; }
|
|
public string Mac { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Location { get; set; }
|
|
public List<DeviceItem> Devises { get; set; }
|
|
public DeviceType DeviceType { get; set; }
|
|
public int ConnectedToSwitchId { get; set; }
|
|
public int ConnectedToPortOnSwitch { get; set; }
|
|
|
|
//public DeviceItem(int type, string ip, string mac, string location)
|
|
//{
|
|
|
|
//}
|
|
}
|
|
|
|
//Unknown = 0,
|
|
//SwitchCore = 1,
|
|
//SwitchAccess = 2,
|
|
//Camera = 3,
|
|
//Server = 4,
|
|
//WorkStation = 5,
|
|
//PDU_AVR = 6,
|
|
|
|
}
|