IoTGateway.Model/DeviceVariable.cs

(完整代码) 981B

using PluginInterface;
using System;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;

namespace IoTGateway.Model
{
    public class DeviceVariable : TopBasePoco, IVariable
    {
        [Display(Name = "变量名")]
        public string Name { get; set; }

        [Display(Name = "描述")]
        public string Description { get; set; }

        [Display(Name = "方法")]
        public string Method { get; set; }

        [Display(Name = "地址")]
        public string DeviceAddress { get; set; }

        [Display(Name = "类型")]
        public PluginInterface.DataTypeEnum DataType { get; set; }

        [Display(Name = "表达式")]
        public string Expressions { get; set; }

        [Display(Name = "权限")]
        public ProtectTypeEnum ProtectType { get; set; }

        public Device Device { get; set; }
        [Display(Name = "设备")]
        public Guid? DeviceId { get; set; }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。