From fd1333fbf52e00ff8f0b0d51ec0d707a66cc9141 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 16 六月 2025 11:20:16 +0800
Subject: [PATCH] 1.Robot状态和位置的监控,其中两个arm状态(是否有料),也作为调度的依据。
---
SourceCode/Bond/Servo/CAttributeVector.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/Servo/CAttributeVector.h b/SourceCode/Bond/Servo/CAttributeVector.h
index c3b9b34..f4cb330 100644
--- a/SourceCode/Bond/Servo/CAttributeVector.h
+++ b/SourceCode/Bond/Servo/CAttributeVector.h
@@ -8,11 +8,13 @@
{
public:
CAttributeVector();
- ~CAttributeVector();
+ virtual ~CAttributeVector();
public:
- void addAttribute(CAttribute* pAttribute);
+ void addAttribute(CAttribute* pAttribute, BOOL bReplace = FALSE);
+ void addAttributeVector(CAttributeVector& av);
void clear();
+ void sortWithWeight();
unsigned int size();
bool empty();
CAttribute* getAttribute(unsigned int index);
--
Gitblit v1.9.3