JonYang hace 1 día
padre
commit
7ca110c0b6
Se han modificado 1 ficheros con 13 adiciones y 13 borrados
  1. 13 13
      View/die-bonder-ui/CameraMaterialGroupWnd/Group.h

+ 13 - 13
View/die-bonder-ui/CameraMaterialGroupWnd/Group.h

@@ -77,23 +77,23 @@ protected:
 private:
     Ui::Group *ui;
 
-    int             m_nCurrentGroupId;
-    Wafer *         m_pWafer        =nullptr; // 声明Wafer指针
-    Waffle *        m_pWaffle       = nullptr; // 声明Waffle指针
-    MaterialBox *   m_pMaterialbox  = nullptr; // 声明materialbox指针
-    Bond*           m_pBond         = nullptr;
-    static Group*   m_pCurrentlySelectedGroup; // 当前选中(红色边框)的实例
+    int             m_nCurrentGroupId = 0;
+    Wafer *         m_pWafer                        = nullptr; // 声明Wafer指针
+    Waffle *        m_pWaffle                       = nullptr; // 声明Waffle指针
+    MaterialBox *   m_pMaterialbox                  = nullptr; // 声明materialbox指针
+    Bond*           m_pBond                         = nullptr;
+    static Group*   m_pCurrentlySelectedGroup;      // 当前选中(红色边框)的实例
     static Group*   m_pPreviouslySelectedBlueGroup; // 上一次选中且边框为蓝色的实例
-    static Group*   m_pLastClickedGroup; // 上一次点击的实例
-    static int      m_stnLastClickedIndex; // 上一次点击的索引
-    static int      m_stnLastSavedIndex; // 上次保存的索引
-    int      m_stnCurrentComboBoxIndex;
+    static Group*   m_pLastClickedGroup;            // 上一次点击的实例
+    static int      m_stnLastClickedIndex;          // 上一次点击的索引
+    static int      m_stnLastSavedIndex ;           // 上次保存的索引
+    int             m_stnCurrentComboBoxIndex       = 0;
 
 public:
-    CameraInfo      m_cameaInfo;
+    CameraInfo      m_cameaInfo = {};
 
-    int             m_nGroupId;  // 新增:记录当前 Group 的 ID
-    ns_module::CViewInterface* m_pCViewInterface;
+    int             m_nGroupId = 0;  // 新增:记录当前 Group 的 ID
+    ns_module::CViewInterface* m_pCViewInterface = nullptr;
 };
 
 #endif // GROUP_H