| | |
| | | } |
| | | finally |
| | | { |
| | | if (!string.IsNullOrEmpty(tifFile) && File.Exists(tifFile)) |
| | | { |
| | | File.Delete(tifFile); |
| | | } |
| | | //if (!string.IsNullOrEmpty(tifFile) && File.Exists(tifFile)) File.Delete(tifFile); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | finally |
| | | { |
| | | if (!string.IsNullOrEmpty(txtFile) && File.Exists(txtFile)) |
| | | { |
| | | File.Delete(txtFile); |
| | | } |
| | | if (!string.IsNullOrEmpty(txtFile) && File.Exists(txtFile)) File.Delete(txtFile); |
| | | } |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | private static int InsertToDB(List<SysMeta> metas, XYZArgs args) |
| | | { |
| | | if (PubDBHelper.IsPublish(args.dircode, "DEM")) return 0; |
| | | if (PubDBHelper.IsPublish(args.dircode, "DEM")) return 1; |
| | | |
| | | SysMeta meta = metas[0]; |
| | | meta.type = "DEM"; |