messageglobals.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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-2087 : UI Blood/Dialysate Flow Rate Adjustment

- Some Code Clean up

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

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

- An Example of adding a model into the Application (Adding a Denali Message (Model)).

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

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

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 17 more files in changeset.
DEN-1973 : Implementation

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 4 more files in changeset.
Keep this test fro further reference

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 5 more files in changeset.
Last commit to close the testing

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 1 more file in changeset.
Disabled the logging

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 1 more file in changeset.
Swapped CAN ID of the HD Broadcast and UI

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

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.
DEN-1927 : Implementation (2 of 4)

- Added Treatment Time, Treatment Section.

- Added Ultrafiltration Message and updating the Treatment screen Ultrafiltration progressBar with values but the Max value is hard coded by 1000mL right now, since we don't have Treatment Prescriptions and so .

  1. … 9 more files in changeset.
DEN-1927 : Implementation (2 of 4)

- Added Dialysate Outlet Flow data [added onto the setting home for testing]

- In regards to the added feature above, the previous DialysateFlow renamed to DialysateInletFlow.

- Added RangeBar.qml

- Renamed ProgressMaker to RangeMaker which makes more sense for its usability.

  1. … 14 more files in changeset.
DEN-1714 : Implementation

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

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

  1. … 18 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

- 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

- 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-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-1434 : UI In-Treatment Screen (Monitoring)

- Added "PWM Duty Cycle" parameter to BloodFlow Monitoring command

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

- Updated the constants by enums [Code Review]

  1. … 3 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

- Added CRC to the messages [added to the sent message and checked for the received message]

- Added ability to to enable/disable crc and keepAlive from project during build

- Added a feature to write the can messages in color formatted to the console in Can interface and Message Handler for easier debugging. Which can also be disabled by code.

- Added Animation to the TouchRect Touch to better understand if it has been touch.

- Added a demo/sample data text to display the corrent Blood Flow values on the StartTreatment Screen.

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

- Modified enum to be enum class for clarification of the code.

- Added Message Interpreter

- Updated Message Builder to check CRC as a placeholder.

- Fixed Message Builder for messages with exactly 255 data length.

- Updated Message Builder methods scope for clarification of the code.

- Updated Message (Model) isComplete method.

- Updated Message Dispatcher to accept only command which has been defined for channel.

- Updated Message Dispatcher to remove the message from model when it has been transmitted.

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

- Changed the datatype interface between Message Interface and from Byte Array to Variant List for different type of parameter support. Also it gives the flexibility to have a Message Interpreter as messaging interface level.

- Added basic classes for Message interface.

- Moved Gui Actions in Gui Globals for simplicity.

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

- Added Message Dispatcher class basic empty class

- Renamed Message Partitioner to Message Builder

- Removed Message namespace from MessageGlobals

  1. … 9 more files in changeset.