QuickbirdUWPDashboard icon indicating copy to clipboard operation
QuickbirdUWPDashboard copied to clipboard

Location Management Page

Open VladimirAkopyan opened this issue 6 years ago • 2 comments

For the moment there is no Location Management, we just give each device a bogus location. There needs to be UI area where location can be created. Since locations are not deleted, only marked as deleted, the locations that are "deleted" must be hidden.

VladimirAkopyan avatar Sep 19 '17 22:09 VladimirAkopyan

Current location fields:

    public class Location : BaseEntity
    {
        [Required]
        public string Name { get; set; }

        [JsonIgnore]
        public virtual Person Person { get; set; }

        [Required]
        public Guid PersonId { get; set; }

        [JsonIgnore]
        public virtual List<Device> Devices { get; set; }

        [JsonIgnore]
        public virtual List<CropCycle> CropCycles { get; set; }

        [JsonIgnore]
        public virtual List<SensorHistory> SensorHistory { get; set; }

        [JsonIgnore]
        public virtual List<RelayHistory> RelayHistory { get; set; }
    }

VladimirAkopyan avatar Sep 19 '17 22:09 VladimirAkopyan

Basically we only have to worry about the name. Could add description if deemed nessesary.

VladimirAkopyan avatar Sep 19 '17 22:09 VladimirAkopyan