- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
[Version ( "8.0.0" ),
|
|
Description (
|
|
"The IPS_HostBootReason class returns the details of the last host boot." )]
|
|
class IPS_HostBootReason : CIM_ManagedElement {
|
|
|
|
[Key, Override ( "InstanceID" )]
|
|
string InstanceID;
|
|
|
|
[Required, Description (
|
|
"The reason for the last host boot."
|
|
"'Other' stands for a boot that did not originate in AMT, e.g. OS-initiated reset."
|
|
"'Remote Control' stands for a boot that originated in AMT remote control operation."
|
|
"'Alarm' stands for a boot that originated in an Alarm Clock operation."),
|
|
ValueMap { "0", "1", "2", "3", ".." },
|
|
Values { "Unknown", "Other", "Remote Control", "Alarm", "Reserved" }]
|
|
uint32 Reason;
|
|
|
|
[Description(
|
|
"Details of the last host boot reason."
|
|
"If reason is 'Remote Control', this field will contain a string representing the remote control operation performed (\"Reset\", "
|
|
" \"Power Up\" or \"Power Cycle\"). "
|
|
"If reason is 'Alarm', this field will contain the ElementName of the IPS_AlarmClockOccurence instance that invoked the alarm.")]
|
|
string ReasonDetails;
|
|
|
|
[Required, Description(
|
|
"The host S-state prior to the last boot."),
|
|
ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", ".."},
|
|
Values {"Unknown", "Other", "S0", "S1", "S2", "S3", "S4", "S5", "Reserved"}]
|
|
uint32 PreviousSxState;
|
|
};
|