Clone
Behrouz NematiPour
committed
on 11 Aug 22
DEN-13645 IMP: DEN-12958: UI shall generate the POST fail alarm if the SD-Card not present and stop logging
__________
- Log Export
- … Show more
DEN-13645 IMP: DEN-12958: UI shall generate the POST fail alarm if the SD-Card not present and stop logging

__________

- Log Export

    - Added the Alarm generation on the GuiController if SD-Card is not ready, or is/becomes read-only.

          - AlarmGenerator

                    - Added the SD-Card failure alarm - ALARM_ID_UI_POST_FAILURE_SDCARD

                    - Added alarm clear - ALARM_ID_NO_ALARM

    - Added a flag to stop logging if the SD-Card is not ready or is readonly.

    - Removed pause on log clean up.

    - Improved the DeviceController SD-Card, USB status detection.

    - Fixed and improved the MVC connection betweein device/Application/Gui controllers.

    - A CLI switch ( -S ) added to disable the feature that is disabling the log if the SD-Card doesn't exist. So if the -S switch is used while calling the denali application, the logging will NOT be disabled, if SD-Card fails.

    - In the ExportButton and USBButton(eject) removed the enable logic and has to be done outside of the component. It has been done for the Settings/export and Post-Tx/Review.

    - Added title and file count for each SD-Card and USB-Drive panels.

__________

- Run.sh

    - Added a check for the CloudSync and if the folder doesn't exist it won't do the rest

    - Kill the denali application, in case it is still running.

    - Added SD-Card type as part of its detection and if it is not ext4 format it fails the test.

    - Optimized the mount point detection.

__________

- NoCANBus

    - added the NoCANBus to the fault and init modes to not to navigate to those if NoCANBus is true. Otherwise it conflict with navigate to the home.

    - Added a log in case the NoCANBus is enabled.

__________

- Settings

    - Converted the '\n' in the settings values to actual newline character.

__________

- Thread:

    - Moved the QuiController in its own thread, _Gui_Thread.

__________

- Alarms

    - Added an emit to update  the Alarm Dialog with the latest title/message, received from Alarms.conf In case there was an alarm before even Alarm.conf is read. Show less

@Environement_Swith + 191 more