2021-01-04 21:18:01 +01:00

99 lines
2.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyCore.Interfaces.DTO
{
public class DeviceSummaryDTO
{
public string Id { get; set; }
public string UserId { get; set; }
public string Description { get; set; }
public string Name { get; set; }
public string Model { get; set; }
public DeviceType Type { get; set; }
public bool Status { get; set; }
public ConnectionStatus ConnectionStatus { get; set; }
public string LocationId { get; set; }
public string ProviderId { get; set; }
public string ProviderName { get; set; }
public LocationDTO Location { get; set; }
public DateTime LastStateDate { get; set; }
public bool Battery { get; set; }
public int BatteryStatus { get; set; }
}
public class DeviceDetailDTO
{
public string Id { get; set; }
public string UserId { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Model { get; set; }
public DeviceType Type { get; set; }
public string FirmwareVersion { get; set; }
public string HardwareVersion { get; set; }
public int Port { get; set; }
public ConnectionStatus ConnectionStatus { get; set; }
public bool Status { get; set; }
public string LocationId { get; set; }
public LocationDTO Location { get; set; }
public List<MeansOfCommunication> MeansOfCommunications { get; set; }
public DateTime CreatedDate { get; set; }
public DateTime UpdatedDate { get; set; }
public string LastState { get; set; } // TODO UNIFORMISATION ?
public DateTime LastStateDate { get; set; }
public string IpAddress { get; set; }
public string ServiceIdentification { get; set; }
public bool Battery { get; set; }
public int BatteryStatus { get; set; }
public string ProviderId { get; set; }
public string ProviderName { get; set; }
public string ManufacturerName { get; set; }
public List<string> GroupIds { get; set; }
public Dictionary<string, object> Properties { get; set; }
public List<string> SupportedOperations { get; set; }
}
}