按照客户要求将excel导出文件保存为一个条码一条记录,名称为SN_结果_时间.xslx

This commit is contained in:
LL
2025-11-14 17:27:29 +08:00
commit 883060d140
79 changed files with 166110 additions and 0 deletions

43
SLZ_4/ConfigMes.cs Normal file
View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SLZ_4
{
public partial class ConfigMes : Form
{
public MES_PARAM mesParam;
public ConfigMes()
{
InitializeComponent();
mesParam = new MES_PARAM();
}
public void SetConfig(ref MES_PARAM pParam)
{
mesParam = pParam;
uiTextUrl.Text = mesParam.sUrl;
uiTextPort.Text = mesParam.iPort.ToString();
uiCheckMesIn.Checked = mesParam.bCheckIn;
uiCheckMes.Checked = mesParam.bCheckOut;
}
private void uiButtonSet_Click(object sender, EventArgs e)
{
mesParam.sUrl = uiTextUrl.Text;
mesParam.iPort = int.Parse(uiTextPort.Text);
mesParam.bCheckIn = uiCheckMesIn.Checked;
mesParam.bCheckOut = uiCheckMes.Checked;
FormMain.form.UpdateMesConfig(ref mesParam);
MessageBox.Show("设置成功!");
Close();
}
}
}