From 072a953dd0bbec385cdf809f4403c1e975f13c37 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期三, 11 二月 2026 21:31:01 +0800
Subject: [PATCH] 1.客户说我们Status变量和Data变量搞反了。就是那个SxFx需要换过来,先标记下来,如确实需要修改再处理。
---
SourceCode/Bond/Servo/Model.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h
index 51a5427..78d7af5 100644
--- a/SourceCode/Bond/Servo/Model.h
+++ b/SourceCode/Bond/Servo/Model.h
@@ -3,7 +3,9 @@
#include "HsmsPassive.h"
#include "CMaster.h"
#include "CGlassPool.h"
+#include "ProcessJob.h"
#include <cstdint>
+#include <map>
#include <string>
enum class ControlState : uint8_t {
@@ -46,6 +48,7 @@
private:
void refreshDerivedSVs();
void notifyControlJobChanged();
+ void emitPjStateEvents();
public:
int notify(int code);
@@ -75,4 +78,5 @@
private:
ControlState m_currentControlState{ ControlState::OfflineEquipment };
+ std::map<std::string, SERVO::PJState> m_prevPjStates;
};
--
Gitblit v1.9.3