26 lines
688 B
C#
26 lines
688 B
C#
namespace Ministreliy.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; }
|
|
|
|
}
|
|
|
|
//Unknown = 0,
|
|
//SwitchCore = 1,
|
|
//SwitchAccess = 2,
|
|
//Camera = 3,
|
|
//Server = 4,
|
|
//WorkStation = 5,
|
|
//PDU_AVR = 6,
|
|
}
|