LAPTOP-SNT8I5JK\Boounion
2025-08-27 5b1d01e622d2879b7c7ac5f928b184af185bf880
1.Slot显示Glass时,增加G1G2显示类型,方便调试观察;
已修改1个文件
12 ■■■■■ 文件已修改
SourceCode/Bond/Servo/CEquipmentPage2.cpp 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/CEquipmentPage2.cpp
@@ -180,7 +180,17 @@
            SERVO::CGlass* pGlass = (SERVO::CGlass*)pSlot->getContext();
            if (pGlass != nullptr) {
                m_listCtrl.SetItemText(index, 3, pGlass->getID().c_str());
                CString strText;
                if (pGlass->getType() == SERVO::MaterialsType::G1) {
                    strText.Format(_T("(G1)%s"), pGlass->getID().c_str());
                }
                else if (pGlass->getType() == SERVO::MaterialsType::G2) {
                    strText.Format(_T("(G2)%s"), pGlass->getID().c_str());
                }
                else {
                    strText.Format(_T("(%s"), pGlass->getID().c_str());
                }
                m_listCtrl.SetItemText(index, 3, strText);
                SERVO::CGlass* pBuddy = pGlass->getBuddy();
                if (pBuddy != nullptr) {
                    m_listCtrl.SetItemText(index, 4, pBuddy->getID().c_str());