From b099ab8b7c83dc957bd9777a0bb90c1d8202056b Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期一, 09 二月 2026 13:40:17 +0800
Subject: [PATCH] 1.点一下Port时,连接线重新计算后有重叠。增加防抖功能

---
 SourceCode/Bond/Servo/ServoGraph.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoGraph.h b/SourceCode/Bond/Servo/ServoGraph.h
index 4fcc730..296aae7 100644
--- a/SourceCode/Bond/Servo/ServoGraph.h
+++ b/SourceCode/Bond/Servo/ServoGraph.h
@@ -189,6 +189,7 @@
 	void SetIndicateBoxSlotBarPosition(int id, SlotBarPos pos);
 	void SetIndicateBoxSlotColors(int id, const std::vector<COLORREF>& colors);
 	void SetSlotBarSize(int size);
+	void SetSlotBarSizeByCount(int size8, int sizeOther);
 
 private:
 	void DrawImage(HDC hMemDC, IMAGE& item);
@@ -205,6 +206,8 @@
 	void* m_pHighItem;
 	HWND m_hWndTooltip;
 	int m_slotBarSize;
+	int m_slotBarSize8;
+	int m_slotBarSizeOther;
 };
 
 #endif // !defined(AFX_EQUIPMENTGRAPH_H__FBB8916A_DE77_4EA3_9C21_E51E6B06194C__INCLUDED_)

--
Gitblit v1.9.3