main.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updates to support unit testing

  1. … 10 more files in changeset.
DEN-3149 : Treatment Ultrafiltration Adjustment

- The second Code Review by myself

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 13 more files in changeset.
DEN-3149 : Treatment Ultrafiltration Adjustment

- Added :

. Treatment Adjustment Ultrafiltration Response Model (mtreatmentadjustultrafiltrationresponse)

. Treatment Adjustment Ultrafiltration Response View (vtreatmentadjustmentultrafiltration)

. Treatment Ultrafiltration State Change Request Model (mtreatmentultrafiltrationstate)

. Treatment Ultrafiltration State Change Request View (vtreatmentultrafiltrationstate)

- Added Ultrafiltration Pause / Resume Messaging

- Modified NotificationBar to be able to use it in the Ultrafiltration Section when Ultrafiltration is paused.

- Modified TouchArea to make the TreatmentStart Screen clean. (Removed the Component List logic and layered out the components manually since each section is different and can't apply one rule for all)

- Updated the Ultrafiltration navigation stack regarding the MVC/Messaging responses.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 44 more files in changeset.
DEN-3149 : Treatment Ultrafiltration Adjustment

- Separeted VTreatmentAdjustmentsResponse into 3 classes and used this class as parent of the two others and this class keeps the Accepted Boolean and the rejection reason.

- The other two keep the actual logic of the Adjustment values/properties.

- Moved the View includes from VView.h into the guiglobals.cpp since when including the vview.h the definition guard didn't let the inheritance work.

- Removed the VTreatmentAdjustmentsResponce from the list of the registered views into QML.

- made the TRIGGER_SLOT and PROPERTY_SLOT as protected so the children can use them.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 15 more files in changeset.
DEN-3164 : Code Review 0

- Corrected the copyright comment Doxygen tags.

- Corrected the copyright template Doxygen tags.

- Added check for fall through in switch statements to project.

- Added method comments in tst_messaging, unit test class.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 83 more files in changeset.
DEN-3024_TreatmentDurationAdjustment

- Adding unit tests and coverage

- Modified the PROPERTY #define and separated from TRIGGERs

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 8 more files in changeset.
DEN-3024_TreatmentDurationAdjustment

- Adding comment for command line arguments

- Updating Slider handler position in real-time when minimum/maximum changes

- Added another type of properties as a trigger to always trig the UI even the value is the same as before. And also removed the false/true of the end of each PROPERTY #define from all the view classes and updated the GUI's QML codes accordingly.

- Removed the Heparin cumulative Delivery.

-

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 19 more files in changeset.
DEN-2087 : UI Blood/Dialysate Flow Rate Adjustment

- Fixed the Blood/Dialysate Adjustment bug on Adjustment dialog

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 10 more files in changeset.
DEN-2087 : UI Blood/Dialysate Flow Rate Adjustment

- Added Denali Message 23 : Blood/dialysate rate Change

23, 0x100, 9, Req, Y, UI, HD, Blood/dialysate rate Change, (U32) Blood rate, (U32) Dialysate rate

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 12 more files in changeset.
DEN-2087 : UI Blood/Dialysate Flow Rate Adjustment

- Modified mL => mL/min for Blood/Dialysate Flow Unit

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 6 more files in changeset.
Unit Tests and Debugging and scripts to update devices easier

- During the test figured out that since we have two kind of messages :

1 - data messages which will notify GUI only on variable change

2 - but also we have command messages which has to always notify the GUI

So added a parameter in PROPERTY definition to define the type of property.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 9 more files in changeset.
DEN-2088 : Implementation

- Redesigned the model.cpp/h file

- Made View registration in one place and easier.

- Added views definition in main.qml (not all of them belong here and should be revised when debug screen (SettingHome) removed.)

- Added PowerOff Model

- Added PowerOff View

- Modified MessageInterpreter to apply the new PowerOff MV

- Added TreatmentFlows Model

- Added TreatmentOutletFlow Model

- Added TreatmentTime Model

- Improved TreatmentTime View

- Improved Types

- Added AlarmStatus Model

- Improved AlarmStatus View to be modified easier

- Improved TreatmentUltrafiltration View

- Added vview.h to be able to maintain view classes easier.

- Separated BloodFlow and DialysateFlow

- Updated Debug Screen (SettingHome) with the new views of the BloodFlow and DialysateFlow Views

- Updated TreatmentFlows section with the new views of the BloodFlow and DialysateFlow

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 44 more files in changeset.
Another CAN Messaging format for testing

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 5 more files in changeset.
DEN-2088 Implementation

- Added OutletFlow

- Added TreatmentTime

- Added AlarmStatus

- Made adding model view simpler

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 30 more files in changeset.
DEN-2088 : Implementation (3 of 4)

- Bloodflow , DialysateFlow models implemented and proper changes has been made

- Alerts, Dialysate out needs to be modified

- Pressure / Occlusion Data needs to be implemented.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 19 more files in changeset.
DEN-2091 : CAN / Denali Communication Protocol [Modify Design]

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 17 more files in changeset.
DEN-2089 : Test Current Design

- Added another test message which has the frame index in it. And the format is the way Firmware does to be easier to compare.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 4 more files in changeset.
DEN-2089 : Test Current Design

- Added a test code so reads the interval and data which needs to be sent from test.dat file next to the application denali and sends keepAlive message (0700) by that interval ans with that data.

- First line is interval in ms and second line is the data to be sent.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 8 more files in changeset.
Merge branch 'master' into DEN-1396_LogHandler

  1. … 36 more files in changeset.
DEN-1437 : Implementation

- Changed 2019-2019 in copyright to 2019-2020.

  1. … 59 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added threading to other classes (Application / Gui controller, ...) and restructured the threading to meed the Qt limitation.

- Documented the code

- Ran cppCheck again

- Cleaned the includes and using namespace (They have left after so many changes and some were useless.)

- Added _init flag for init methods so not to be able to call them twice.

- Added another init method with the thread parameter to be able to pass the thread of the class and also be able to use the class without any thread for unit tests.

- Created a Threads namespace to gather all the threads in one place.

- Update the unit tests as well. [to make it work with the new structure/threading.]

  1. … 35 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added Threading for :

. Can Frame

. Can Message

. USB Watcher

- Changed the File Handler implementation

- Changed the Singleton from pointer to static reference

// TODO :

- We still need to work on threading on other classes

- We need to have a singleton parent class

- Some code has been added to debug can interface (We still have swap frames)

- Thread Objects need to be gathered all together in one place to be handled easily.

  1. … 21 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added Threading structure for USBWatcher and FileHandler

  1. … 11 more files in changeset.
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-1396 : UI Log Handler

MISC :

- Updated the Singleton defines to delete the instance.

- Added/moved the floatCompare in the types.cpp and created the file to do so.

LOGGING :

- Implemented logging

- Added LOG_EVENT / LOG_DATUM / LOG_ERROR in code instead of qDebug() as sample of the log event .

- Added export to USB feature.

- Added "Export Button"

  1. … 25 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Fixed application close which wasn't closing Can Device connection.

- Changed to date to 2019 in copyright section.

- In MessageInterpreter, named getBloodFlowData method parameters to the meaningful data names.

- Moved fromVariant method to Format utility class.

- Added Code documentation and description.

  1. … 61 more files in changeset.
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-608 : CAN Integration on UI

- Redesigned the code to be thread safe

- Implemented signal slots to connect all the classes from can to GUI and vice versa.

  1. … 25 more files in changeset.