30 lines
936 B
C#
30 lines
936 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 identifier { 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 DateTime dateUpdate { get; set; }
|
|
public string instanceId { 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; }
|
|
}
|
|
}
|