27 lines
793 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Manager.Interfaces.DTO
{
public class DeviceDTO
{
public string Id { get; set; }
public string Name { get; set; }
public string IpAddressWLAN { get; set; }
public string IpAddressETH { get; set; }
public string ConfigurationId { get; set; }
public string Configuration { get; set; }
public bool Connected{ get; set; }
public DateTime DateCreation{ get; set; }
}
public class DeviceDetailDTO : DeviceDTO
{
public string ConnectionLevel { get; set; }
public DateTime LastConnectionLevel { get; set; }
public string BatteryLevel { get; set; }
public DateTime LastBatteryLevel { get; set; }
}
}