chenluhua1980
2025-11-19 370f042f439bd16b682b712a920a70794d7878cb
1.添加EE级别的操作员;
已修改3个文件
13 ■■■■ 文件已修改
SourceCode/Bond/Servo/CPageGraph1.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/CUserManager2.cpp 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/ServoDlg.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/CPageGraph1.cpp
@@ -180,7 +180,7 @@
{
    CDialogEx::OnInitDialog();
    InitRxWindows();
    SetTimer(TIMER_ID_DEVICE_STATUS, 3000, nullptr);
    SetTimer(TIMER_ID_DEVICE_STATUS, 800, nullptr);
    SetTimer(TIMER_ID_ROBOT_STATUS, 1000, nullptr); // 每 1000ms 更新一次状态
    // 图示
SourceCode/Bond/Servo/CUserManager2.cpp
@@ -4,6 +4,7 @@
#include <vector>
#include <map>
#include <utility>
#include <algorithm>
#include <sstream>
#include <cwchar>
@@ -146,9 +147,15 @@
        }
    }
    std::sort(roles.begin(), roles.end(), [](const RoleInfo& a, const RoleInfo& b) {
        if (a.level == b.level) {
            return a.name < b.name;
        }
        return a.level > b.level;
    });
    return roles;
}
std::vector<CUserManager2::UserInfo> CUserManager2::getUsers()
{
    std::vector<UserInfo> users;
SourceCode/Bond/Servo/ServoDlg.cpp
@@ -372,7 +372,7 @@
    // model init
    theApp.m_model.init();
    SetTimer(TIMER_ID_LOGIN, 1000, nullptr);
    SetTimer(TIMER_ID_LOGIN, 1500, nullptr);
    // 菜单
    CMenu menu;