wxr
2021-03-16 7584dea0241cefc276a4b5311331aee1dcda6c80
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
@@ -1,14 +1,15 @@
using System;
using System.Collections.Generic;
using HDL_ON.Entity;
namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice
{
    [System.Serializable]
    public class Pir: Entity.Function
    public class Pir : Entity.Function
    {
        /// <summary>
        /// 添加按键列表
        /// 红外宝列表
        /// </summary>
        public static List<ButtonObj> BuottonList = new List<ButtonObj>();
        public static List<Pir> pirDeviceList = new List<Pir>();
        /// <summary>
        /// 当前逻辑
@@ -20,7 +21,6 @@
        public List<Entity.Function> FunctioList = new List<Entity.Function>();
    }
    [System.Serializable]
    public class Control
@@ -28,11 +28,15 @@
        /// <summary>
        /// 红外宝设备Id
        /// </summary>
        public string deviceId = "0";
        public string deviceId = "";
        /// <summary>
        /// sid
        /// </summary>
        public string sid = "";
        /// <summary>
        /// 红外遥控器名称
        /// </summary>
        public string name = "0";
        public string name = "";
        /// <summary>
        /// 红外遥控器spk
        /// </summary>
@@ -44,25 +48,17 @@
        /// <summary>
        /// 码组号
        /// </summary>
        public string group_id = "12";
        public string groupId = "";
        /// <summary>
        /// 红外码
        /// 红外码库
        /// </summary>
        public List<string> library = new List<string>();
        /// <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
    {
@@ -92,7 +88,6 @@
        public string brandName = string.Empty;
    }
    public class Library
    {
        /// <summary>