wxr
2022-07-05 46dee93ff58a4c50b23fd42ffa8db9bf612b497c
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -206,17 +206,17 @@
                    //    Control.Ins.OneKeyUnlocking(new Function(), UserInfo.Current.doorPasswordString);
                    //}
                ddd++;
                    Function function_online = FunctionList.List.GetLightList().Find((obj) => obj.sid == "0001017DB92D2602020100010101");
                    if(ddd%2 == 0)
                    {
                        function_online.online = true;
                    }
                    else
                    {
                        function_online.online = false;
                    }
                    HomePage.LoadEvent_RefreshDevcieOnline(function_online);
                //ddd++;
                //    Function function_online = FunctionList.List.GetLightList().Find((obj) => obj.sid == "0001017DB92D2602020100010101");
                //    if(ddd%2 == 0)
                //    {
                //        function_online.online = true;
                //    }
                //    else
                //    {
                //        function_online.online = false;
                //    }
                //    HomePage.LoadEvent_RefreshDevcieOnline(function_online);
                    
                };
@@ -591,6 +591,23 @@
                }
            });
            FunctionList.List.Functions.Add(new Function
            {
                name = "测试毫米波传感器",
                spk = SPK.SenesorMegahealth,
                attributes = new List<FunctionAttributes>
                {
                    new FunctionAttributes(){ key = "enable",curValue = "true",state = "true" },
                    new FunctionAttributes(){ key = "people_num",curValue = "0",state = "0" },
                    new FunctionAttributes(){ key = "people_id",curValue = "1",state = "1" },
                    new FunctionAttributes(){ key = "target_status",curValue = "0",state = "0" },//0空,1走,2跑,3坐,4跌倒,5站
                    new FunctionAttributes(){ key = "people_status",curValue = "false",state = "false" },//状态  有人无人
                    //new FunctionAttributes(){ key = "",curValue = "",state = "" },
                    //new FunctionAttributes(){ key = "",curValue = "",state = "" },
                    //new FunctionAttributes(){ key = "",curValue = "",state = "" },
                }
            });
            //FunctionList.List.Functions.Add(new Function
            //{
            //    name = "门锁",