Procházet zdrojové kódy

优化曲线图上传

zly před 5 měsíci
rodič
revize
919a5a0085
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      TeamAAS-VM/Core/Management.cs

+ 1 - 1
TeamAAS-VM/Core/Management.cs

@@ -3280,7 +3280,7 @@ namespace TeamAAS_VP.Core
                                                             if (pressureSensorConfig.IsSavePressureCurve && i == pngindex)
                                                             if (pressureSensorConfig.IsSavePressureCurve && i == pngindex)
                                                             {
                                                             {
                                                                 //复制曲线图
                                                                 //复制曲线图
-                                                                string pngfile_path = $"{pressureSensorConfig.PressureCurvePath}\\{dt.ToString("yyyy-MM")}\\{dt.ToString("MM-dd")}\\{currentProduct.Name}\\{ProductMainSN[i]}";
+                                                                string pngfile_path = $"{pressureSensorConfig.PressureCurvePath}\\{dt.ToString("yyyy-MM")}\\{dt.ToString("yyyy-MM-dd")}\\{currentProduct.Name}\\{ProductMainSN[i]}";
                                                                 string pngfileName = $"{pngfile_path}\\pressure-{ProductMainSN[i]}-{pngindex}.png";
                                                                 string pngfileName = $"{pngfile_path}\\pressure-{ProductMainSN[i]}-{pngindex}.png";
                                                                 string target_png = Path.Combine(filePath, Path.GetFileName(pngfileName));
                                                                 string target_png = Path.Combine(filePath, Path.GetFileName(pngfileName));
                                                                 File.Copy(pngfileName, target_png, true);
                                                                 File.Copy(pngfileName, target_png, true);