feat(a32nx): ecam control panel (ecp) #9840
Open
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.
Fixes #[issue_no]
Summary of Changes
Implemented a full simulation of the ECAM control panel with all bus IO and hardwired signals, excluding the ECAM DU brightness pots. I don't think there's any value in adding a layer of indirection for the pots. All of the buttons have input events and proper tooltips.
This is really setup for future PRs (FWC improvements, and EIS display switching).
Removed some cruft from the model behaviours files, and the SD index.tsx.
Known issue: The EMER CANC button cover only works on MSFS2024. There seems to be a bug in MSFS2020 where it can't find the cover node. Our FWC doesn't have emergency cancel functionality yet so it's not such a problem.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
A32NX only.
Test that the ECAM system buttons work correctly.
Test that the CLR and RCL buttons work correctly (you will need to create some warnings).
Test that the T.O CONF button works correctly.
Fail the ECP (in the EFB failures under ATA31), and ensure the CLR/RCL and ALL buttons work (holding all buttons causes the ECAM SD to cycle through all the system pages), and the T.O CONF button does not.
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.