A2:连接字符串统一收敛(6份+导入报价裸串→数据库连接.串/串无池,调系数/甲方报表/导入报价由裸串升级WAL+超时); A1:OCR/PDF基础设施链接共享(pdfbt链接主项目扒图源11文件,删10个旧副本,pdfbt获得ocr.cls方向纠正等修复); 双项目编译零警告通过,扒图护栏PASS

This commit is contained in:
dqb-dev
2026-10-01 23:12:48 +08:00
parent 1e65792b09
commit 22fed025bb
25 changed files with 95 additions and 2723 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
using System;
using System.IO;
using System.Windows.Forms;
using 成套报价软件; // ★ A1:OCR/PDF 基础设施已链接共享主项目源码(类型在 成套报价软件 命名空间)
namespace pdfbt
{
public partial class MainForm : Form
@@ -32,7 +32,7 @@ namespace pdfbt
.Deserialize<System.Collections.Generic.Dictionary<string, string>>(
File.ReadAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "baidu_ocr.json")));
string eng = jsv != null && jsv.ContainsKey("engine") ? jsv["engine"] : "baidu";
if (eng == "umi" && UmiOcrHost.IsInstalled) UmiOcrHost.EnsureRunning();
if (eng == "umi" && UmiOcrHost.IsInstalled) UmiOcrLauncher.EnsureRunning(); // ★ A1:启停已拆到 UmiOcrLauncher(主项目共享版)
}
}
catch { }