mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-12-02 03:38:01 +08:00
26 lines
694 B
C#
26 lines
694 B
C#
using PluginInterface;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoTGateway.Model
|
|
{
|
|
public interface IVariable
|
|
{
|
|
[Display(Name = "VariableName")]
|
|
public string Name { get; set; }
|
|
|
|
[Display(Name = "Description")]
|
|
public string Description { get; set; }
|
|
|
|
[Display(Name = "Address")]
|
|
public string DeviceAddress { get; set; }
|
|
|
|
[Display(Name = "DataType")]
|
|
public PluginInterface.DataTypeEnum DataType { get; set; }
|
|
|
|
[Display(Name = "Expressions")]
|
|
public string Expressions { get; set; }
|
|
|
|
[Display(Name = "Permission")]
|
|
public ProtectTypeEnum ProtectType { get; set; }
|
|
}
|
|
} |