Reset Alarm Panel to Current Alarms on Reopen in History Mode #1370
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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