ApplicationController.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 608 more files in changeset.
Cherry Pick [DEN-13053-S82-JI : a09496, 417f94, 76d3e8 ]

- Added request for versions when UI POST is done if POST was successful

  1. … 1 more file in changeset.
Spelling correction

Added request for versions when UI POST is done if POST was successful

  1. … 1 more file in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 46 more files in changeset.
Merge branch 'DEN-13966-UI-BN-S81' into staging

Merge branch 'DEN-13966-UI-BN-S81' into develop

  1. … 1 more file in changeset.
DEN-13966 Improvement: Export individual log files

- Used the stashed file copy by by chunk algorithm which I wrote before for exporting the log files.

- It will help later to have more control over copying files.

- Added all the signal/slots for Logger, ApplicationController, GuiController, GuiView and the QML side.

- Implemented the Export Selection Map on the C++ side to be used for individual log file selection (insert, delete, select, remove/Clear).

- Added percent update for the current exporting file. (not implemented on UI, due to some issues)

  1. … 18 more files in changeset.
DEN-13966: Improvement: Export individual log files

DEN-14044: IMP:

- Adding the type GuiStringIndexMap=QMap<quint32, QString> to the signal/slot system.

  1. … 10 more files in changeset.
UI-DEN-13965: UI-DEN-13965-3

- Handling the case a new alarm is received, while a confirm is requested, UI should send a cancel to HD and close the dialog and have user to re-issue the confirm if needed.

  1. … 6 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 95 more files in changeset.
Merge branch 'DEN-13198-UI_BN_75' into staging

  1. … 45 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 100 more files in changeset.
DEN-13743: IMP: Device Registration - CloudSync POST test - Device Serial/Version req/rsp

- Added the disable functionality ( main.h SINGLETON_... macros ) for the Singleton classes, which are basically controllers, to stop their thread event loop, so they literally stop working.

- Connected the disable functionality of the controllers like, CloudSync, Bluetooth (Maybe later Logger), to the POST result.

- Improved the ./run.sh script and same on the ApplicationPOST class.

- Set the minimum of the HD/DG serial length to 1 byte, since it is not exactly at 15 or 20 char length.

- Removed the "CS" from the UI log of sending out the messages to CS, which the source is UI, not the CS and this is confusing.

- Removed the "Settings/DG Cleaning" scheduling section.

- Changed the POST version/serial request from UI to all to be identified in the log from "Versionreq" to "POSTInfReq".

- Added a new UI POST Alarm in AlarmDefs.h, ALARM_ID_UI_POST_FAILURE_CLOUDSYNC = 295, ///< UI POST CloudSync failure

- Fixed a potential bug on SD-Card not ready service logging.

  1. … 16 more files in changeset.
DEN-13645: IMP: DEN9297: Disinfection implementation [ Disinfection Messages ] [0x7F,0x80]

- Cleaned up / refactor the messages [ 127 (0x7F), 128 (0x80) ]

  1. … 16 more files in changeset.
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.

  1. … 27 more files in changeset.
DEN-13645: IMP: General Implementation

DEN-12836: Treatment Report/log export modifications

  1. … 11 more files in changeset.
DEN-12836: Treatment Report/log export modifications

- DEN-12944: KBM: Usual Meetings/Support/Development

- Modified the setup.sh script to work on PDT (Pacific timezone)

- Added timezone display on the screen by adding it to the VDateTime

- Removed unnecessary FileHandler header include.

- Modified the Treatment Review Export button to export the current TxReport only.

- Added the Safe Eject button for the Post-Treatment TxReport Export.

- Moved Log Folder definitions to the StorageGlobal.

- Fixed the greeting issue [https://github.com/Diality/testsuites/issues/57]

- DEN-11826: Bluetooth BloodPressure Cuff Interval - Observation

- It has completely redesigned

- DEN-9706: Blood Pressure measurement entry window closes automatically

- Auto Hide is disabled

  1. … 26 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 159 more files in changeset.
DEN-12597 Code Review

http://dvm-linux02:8060/cru/UI-DEN-12258-1#c12773

Disabled the coco end as well, which caused the coco to log a lot of warnings.

  1. … 80 more files in changeset.
DEN-12512: INT: Support/Meetings/Planning

DEN-09712 Date format between system date/time and BP/HP "Last Read" is not consistent

DEN-09929 Treatment Log shows "?C" instead of "°C"

PRS-35: Regarding Sean's point about the create treatment parameters, made the parameters dynamic by the Configurations/DataList.cfg in ui.config repository.

  1. … 14 more files in changeset.
DEN-12424: INT

- Adding the new 3 params of the alarm trigger

- Adding Rejection

- prepare for the singletons quit which are not in order, the quit should be done manually to be in order.

  1. … 20 more files in changeset.
DEN-12426: LTS: Bug / CR / Develop Coco / Manual

- removed the "// coco begin validated" to disable the manually validated coverage.

  1. … 81 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 584 more files in changeset.
DEN-10247: FW: UI Acknow timeout

- Moved the Check-In logic into the MessageAcknowModel and emit the check-in signal directly to the MessageDispatcher, and removed from MainTimer.

- Removed the POST start from main.cpp and moved in the Main.qml to notify the ApplicaionController onGUIReady to start the POST and Check-In.

  1. … 7 more files in changeset.
Delayed Checkin

- The delayed check-in idea, tested.

- The idea is that the UI is not ready when sending the check-in so delay the check-in to the point that GUI is loaded and can notify that it's ready and check-in and post can start.

- :: It didn't work.

- Some other timestamps were added to the code to get the time between the time message was sent. and UI receiving it, which is the 1.200 s between when the HD sends UI Version Req and when UI actually receives it, which is the root cause of the issue.

  1. … 14 more files in changeset.
Part 2/2: make the Alarm Triggered messages modification

- Created a class named MAbstractDynamic which is the base class of the dynamic model classes.

+ Dynamic Model classes are the ones with field descriptor (FD) and a data field (DF) after that which the data type in the data field is defined by field descriptor.

+ This combination for now is only for 2 set of FD, DF only.

- Made the Alarm Triggered inherit from MAbstractDynamic.

  1. … 7 more files in changeset.
Part 1/2: make the unhandled messages dynamic

- The messages/unhandled.conf has been created in the settings area and will be loaded and used for the unhandled messages in the message interpreter.

  1. … 10 more files in changeset.
DEN-9639: Code Review 0

- Addressed code reviews

- Reoved LOG_DEBUG_UI since the DEBUG log is all about UI and adding a UI to it was useless.

- Removed the time stamp from the POST start/stop log since the log itself has timestamp.

- Added more documentation to the ApplicationPOST class.

- Renamed the FileSystem to ShaSum check in the ApplicationPOST.

- Updated the WiFi POST check funciton.

- Updated the initial Screen to pause the animation when the UI navigates out of that screen when we are in test (usual case should not happen since we fail or pass the POST and either stops the animation.)

- Updated the AlarmMapping to reflect the FILESYSTEM error change to SHASUM error.

  1. … 19 more files in changeset.
Code Review Comments

- QApplication typo

- Added a UI version of the Log Macros.

  1. … 13 more files in changeset.