application

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -39
    • +46
    /sources/canbus/caninterface.cpp
    • -12
    • +38
    /sources/canbus/messagehandler.h
    • -45
    • +118
    /sources/canbus/messageinterpreter.cpp
  1. … 47 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.

    • -10
    • +26
    /sources/canbus/messageinterpreter.cpp
    • -0
    • +27
    /sources/utility/format.cpp
    • -0
    • +28
    /sources/utility/format.h
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.

    • -15
    • +13
    /sources/canbus/caninterface.cpp
    • -26
    • +85
    /sources/canbus/messagebuilder.cpp
    • -12
    • +21
    /sources/canbus/messagebuilder.h
    • -19
    • +3
    /sources/canbus/messagedispatcher.cpp
    • -15
    • +17
    /sources/canbus/messageglobals.h
    • -20
    • +130
    /sources/canbus/messageinterpreter.cpp
    • -0
    • +13
    /sources/gui/qml/components/TouchRect.qml
    • -0
    • +1
    /sources/gui/qml/pages/SettingsHome.qml
  1. … 4 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.

    • -20
    • +38
    /sources/canbus/caninterface.cpp
    • -41
    • +52
    /sources/canbus/messagebuilder.cpp
    • -35
    • +35
    /sources/canbus/messagebuilder.h
    • -1
    • +115
    /sources/canbus/messagedispatcher.cpp
    • -7
    • +36
    /sources/canbus/messagedispatcher.h
    • -10
    • +16
    /sources/canbus/messageglobals.h
    • -82
    • +48
    /sources/canbus/messagehandler.cpp
    • -14
    • +14
    /sources/canbus/messagehandler.h
    • -21
    • +0
    /sources/canbus/messageinterface.cpp
    • -0
    • +113
    /sources/canbus/messageinterpreter.cpp
  1. … 4 more files in changeset.
guiactions.cpp edited online with Bitbucket

Added the GUI standard copyright

Updated the Copyright with the current year and replaced tabs with 4 spaces

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.

    • -13
    • +23
    /sources/canbus/messagehandler.cpp
    • -0
    • +21
    /sources/canbus/messageinterface.cpp
    • -0
    • +37
    /sources/canbus/messageinterface.h
  1. … 4 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

    • -0
    • +175
    /sources/canbus/messagebuilder.cpp
    • -0
    • +79
    /sources/canbus/messagebuilder.h
    • -0
    • +21
    /sources/canbus/messagedispatcher.cpp
    • -0
    • +84
    /sources/canbus/messagedispatcher.h
    • -12
    • +12
    /sources/canbus/messagehandler.cpp
    • -175
    • +0
    /sources/canbus/messagepartitioner.cpp
    • -92
    • +0
    /sources/canbus/messagepartitioner.h
Updated the Copyright with the current year and replaced tabs with 4 spaces

DEN-1090 : UI Message Handler / Error Handler

- Add Message Partitioner to handle building and stripping can frames.

    • -0
    • +68
    /sources/canbus/messageglobals.h
    • -163
    • +15
    /sources/canbus/messagehandler.cpp
    • -0
    • +175
    /sources/canbus/messagepartitioner.cpp
    • -0
    • +92
    /sources/canbus/messagepartitioner.h
DEN-1090 : UI Message Handler / Error Handler

- Adding multi message transmit capability.

- [only transmit for now]

    • -23
    • +44
    /sources/canbus/messagehandler.cpp
    • -10
    • +10
    /sources/canbus/messagehandler.h
DEN-1090 : UI Message Handler / Error Handler

    • -10
    • +12
    /sources/canbus/caninterface.cpp
    • -46
    • +85
    /sources/canbus/messagehandler.cpp
DEN-1090 : UI Message Handler / Error Handler

- Remove autosave files from list of git tracking files.

DEN-1090 : UI Message Handler / Error Handler

DEN-1090 : UI Message Handler / Error Handler

- Removed the :

. Command/Perform

. Request/Confirm

To :

. Receive

. Transmit

    • -47
    • +10
    /sources/applicationcontroller.cpp
    • -27
    • +13
    /sources/canbus/caninterface.cpp
    • -45
    • +19
    /sources/canbus/messagehandler.cpp
    • -33
    • +22
    /sources/canbus/messagehandler.h
    • -1
    • +1
    /sources/gui/qml/pages/SettingsHome.qml
DEN-1090 : UI Message Handler / Error Handler

- Padding was incorrect

DEN-1090 : UI Message Handler / Error Handler

- Implemented on read [Partial]

    • -51
    • +70
    /sources/canbus/messagehandler.cpp
    • -44
    • +38
    /sources/canbus/messagehandler.h
DEN-1090 : UI Message Handler / Error Handler

- Message Handler Implementation

    • -11
    • +11
    /sources/applicationcontroller.cpp
    • -39
    • +148
    /sources/canbus/messagehandler.cpp
    • -8
    • +111
    /sources/canbus/messagehandler.h
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 38 more files in changeset.
Merge branch 'DEN-704_HomeScreen'

DEN-704 : +review UI-DEN-704_HomeScreen

- Doxygen were complain about some code comments.

    • -1
    • +1
    /sources/gui/qml/components/BackButton.qml
Merge branch 'DEN-704_HomeScreen'

DEN-704 : +review UI-DEN-704_HomeScreen

- Fixed Typo

Merge branch 'DEN-704_HomeScreen'

DEN-704 +review UI-DEN-704_HomeScreen

- Made code ready for QtTest

- Commented out qDebugs for now to be removed from QtTest output

- cleaned up the code after running unit tests.

    • -10
    • +18
    /sources/canbus/messagehandler.cpp
    • -1
    • +0
    /sources/gui/qml/components/MainMenu.qml
    • -0
    • +16
    /sources/gui/qml/pages/SettingsHome.qml
    • -15
    • +0
    /sources/gui/qml/pages/TreatmentHome.qml
    • -0
    • +136
    /unittests/unittests.cpp
    • -0
    • +51
    /unittests/unittests.h
Merge branch 'DEN-704_HomeScreen'

DEN-704_HomeScreen

- Adding objectname for the repeater object which doesn't have separate id for its items.

- This causes SquishQt to use occurrence instead of the id which regarding SquishQt documentation, it is not a safe way of referring to an object.

    • -2
    • +3
    /sources/gui/qml/components/MainMenu.qml
DEN-704_HomeScreen

- Home Screen Buttons :

* Start Treatment

* Create Treatment

Updated regarding the new design.

- Adding two more place holder screens for :

* Start Treatment

* Create Treatment

- Updated run.sh to detect the SD-Card as an extra storage and mount it. and use it as logging path [ Not Completed yet, just a start ]

- Updated the setupSD.sh to easily setup the target for the first time.

- Other modifications are related to the Home Screen update.

    • -0
    • +37
    /sources/gui/qml/components/BackButton.qml
    • -2
    • +5
    /sources/gui/qml/components/ScreenItem.qml
    • -0
    • +7
    /sources/gui/qml/components/StackItem.qml
    • -1
    • +1
    /sources/gui/qml/components/TouchRect.qml
    • -0
    • +42
    /sources/gui/qml/pages/TreatmentCreate.qml
    • -3
    • +20
    /sources/gui/qml/pages/TreatmentHome.qml
    • -0
    • +42
    /sources/gui/qml/pages/TreatmentStart.qml
Merge branch 'DEN-625_CANInterface'

DEN-608 : CAN Integration on UI

- Integration Testing which was working on the Lab communicating with HD to popup the power off dialog and power off or cancel.