using Infrastructure.Domain; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "设备")] public class FBeeDevice : BaseEntity { public int DataType { get; set; } public int DataLength { get; set; } public string Address { get; set; } public int Endpoint { get; set; } public int ProfileId { get; set; } public int DeviceId { get; set; } public int SwitchState { get; set; } public int NameLength { get; set; } public string CName { get; set; } public int IsOnline { get; set; } public string IEEE { get; set; } public int SNLength { get; set; } public string RawSN { get; set; } public int ZoneType { get; set; } public int Battery { get; set; } public int EpCount { get; set; } public string Data { get; set; } public string Safe { get; set; } public string RawValue { get; set; } // public string Sn { get; set; } public string Name { get; set; } public string Icon { get; set; } public int CategoryNumber { get; set; } public string CategoryName { get; set; } public string EName { get; set; } // public int Light { get; set; } public string Unit { get; set; } public int Warning { get; set; } public bool IsWarning { get; set; } public bool UnderVoltage { get; set; } public int PM10 { get; set; } public int PM100 { get; set; } public int PM25 { get; set; } public float Temperature { get; set; } public float Humidity { get; set; } public float Voltage { get; set; } public int Brightness { get; set; } public int Hue { get; set; } public int Saturation { get; set; } public int ColorTemperature { get; set; } public string IRVersion { get; set; } } }