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.
27 lines
863 B
27 lines
863 B
using IoT.Shared.Application.Models;
|
|
using Platform.Areas.IoTCenter.Controllers;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Platform.Application.Models.IoTCenter
|
|
{
|
|
[Display(Name = "数据")]
|
|
public class EditPlatformIoTDataModel : EditIoTDataModel
|
|
{
|
|
[Display(Name = "机构")]
|
|
[SelectList(nameof(BuildingId), nameof(AjaxController.GetBuilding))]
|
|
[ReadOnlyForEdit]
|
|
public Guid? OrganId { get; set; }
|
|
|
|
[Display(Name = "建筑")]
|
|
[SelectList(nameof(IoTGatewayId), nameof(AjaxController.GetIoTGateway))]
|
|
[ReadOnlyForEdit]
|
|
public Guid? BuildingId { get; set; }
|
|
|
|
[Display(Name = "分类")]
|
|
[ReadOnlyForEdit]
|
|
[SelectList(nameof(ProductId), nameof(AjaxController.GetIoTProductByCategory))]
|
|
public Guid? CategoryId { get; set; }
|
|
}
|
|
}
|