修正EventManager对象中的System.HasActiveAlarm数据没有从Alarm列队中获取信息导致始终返回false,导致UI的Alarm按钮不会变色的问题。 优化AppMenu.cs的代码格式。