Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Alarm Panel to Current Alarms on Reopen in History Mode #1370

Conversation

mauroalexandre
Copy link
Contributor

@mauroalexandre mauroalexandre commented Sep 9, 2024

Description

This pull request introduces a feature that automatically resets the alarm panel to display current alarms when it is reopened, provided it was closed while in history mode. This change aims to prevent the common issue where operators unintentionally view outdated historical alarms instead of the current situation, which is critical for accurate and timely decision-making in operational environments.

Motivation and Context

Operators can easily become confused if the alarm panel continues to display historical alarms when accessed during critical operations. This feature ensures that operators always have the most relevant and current data immediately upon opening the alarm panel, thereby improving response effectiveness and safety.

Implementation Details

  • The state of the alarm panel is checked upon closure.
  • If the panel is in history mode, the state is flagged.
  • Upon reopening, the panel checks for this flag and, if set, automatically switches to display current alarms.

@unocelli
Copy link
Member

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants