iotgateway/IoTGateway.Model/IVariable.cs

26 lines
694 B
C#
Raw Normal View History

2021-12-12 06:55:48 +00:00
using PluginInterface;
using System.ComponentModel.DataAnnotations;
namespace IoTGateway.Model
{
public interface IVariable
{
2024-01-08 14:18:16 +00:00
[Display(Name = "VariableName")]
2021-12-12 06:55:48 +00:00
public string Name { 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 = "Address")]
2021-12-12 06:55:48 +00:00
public string DeviceAddress { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "DataType")]
2021-12-12 06:55:48 +00:00
public PluginInterface.DataTypeEnum DataType { get; set; }
2023-12-23 09:34:58 +00:00
[Display(Name = "Expressions")]
public string Expressions { get; set; }
2021-12-12 06:55:48 +00:00
2024-01-08 14:18:16 +00:00
[Display(Name = "Permission")]
2021-12-12 06:55:48 +00:00
public ProtectTypeEnum ProtectType { get; set; }
}
}