mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-11-29 18:28:09 +08:00
29 lines
581 B
C#
29 lines
581 B
C#
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
|
|
}
|
|
|
|
public enum DataSide
|
|
{
|
|
[Display(Name ="共享属性")]
|
|
AnySide=0,
|
|
//ServerSide=1,
|
|
[Display(Name = "客户端属性")]
|
|
ClientSide =2,
|
|
}
|
|
} |