iotgateway/IoTGateway.Model/Common.cs

27 lines
496 B
C#
Raw Normal View History

2021-12-12 14:55:48 +08:00
using System.ComponentModel.DataAnnotations;
namespace IoTGateway.Model
{
public enum DeviceTypeEnum
{
[Display(Name = "采集组")]
Group = 0,
[Display(Name = "采集点")]
Device = 1
}
public enum AccessEnum
{
[Display(Name = "只读")]
ReadOnly = 0,
[Display(Name = "读写")]
ReadAndWrite = 1
}
2022-03-24 21:38:11 +08:00
public enum DataSide
{
AnySide=0,
//ServerSide=1,
ClientSide=2,
}
2021-12-12 14:55:48 +08:00
}