From 8d55ed4a167d9b09d65e4a26ece287c6e37a9c84 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 12 九月 2025 10:58:58 +0800
Subject: [PATCH] 1. 修复SG精度检编辑框修改覆盖问题(界面频繁刷新导致)

---
 SourceCode/Bond/Servo/CBonder.cpp |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/CBonder.cpp b/SourceCode/Bond/Servo/CBonder.cpp
index 38d1d36..797dada 100644
--- a/SourceCode/Bond/Servo/CBonder.cpp
+++ b/SourceCode/Bond/Servo/CBonder.cpp
@@ -692,7 +692,7 @@
 
 		// 3.上腔压力合计
 		v = (pszData[i] & 0xff) | (pszData[i + 1] & 0xff) << 8;
-		params.push_back(CParam("上腔压力合计", "", this->getName().c_str(), v * 0.01f));
+		params.push_back(CParam("上腔压力合计", "", this->getName().c_str(), ((short)v) * 0.01f));
 		i += 2;
 
 		// 4.管道真空规值
@@ -763,7 +763,12 @@
 		params.push_back(CParam("下腔温度6", "", this->getName().c_str(), v * 0.1f));
 		i += 2;
 
-		// 18.压合剩余时间
+		// 18.加热剩余时间
+		v = (pszData[i] & 0xff) | (pszData[i + 1] & 0xff) << 8;
+		params.push_back(CParam("加热剩余时间", "", this->getName().c_str(), v * 0.01f));
+		i += 2;
+
+		// 19.压合剩余时间
 		v = (pszData[i] & 0xff) | (pszData[i + 1] & 0xff) << 8;
 		params.push_back(CParam("压合剩余时间", "", this->getName().c_str(), v * 0.01f));
 		i += 2;

--
Gitblit v1.9.3