提交最新项目改动

This commit is contained in:
XingCheng3
2026-05-12 11:14:28 +08:00
parent 79c0f9cd43
commit 50e849bbef
53 changed files with 1320 additions and 1216 deletions

View File

@@ -740,7 +740,8 @@ namespace MesWork.Pages
var wv = PlcLinkForm.ReadPLC(100220, opName);
if (wv != null)
{
string newTxt = Convert.ToDouble(wv).ToString("F2");
decimal weight = Convert.ToDecimal(wv);
string newTxt = Convert.ToDouble(weight).ToString("F2");
if (lblWeight.Text != newTxt) lblWeight.Text = newTxt;
}
}