Index: sources/model/MModel.h =================================================================== diff -u -ra58f91b077c8131bea3dbde0fc338adb113fc9f3 -rf2e4eba6e85c5d36537be782926f23cc9dc01037 --- sources/model/MModel.h (.../MModel.h) (revision a58f91b077c8131bea3dbde0fc338adb113fc9f3) +++ sources/model/MModel.h (.../MModel.h) (revision f2e4eba6e85c5d36537be782926f23cc9dc01037) @@ -39,7 +39,7 @@ #include "MUIPostFinalResultHDRequest.h" // States Messages -#include "MHDOperationModeData.h" +#include "MTDOpModeData.h" #include "MPreTreatmentStatesData.h" #include "MTreatmentStatesData.h" #include "MPostTreatmentStatesData.h" @@ -195,22 +195,22 @@ * and assign a correct message value to it. * Note that it needs to be in little endian so if you have a message Id of 37 your enum should have a value of 0x2500 in hex. * \code{.cpp} - * ID_HDOperationModeData = 0x2500, // 37 // little endian + * ID_TDOpModeData = 0x1200, // 18 // little endian * \endcode * * 02 - MessageGlobals.h : add len * \code{.cpp} - * {Gui::GuiActionType::ID_HDOperationModeData , 2 * 4 }, // 2 parameter each 4bytes + * {Gui::GuiActionType::ID_TDOpModeData , 2 * 4 }, // 2 parameter each 4bytes * \endcode * * 03 - Implement the model by copy/paste of the closest model, fit to your need. - * \sa MHDOperationMode - * \sa MHDOperationModeData.h - * \sa MHDOperationModeData.cpp + * \sa MTDOpMode + * \sa MTDOpModeData.h + * \sa MTDOpModeData.cpp * * 04 - Added #include in MModel.h for the implemented model * \code{.cpp} - * #include "MHDOperationModeData.h" + * #include "MTDOpModeData.h" * \endcode * * 05 - Register the model in MModel.h by adding it to the macro lists : @@ -227,30 +227,30 @@ * * View : * 07 - Implement the view by copy/paste of the closest view, fit to your need. - * \sa VHDOperationMode - * \sa VHDOperationModeData.h - * \sa VHDOperationModeData.cpp + * \sa VTDOpMode + * \sa VTDOpModeData.h + * \sa VTDOpModeData.cpp * * 08 - Register the view in VView.h in macro list * \sa REGISTER_VIEW_TYPES * \sa VView.h * * 09 - Include the view header in the GuiGlobals.cpp * \code{.cpp} - * #include "VHDOperationModeData.h" + * #include "VTDOpModeData.h" * \endcode * \sa GuiGlobals.cpp * * QML : * 10 - Import the registered view * \code{.js} - * import VHDOperationMode 0.1; + * import VTDOpMode 0.1; * \endcode * \sa main.qml * * 11 - Create an object * \code{.js} - * VHDOperationMode { id: vHDOperationMode } + * VTDOpMode { id: vTDOpMode } * \endcode * \sa main.qml * @@ -306,7 +306,7 @@ REGISTER_METATYPE( BluetoothData ) \ REGISTER_METATYPE( BluetoothDeviceData ) \ /* Data */ \ - REGISTER_METATYPE( HDOperationModeData ) \ + REGISTER_METATYPE( TDOpModeData ) \ REGISTER_METATYPE( PreTreatmentStatesData ) \ REGISTER_METATYPE( TreatmentStatesData ) \ REGISTER_METATYPE( PostTreatmentStatesData ) \ @@ -487,7 +487,7 @@ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, HDRTCEpochData ) \ /* */ \ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, SettingsData ) \ - ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, HDOperationModeData ) \ + ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, TDOpModeData ) \ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, PreTreatmentStatesData ) \ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, TreatmentStatesData ) \ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, PostTreatmentStatesData ) \ @@ -680,7 +680,7 @@ ACTION_RECEIVE_SIGNAL ( UIPostFinalResultHDRequestData ) \ \ ACTION_RECEIVE_BRIDGE_DEFINITION( SettingsData ) \ - ACTION_RECEIVE_BRIDGE_DEFINITION( HDOperationModeData ) \ + ACTION_RECEIVE_BRIDGE_DEFINITION( TDOpModeData ) \ ACTION_RECEIVE_BRIDGE_DEFINITION( PreTreatmentStatesData ) \ ACTION_RECEIVE_BRIDGE_DEFINITION( TreatmentStatesData ) \ ACTION_RECEIVE_BRIDGE_DEFINITION( PostTreatmentStatesData ) \ @@ -977,7 +977,7 @@ /* Received signals */ \ /* NO RESPONSE message model here */ \ ACTION_RECEIVE_SIGNAL( SettingsData ) \ - ACTION_RECEIVE_SIGNAL( HDOperationModeData ) \ + ACTION_RECEIVE_SIGNAL( TDOpModeData ) \ ACTION_RECEIVE_SIGNAL( PreTreatmentStatesData ) \ ACTION_RECEIVE_SIGNAL( TreatmentStatesData ) \ ACTION_RECEIVE_SIGNAL( PostTreatmentStatesData ) \