| | |
| | | //文件名字
|
| | | listFile.Add(dataResult.ShareName);
|
| | | //保存到指定文件夹下
|
| | | HdlFileLogic.Current.SaveTextToFile(System.IO.Path.Combine(strDir, dataResult.ShareName), System.Text.Encoding.UTF8.GetString(dataResult.ShareDataBytes));
|
| | | HdlFileLogic.Current.SaveByteToFile(System.IO.Path.Combine(strDir, dataResult.ShareName), dataResult.ShareDataBytes);
|
| | | //设置进度值
|
| | | ProgressFormBar.Current.SetValue(i + 1, listMarkCount);
|
| | | }
|
| | |
| | | //清空楼层数据
|
| | | Common.Config.Instance.Home.FloorDics.Clear();
|
| | | //然后检测本地的文件
|
| | | var listLocalFile = Global.FileListByHomeId();
|
| | | var listLocalFile = HdlFileLogic.Current.GetRootPathListFile();
|
| | | foreach (string fileName in listLocalFile)
|
| | | {
|
| | | if (fileName == DirNameResourse.ShardFloorFile)
|