陈嘉乐
2021-03-08 6ae83acae578c6746201fbd61074a7b93747ef4f
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using HDL_ON.Entity;
namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice
{
    [System.Serializable]
@@ -8,7 +10,7 @@
        /// <summary>
        /// 添加按键列表
        /// </summary>
        public static List<ButtonObj> BuottonList = new List<ButtonObj>();
        public static List<AttributesStatus> BuottonList = new List<AttributesStatus>();
        public static List<Pir> pirDeviceList = new List<Pir>();
        /// <summary>
        /// 当前逻辑
@@ -30,6 +32,10 @@
        /// </summary>
        public string deviceId = "0";
        /// <summary>
        /// sid
        /// </summary>
        public string sid = "0";
        /// <summary>
        /// 红外遥控器名称
        /// </summary>
        public string name = "0";
@@ -44,7 +50,7 @@
        /// <summary>
        /// 码组号
        /// </summary>
        public string group_id = "12";
        public string groupId = "12";
        /// <summary>
        /// 红外码
        /// </summary>
@@ -52,17 +58,9 @@
        /// <summary>
        /// 红外码
        /// </summary>
        public List<ButtonObj> status = new List<ButtonObj>();
        public List<AttributesStatus> status = new List<AttributesStatus>();
    }
    [System.Serializable]
    public class ButtonObj
    {
        public string Key = string.Empty;
        /// <summary>
        /// #app 显示的文字
        /// </summary>
        public string value = string.Empty;
    }
    [System.Serializable]
    public class DeviceType
    {