ApplicationController.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
DEN-9655: Implementation - Settings [MVC]

DEN-9657: Implementation - Event Driven Reading

DEN-9658: Implementation - Treatment Log

  1. … 18 more files in changeset.
DEN-9659: Implementation [POST]

- Created a separate file for the Bluetooth screen since it became bigger.

- Moved the WiFi and Bluetooth start in the Application controller and handled by POST events.

- Added a 5 second sleep for the Bluetooth Device to get ready in run.sh

- Added WiFi POST in run.sh

- Moved lambda functions for POST into slots.

- Added signals in the ApplicationPOST for passed items to be used in the ApplciationController to start WiFi and Bluetooth interfaces.

- Added isValid to the BluetoothInterface to make sure the Bluetooth Adapter is ready for the Interface to setup (Is set by ApplicationController with the information Provided by ApplicationPOST).

- Improved the Bluetooth interface implementation

- Added Rinseback safety volume parameter

- Modified the SAFE_CALL's methods to be public slots.

- Removed the SerialNumber listener from VBluetooth.

- Improved the VBluetooth code and added the connection to the BluetoothController.

  1. … 20 more files in changeset.
DEN-9418: Code Review 0

- Cherry picked the code review updated from post branch

- Function comments.

- Removed unused BLE alarm from alarm generator.

  1. … 6 more files in changeset.
DEN-9418: Code Review 0

  1. … 6 more files in changeset.
DEN-9649: Implementation - Yocto configuration

- Addressed some frequent code review comments

- Fixed the UI POST AlarmTriggered message

- Added the deleteLater for the QQuickViewer pointer _viewer.

  1. … 114 more files in changeset.
DEN-9416: Implementations

- Added a newly added parameter of the BloodPrime (Safety Vol).

- UI POST is done.

- Out of 10 tests

1 - CANBus

2 - Touch Screen

3 - SD-Card

4 - RTC

tests are done.

- The

5 - File System integrity

will be done as part of CyberSecurity.

- The

6 - Bluetooth

will be added when the feature itself added to the application.

- The

7 - WiFi

is in progress and having issue correctly detect it.

- Some tests are listed to be added later in case required, like

8 - Display

9 - Ethernet

10- Sound

test couldn't find a way to test it yet.

- On each unsuccessful test an alarm will be triggered.

- UI alarms are in range of [250 - 259]

  1. … 18 more files in changeset.
DEN-9416: Implementation

- Implementing the foundation of Application POST

- Added ID_AlarmTriggered message on post error.

- Added AdjustUIPostFinalResultRequestData in correct place.

- Created the treading structure for the post to start.

  1. … 15 more files in changeset.
DEN-8523: Bluetooth cuff

- Although there is not specific Bluetooth setting appear here but the entire idea here is to prepare the application to have a better platform for device handling like Bluetooth and the other ones.

  1. … 21 more files in changeset.
DEN-8533 & DEN-8693

Merge and support

  1. … 44 more files in changeset.
DEN-8490: Meetings & Support - General Support

- Support : Instruction for the Usability test support

- Support : SW team support and adding the second DGOpMode parameter (SubMode) fro logging.

- Support : SW team support, changed the Alarm Status log to be data from event.

- Added another parameter for treatment log - alarm

- Removed the initialization logging from the event logs which are all CANBus messages, in to the debug log .

- Added a header for the event log to be easier export in the excel sheet (the header doesn't have timestamp)

-

  1. … 51 more files in changeset.
DEN-8316: TxLog: Implementation [Simulator/Testing]

  1. … 53 more files in changeset.
DEN-7931 UI Logging: Rotation and deletion do not trigger on disk usage.

- Fixed and gave to the V&V team, Michael, to test.

- First round of test was successful.

  1. … 13 more files in changeset.
DEN-7832: Implementations [Saline and Heparin change request]

- Also removed the UF state from response.

  1. … 20 more files in changeset.
DEN-7147: Fixed a bug on Sub-StepIndicator on bottom of the instructions

- Which was causing that to not to show correct number of the steps and titles.

- removed #include "MModel.h" in all the possible cases and include the specific model since the MModel has too much include.

- Showing the Heparin setup in the CART_INSTALL state only if we have a heparin volume setup.

- created a common template function name enumString in Gui namespace to get the enum name as string.

  1. … 72 more files in changeset.
DEN-7377: preTx: Implementation [Dynamic Instruction Loading] ( 2 )

DEN-7457: Meetings & Support - General purpose

  1. … 51 more files in changeset.
Merge DEN-7041_UI_build_fix into staging

  1. … 3 more files in changeset.
DEN-7041: Fixed issues preventing tst_models from running; Fixed code coverage issues.

  1. … 7 more files in changeset.
DEN-6619: Implementation

- Added a signal named didSDCardSpaceTooLow in the DriveWatcher which will be triggered when the free storage space available on the SD-CARD is less than 10%. (No action on UI happens currently)

- Added a flag in DriveWatcher to stop emitting the Logger while it is cleaning the Logs [[ IMPORTANT : is is handled by signal/slots for thread synchronization and safety ]].

- Added a function to find the total size of the file in a path.

- Added find function to find files with a list of filter in a path.

- Added an overloaded version of find to help find the files in a path which are exceeding the storage limit from the oldest files.

- Added error check in the read overloaded which works with Json.

- Re-implemented the FileHandler::removeLogs to clean up the logs by % instead of date.

- Removed unused global log paths from StorageGlobal.

-

  1. … 15 more files in changeset.
DEN-4598, DEN-4609, DEN-4607: Updated unit tests, removed unused Storage namespace from ApplicationController.cpp, removed saveNewTreatment function from ApplicationController.h

  1. … 4 more files in changeset.
Removed extra empty lines

  1. … 37 more files in changeset.
Merge branch 'master' into DEN-4691_InLineBloodPressureAdjustments

  1. … 13 more files in changeset.
Bamboo Commit: Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 49 more files in changeset.
Merge master into DEN-3605_Create_Treatment

  1. … 26 more files in changeset.