- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
|
|
namespace Intel.Management.Wsman
|
|
{
|
|
|
|
/// <summary>
|
|
/// Supports a simple iteration over a collection of items returned from a WsMan service
|
|
/// </summary>
|
|
/// <remarks>See IWsmanItem</remarks>
|
|
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
|
|
[Guid("5505BAA7-2BFA-45ab-9D08-CE8C687BB700")]
|
|
[ComVisible(true)]
|
|
public interface IWsmanEnumeration : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets the Connection Object being used to retrieve the items from the service
|
|
/// </summary>
|
|
IWsmanConnection Connection { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether there are more items in the collection
|
|
/// </summary>
|
|
bool HasNext { get;}
|
|
|
|
/// <summary>
|
|
/// Gets the next Item in the collection
|
|
/// </summary>
|
|
/// <returns>An IWsmanItem representing the next item in the collection</returns>
|
|
IWsmanItem Next();
|
|
|
|
/// <summary>
|
|
/// Closes an incomplete enumeration
|
|
/// </summary>
|
|
/// <remarks></remarks>
|
|
void Close();
|
|
|
|
/// <summary>
|
|
/// Returns an enumerator that iterates through a collection
|
|
/// </summary>
|
|
/// <returns>An IEnumerator object that can be used to iterate through the collection</returns>
|
|
[DispId(-4)]
|
|
IEnumerator GetEnumerator();
|
|
|
|
}
|
|
}
|