陈嘉乐
2020-09-02 652243206427f35a256400a149a1734085824cb9
ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaSettionMenuForm.cs
@@ -123,8 +123,8 @@
        /// <param name="btnswich"></param>
        private async void SetInformationPush(MostRightIconControl btnswich)
        {
            //获取状态
            int statu = HdlSafeguardLogic.Current.GetGarrisonInformationPushStatu(this.zoonID) == 0 ? 1 : 0;
            //获取状态(取反)
            int statu = btnswich.IsSelected == true ? 1 : 0;
            //执行修改
            var result = await HdlSafeguardLogic.Current.SetGarrisonInformationPushStatu(this.zoonID, statu);