iotgateway/IoTGateway.Model/DeviceConfig.cs

24 lines
713 B
C#
Raw Normal View History

2021-12-12 06:55:48 +00:00
using System;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
namespace IoTGateway.Model
{
public class DeviceConfig : BasePoco
{
2023-12-23 09:34:58 +00:00
[Display(Name = "Name")]
2021-12-12 06:55:48 +00:00
public string DeviceConfigName { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "attribute side")]
2022-03-24 13:38:11 +00:00
public DataSide DataSide { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "Description")]
2021-12-12 06:55:48 +00:00
public string Description { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "Value")]
2021-12-12 06:55:48 +00:00
public string Value { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "Remark")]
2021-12-12 06:55:48 +00:00
public string EnumInfo { get; set; }
public Device Device { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "ID")]
2021-12-12 06:55:48 +00:00
public Guid? DeviceId { get; set; }
}
}