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 HomeId { 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 RoomId { get; set; } public string ProviderId { get; set; } public string ProviderName { get; set; } public DateTime LastStateDate { get; set; } public bool Battery { get; set; } public int BatteryStatus { get; set; } } public class DeviceDetailDTO : DeviceSummaryDTO { public string FirmwareVersion { get; set; } public string HardwareVersion { get; set; } public int Port { 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 string IpAddress { get; set; } public string ServiceIdentification { get; set; } public string ManufacturerName { get; set; } public List GroupIds { get; set; } public string Properties { get; set; } // Dictionary public List SupportedOperations { get; set; } } }