改回水含量和合格结果UI

This commit is contained in:
XingCheng3
2026-05-13 01:09:21 +08:00
parent 69b69af17f
commit 134a06a31d
3 changed files with 25 additions and 61 deletions

View File

@@ -169,10 +169,9 @@ namespace MesWork
// 清除油量参数信息
WeighingPage?.UpdateOilInfo(stIdx, 0, 0, 0, 0, 0);
// 清除结果信息
WeighingPage?.UpdateOilResult(stIdx, 0, 0);
WeighingPage?.ClearSaveResult(stIdx);
// 清除结果信息
WeighingPage?.UpdateOilResult(stIdx, 0, 0);
}
catch (Exception err)
{
@@ -351,10 +350,9 @@ namespace MesWork
WeighingPage?.AppendLog($"[{opName}] PLC锁定重量标定原始={rawWeight:F3}kg公式={calibrationFormula},结果={weight:F3}kg");
}
long curveWeighingRecordId = 0;
B_DB_Opera.UpdateStationComplete(engineNo, opName, weight); // 过站记录保存最终采用重量
WeighingPage?.UpdateFinalWeight(WeighingPage?.GetStationIndex(opName) ?? 1, weight);
string weighType = GetWeighingType(opName);
long curveWeighingRecordId = 0;
B_DB_Opera.UpdateStationComplete(engineNo, opName, weight); // 过站记录保存最终采用重量
string weighType = GetWeighingType(opName);
decimal oilReleaseQty = 0;
decimal residualOilQty = 0;
int finalQualityFlag = 1;