You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Platform/ViewModels/HomeModel.cs

35 lines
1.1 KiB

using Infrastructure.Application;
using IoT.Shared.Application.Domain.Entities;
using System;
using System.Collections.Generic;
namespace Platform.ViewModels
{
public class HomeModel : PagedList<IoTDevice>
{
public bool ShowAll { get; set; }
public Guid? OrganId { get; set; }
public Guid? BuildingId { get; set; }
public Organ Organ { get; set; }
public Building Building { get; set; }
public List<Organ> Organs { get; set; } = new List<Organ>();
public List<Building> Buildings { get; set; } = new List<Building>();
public List<IoTDevice> Deviceses { get; set; } = new List<IoTDevice>();
public List<IoTScene> Scenes { get; set; } = new List<IoTScene>();
public int? MaxLight { get; set; }
public int? MinLight { get; set; }
public float? MinTemperaturest { get; set; }
public float? MaxTemperatures { get; set; }
public float? MinHumidity { get; set; }
public float? MaxHumidity { get; set; }
public int? Open { get; set; }
public int? Close { get; set; }
}
}