黄学彪
2020-07-29 8ce0f9b1e568dd9125e74421cd02fbc29381c1f1
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);