From 2a7efcf2a4bac5e7f9813975c87683ea09fb984e Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期六, 24 一月 2026 10:47:39 +0800
Subject: [PATCH] 1.修复曲线数据未触发问题;
---
SourceCode/Bond/Servo/CServoUtilsTool.cpp | 69 ++++++++++++++++++----------------
1 files changed, 37 insertions(+), 32 deletions(-)
diff --git a/SourceCode/Bond/Servo/CServoUtilsTool.cpp b/SourceCode/Bond/Servo/CServoUtilsTool.cpp
index c9d06f6..94bb8f7 100644
--- a/SourceCode/Bond/Servo/CServoUtilsTool.cpp
+++ b/SourceCode/Bond/Servo/CServoUtilsTool.cpp
@@ -1,32 +1,37 @@
-#include "stdafx.h"
+锘�#include "stdafx.h"
#include "CServoUtilsTool.h"
#include "Common.h"
namespace SERVO {
static std::unordered_map<int, std::vector<std::string>> EQ_DATA_TYPES = {
- {EQ_ID_Bonder1, {
- "气囊压力", "上腔压力", "管道真空规值", "腔体真空规值",
- "上腔温度1", "上腔温度2", "上腔温度3", "上腔温度4",
- "上腔温度5", "上腔温度6", "下腔温度1", "下腔温度2",
- "下腔温度3", "下腔温度4", "下腔温度5", "下腔温度6"
+ {MID_Bonder1, {
+ "姘斿泭鍘嬪姏", "涓婅厰鍘嬪姏", "绠¢亾鐪熺┖瑙勫��", "鑵斾綋鐪熺┖瑙勫��",
+ "涓婅厰娓╁害1", "涓婅厰娓╁害2", "涓婅厰娓╁害3", "涓婅厰娓╁害4",
+ "涓婅厰娓╁害5", "涓婅厰娓╁害6", "涓嬭厰娓╁害1", "涓嬭厰娓╁害2",
+ "涓嬭厰娓╁害3", "涓嬭厰娓╁害4", "涓嬭厰娓╁害5", "涓嬭厰娓╁害6"
}},
- {EQ_ID_Bonder2, {
- "气囊压力", "上腔压力", "管道真空规值", "腔体真空规值",
- "上腔温度1", "上腔温度2", "上腔温度3", "上腔温度4",
- "上腔温度5", "上腔温度6", "下腔温度1", "下腔温度2",
- "下腔温度3", "下腔温度4", "下腔温度5", "下腔温度6"
+ {MID_Bonder2, {
+ "姘斿泭鍘嬪姏", "涓婅厰鍘嬪姏", "绠¢亾鐪熺┖瑙勫��", "鑵斾綋鐪熺┖瑙勫��",
+ "涓婅厰娓╁害1", "涓婅厰娓╁害2", "涓婅厰娓╁害3", "涓婅厰娓╁害4",
+ "涓婅厰娓╁害5", "涓婅厰娓╁害6", "涓嬭厰娓╁害1", "涓嬭厰娓╁害2",
+ "涓嬭厰娓╁害3", "涓嬭厰娓╁害4", "涓嬭厰娓╁害5", "涓嬭厰娓╁害6"
}},
- {EQ_ID_VACUUMBAKE, {
- "A腔真空规值", "A腔温控1", "A腔温控2", "A腔温控4",
- "A腔温控5", "A腔温控6", "A腔温控7", "B腔真空规值",
- "B腔温控1", "B腔温控2", "B腔温控4", "B腔温控5",
- "B腔温控6", "B腔温控7"
+ {MID_VacuumBakeA, {
+ "鐪熺┖瑙勫��", "娓╂帶1", "娓╂帶2", "娓╂帶4",
+ "娓╂帶5", "娓╂帶6", "娓╂帶7"
}},
- {EQ_ID_BAKE_COOLING, {
- "A烘烤温控1", "A烘烤温控2", "A烘烤温控4", "A烘烤温控5",
- "A烘烤温控6", "A烘烤温控7", "B烘烤温控1", "B烘烤温控2",
- "B烘烤温控4", "B烘烤温控5", "B烘烤温控6", "B烘烤温控7"
+ {MID_VacuumBakeB, {
+ "鐪熺┖瑙勫��", "娓╂帶1", "娓╂帶2", "娓╂帶4",
+ "娓╂帶5", "娓╂帶6", "娓╂帶7"
+ }},
+ {MID_BakeCoolingA, {
+ "鐑樼儰娓╂帶1", "鐑樼儰娓╂帶2", "鐑樼儰娓╂帶4", "鐑樼儰娓╂帶5",
+ "鐑樼儰娓╂帶6", "鐑樼儰娓╂帶7"
+ }},
+ {MID_BakeCoolingB, {
+ "鐑樼儰娓╂帶1", "鐑樼儰娓╂帶2", "鐑樼儰娓╂帶4", "鐑樼儰娓╂帶5",
+ "鐑樼儰娓╂帶6", "鐑樼儰娓╂帶7"
}}
};
@@ -98,8 +103,8 @@
}
if (eqid == EQ_ID_VACUUMBAKE) {
- if (unit == 0) return "烘烤A腔";
- if (unit == 1) return "烘烤B腔";
+ if (unit == 0) return "鐑樼儰A鑵�";
+ if (unit == 1) return "鐑樼儰B鑵�";
}
if (eqid == EQ_ID_Bonder1) {
@@ -112,10 +117,10 @@
if (eqid == EQ_ID_BAKE_COOLING) {
- if (unit == 0) return "后烘烤A腔";
- if (unit == 1) return "冷却A";
- if (unit == 2) return "后烘烤B腔";
- if (unit == 3) return "冷却B";
+ if (unit == 0) return "鍚庣儤鐑鑵�";
+ if (unit == 1) return "鍐峰嵈A";
+ if (unit == 2) return "鍚庣儤鐑鑵�";
+ if (unit == 3) return "鍐峰嵈B";
}
if (eqid == EQ_ID_MEASUREMENT) {
@@ -156,11 +161,11 @@
if (eqid == EQ_ID_VACUUMBAKE) {
if (unit == 0) {
- sprintf_s(szBuffer, 256, "烘烤A腔(Slot%d)", slot);
+ sprintf_s(szBuffer, 256, "鐑樼儰A鑵�(Slot%d)", slot);
return std::string(szBuffer);
}
if (unit == 1) {
- sprintf_s(szBuffer, 256, "烘烤B腔(Slot%d)", slot);
+ sprintf_s(szBuffer, 256, "鐑樼儰B鑵�(Slot%d)", slot);
return std::string(szBuffer);
}
}
@@ -177,10 +182,10 @@
if (eqid == EQ_ID_BAKE_COOLING) {
- if (slot == 0) return "后烘烤A腔";
- if (slot == 1) return "冷却A";
- if (slot == 2) return "后烘烤B腔";
- if (slot == 3) return "冷却B";
+ if (slot == 0) return "鍚庣儤鐑鑵�";
+ if (slot == 1) return "鍐峰嵈A";
+ if (slot == 2) return "鍚庣儤鐑鑵�";
+ if (slot == 3) return "鍐峰嵈B";
}
if (eqid == EQ_ID_MEASUREMENT) {
--
Gitblit v1.9.3