using MyCore.DTO.Common; using MyCore.Models.MyControlPanel; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCore.DTO.MyControlPanel { public class DeviceSummaryDTO { public string Id { get; set; } public string Name { get; set; } public string Model { get; set; } public bool Status { get; set; } public ConnectionStatus ConnectionStatus { get; set; } public string LocationId { 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 Name { get; set; } public string Model { get; set; } public string FirmwareVersion { 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 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 List Groups { get; set; } public Dictionary Properties { get; set; } public List SupportedOperations { get; set; } } }