ソースを参照

fix: 集成 mes-print 打印模块并修复配置加载问题
主要改动:
- LaserFlowManager 改用 PrintHelper.printFlowCard() 替代旧的 LaserCardPrintUtil
- PrintHelper 添加 steelSn 参数传递(通过 remark 参数)
- PrinterConfig 添加调试日志输出工作目录和配置文件路径
- 新增 config/print.properties 配置文件

wangxichen 1 週間 前
コミット
f92d0ee599
3 ファイル変更6 行追加2 行削除
  1. 4 0
      config/print.properties
  2. BIN
      lib/mes-print.jar
  3. 2 2
      src/resources/config/config.properties

+ 4 - 0
config/print.properties

@@ -0,0 +1,4 @@
+# OP40 工位打印机配置
+# 打印机类型: hp (激光打印机打流转卡) / tsc (热敏标签机) / none (不打印)
+printer.type=hp
+printer.name=HP LaserJet 3004

BIN
lib/mes-print.jar


+ 2 - 2
src/resources/config/config.properties

@@ -1,6 +1,6 @@
 mes.gw=OP040A
-mes.server_ip=127.0.0.1
-#mes.server_ip=192.168.114.99
+#mes.server_ip=127.0.0.1
+mes.server_ip=192.168.114.99
 mes.tcp_port=3000
 mes.heart_beat_cycle=60
 mes.line_sn=XT