From a0597a2720e9d5061d5de16bf683183618ad5356 Mon Sep 17 00:00:00 2001
From: 孙世强 <sunshiqiang@ng.com>
Date: 星期五, 14 十一月 2025 17:03:38 +0800
Subject: [PATCH] 1.MES数据库存在变更,适配现有的mes数据库2.新增mes的数据库ip和端口设置
---
optimize_patch/订单排样客户端/初始配置.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git "a/optimize_patch/\350\256\242\345\215\225\346\216\222\346\240\267\345\256\242\346\210\267\347\253\257/\345\210\235\345\247\213\351\205\215\347\275\256.cs" "b/optimize_patch/\350\256\242\345\215\225\346\216\222\346\240\267\345\256\242\346\210\267\347\253\257/\345\210\235\345\247\213\351\205\215\347\275\256.cs"
index 4bcd224..15433fd 100644
--- "a/optimize_patch/\350\256\242\345\215\225\346\216\222\346\240\267\345\256\242\346\210\267\347\253\257/\345\210\235\345\247\213\351\205\215\347\275\256.cs"
+++ "b/optimize_patch/\350\256\242\345\215\225\346\216\222\346\240\267\345\256\242\346\210\267\347\253\257/\345\210\235\345\247\213\351\205\215\347\275\256.cs"
@@ -76,7 +76,7 @@
return;
}
- if (!int.TryParse(txtServerPort.Text, out int mesPort) || port < 1 || port > 65535)
+ if (!int.TryParse(txtMesPort.Text, out int mesPort) || port < 1 || port > 65535)
{
MessageBox.Show("璇疯緭鍏ユ湁鏁堢殑绔彛鍙� (1-65535)", "鏃犳晥绔彛", MessageBoxButtons.OK, MessageBoxIcon.Warning);
txtMesPort.Focus();
@@ -99,6 +99,7 @@
txtServerIP.Text = Service.ERPService;
txtMESIP.Text = Service.MESService;
txtServerPort.Text = Service.ERPServicePort.ToString();
+ txtMesPort.Text = Service.MESServicePort.ToString();
}
--
Gitblit v1.8.0