黄学彪
2019-11-07 06978e3b15b8536e2d4511ae4612fec1d556e145
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayLogic.cs
@@ -625,7 +625,7 @@
            }
            //获取全部设备
            bool result = await LocalDevice.Current.SetDeviceToMemmoryByGateway(realWay);
            bool result = LocalDevice.Current.SetDeviceToMemmoryByGateway(realWay);
            //关闭进度条
            ProgressBar.Close();
            if (result == false)
@@ -2128,7 +2128,7 @@
            var listSaveFile = new HashSet<string>();
            foreach (string fileName in listBackFile)
            {
                if (fileName.Length < 10 || fileName.StartsWith(Common.LocalDevice.deviceFirstName) == false)
                if (fileName.Length < 10 || fileName.StartsWith("Device_") == false)
                {
                    //不是设备备份文件
                    continue;
@@ -2188,7 +2188,7 @@
                if (deleteFile.Length > 12)
                {
                    string deviceFileName = deleteFile.Substring(5);
                    if (deviceFileName.StartsWith(Common.LocalDevice.deviceFirstName) == false)
                    if (deviceFileName.StartsWith("Device_") == false)
                    {
                        //不是设备文件
                        continue;