format.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
The first implementation of Treatment Duration Adjustment

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 24 more files in changeset.
Modified Format::fromVariant

* \brief Format::fromVariant

* \details This static method converts the defined types into QByteArray

* \param vData - The value

* \return The QByteAttay of the value vData if can't be converted 0x00 will be returned

* \note Regarding the QVariant type conversion, if cannot be cionverted 0 will

be returned

* This rule has been used and also to be consistent followed the sae rule.

*/

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 1 more file in changeset.
UI-DEN-2087-1 : Code Review Comments

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

UI-DEN-2087-1 : Code Review Comments

- Modified the Format::fromVariant

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 2 more files in changeset.
DEN-2236_UI100%CoverageoftheApplicationSoftware

- tst_utilities and tst_logging are now 100% covered.

- Changed the TouchRect parent from Item to Rectangle to be identified by Squish Qt as an object on its parent.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

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

- Added Message handling for Treatment Ranges since the Blood/Dialysate requires that message to be handled and acked by UI Application.

- VTreatmentRanges and MTreatmentRanges added

- Fixed the message 23 for Treatment Adjustment Request which used U32 not F32.

- Prepared some screen to be able to adjust ranges.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 21 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-2091 : CAN / Denali Communication Protocol [Modify Design]

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

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

- Added a Test log which has a different format and logs in the log/test folder.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 4 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.
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.
Updated the Copyright with the current year and replaced tabs with 4 spaces

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

- Alarm Logging has been added

- Some other changes has been done to the code and messaging.

- Acknowledgment is not done [ Had an agreement with Sean for design but needs more time and we need to do it all together.]

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

- Trying a solution to have separate unit tests for each feature.

- Changed the unittests class to tst_canbus since this is the unit test for implemented canbus messages and interaction.

- removed .pro.user from gitignore since denali.pro.user contains configurations for local unit tests setup and need to be cloned for the new ones.

- Fixed issues which has been found during the unit tests.

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

- Documented the code

- Added gcc flag to use all the warning as errors and don't let the application compile.

- Modified the build frame structure to return bool true as of successful build message and moved the frame list into the function parameter list.

This way by using __attribute_warn_unused_result__ we can force the code who uses this method to check for the return value of successful build.

- Same has been done for some other methods.

  1. … 14 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.
DEN-1090 : UI Message Handler / Error Handler

- Moved toHexString to a place more general so can be used everywhere.

- added command line switches to enable the can messages debugging easier.

- Added an Unhandled console out message.

- Added two other alarm message to the registered list but will console out the Unhandled message.

  1. … 9 more files in changeset.