- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
//----------------------------------------------------------------------------
|
|
//
|
|
// Copyright © 2009-2010, Intel Corporation. All rights reserved.
|
|
//
|
|
// File: IConnectRemoteSystem.cs
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Intel.Manageability;
|
|
|
|
namespace UCT
|
|
{
|
|
interface IConnectRemoteSystem
|
|
{
|
|
/// <summary>
|
|
/// Initialize the client parameters
|
|
/// </summary>
|
|
/// <returns>whether the connection completed successfuly</returns>
|
|
void InitiateWSManClient();
|
|
|
|
/// <summary>
|
|
/// Check if the user running the tool has the required realms.
|
|
/// Required realms are: 1) Admin
|
|
/// 2) Remote Control + SolIder + GeneralInfo
|
|
/// </summary>
|
|
/// <returns>true - if the user has enought priveleges, false - has no essential privileges</returns>
|
|
bool CheckUserPriveleges();
|
|
|
|
/// <summary>
|
|
/// Check if the remote system support user consent
|
|
/// </summary>
|
|
/// <returns>true - the remote system support HBP, false - the remote system doesn't support HBP (or HBP is disable)</returns>
|
|
bool CheckHostBaseSupported();
|
|
|
|
/// <summary>
|
|
/// Return the connection interrface (Wired \ Wireless)
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
void GetConnectionInterface();
|
|
|
|
/// <summary>
|
|
/// Scan the given AMT system (call the methods avbove)
|
|
/// </summary>
|
|
/// <param name="connection">Connection information</param>
|
|
/// <returns>whether the connection succeed or not</returns>
|
|
ConnectionStatus ScanAMTSystem();
|
|
}
|
|
}
|