lvfengfree b92e1119ae fix: 修复菜单为空问题 - 移除后端过滤home路由的错误逻辑
- 修复RouteService中错误过滤home路由的问题
- 后端现在正确返回所有用户有权限的路由
- 添加设备管理相关功能(列表、在线监控、电源管理、远程监控)
- 添加详细的修复文档和重启脚本
- 更新权限配置脚本

问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单
解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
2026-03-01 09:50:19 +08:00

94 lines
3.6 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "3.0.0" ),
Description (
"describes the attributes associated with a single logical "
"sensor which can cause to event alerting. The logical model "
"classifies sensors according to type regardless of the "
"physical devices that implement them. Thus, a single physical "
"sensor device can implement logical sensors of different "
"types, such as temperature and voltage sensors." )]
class AMT_PETCapabilities : CIM_Capabilities {
[Description (
"The value in this field is TRUE if this is a legacy "
"sensor described in the ACPI \'ASF!\' table or FALSE if "
"this is an ASF sensor. The value in this field is used "
"in determining how to poll the status of the device on "
"the SMBus.Supported for backwards compatibility." )]
boolean IsLegacySensor;
[Description (
"If this is a legacy sensor, then this field contains the "
"0-based index of the ASF_ALERTDATA structure in the "
"Device Array of the ASF_ALRT structure in the ACPI "
"\'ASF!\' structure. If this is an ASF sensor, then this "
"field contains the value of the Event Status Index "
"required for a Get Event Status cycle on the SMBus. The "
"value in this field is used in determining how to poll "
"the status of the device on the SMBus. Supported for "
"backwards compatibility." )]
uint8 Index;
[Description (
"The SMBus address of the physical sensor device that "
"implements the logical sensor." )]
uint8 DeviceAddress;
[Description (
"True if the assertion event is sent internally to the "
"event handler. The event handler manages policies "
"regarding whether the resulting event is sent in a PET "
"frame and/or logged in the NV event log." )]
boolean AssertionEvent;
[Description (
"True if the de-assertion event is sent internally to the "
"event handler. The event handler manages policies "
"regarding whether the resulting event is sent in a PET "
"frame and/or logged in the NV event log" )]
boolean DeassertionEvent;
[Description (
"The value of the alert\'s Event Sensor Type field (see "
"PET specification for definitions.)" )]
uint8 EventSensorType;
[Description (
"The value of the alert\'s Event Type field (see PET "
"specification for definitions.)" )]
uint8 EventType;
[Description (
"The value of the alert\'s Event Offset field (see PET "
"specification for definitions.)" )]
uint8 EventOffset;
[Description (
"The value of the alert\'s Event Source Type field (see "
"PET specification for definitions.)" )]
uint8 EventSourceType;
[Description (
"The value of the alert\'s Event Severity field. The "
"severity values are based on the \'DMI\' severity values "
"used for the generic sensor event/reading type code." )]
uint8 EventSeverity;
[Description (
"The value of the alert\'s Sensor Number field (see PET "
"specification for definitions.)" )]
uint8 SensorNumber;
[Description (
"The value to be set into the alert\'s Entity field (see "
"PET specification for definitions.)" )]
uint8 Entity;
[Description (
"The value to be set into the alert\'s Entity Instance "
"field (see PET specification for definitions.)" )]
uint8 EntityInstance;
};