Index: sources/canbus/MessageDispatcher.h =================================================================== diff -u -rb7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9 -r38ae7b93679d05a54fc460dac68891562d7da72d --- sources/canbus/MessageDispatcher.h (.../MessageDispatcher.h) (revision b7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9) +++ sources/canbus/MessageDispatcher.h (.../MessageDispatcher.h) (revision 38ae7b93679d05a54fc460dac68891562d7da72d) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file MessageDispatcher.h - * \author (last) Behrouz NematiPour - * \date (last) 08-Sep-2020 - * \author (original) Behrouz NematiPour - * \date (original) 26-Aug-2020 + * \file MessageDispatcher.h + * \author (last) Dara Navaei + * \date (last) 06-May-2024 + * \author (original) Behrouz NematiPour + * \date (original) 26-Aug-2020 * */ #pragma once @@ -107,6 +107,10 @@ // List of the transmit(request) only, messages which require acknowledge back(AckBack). QList _needsAcknow { + // FIXME: check this on device first. It is not working with dialin. + GuiActionType::ID_KeepAlive , + // CONFIRM + GuiActionType::ID_DuetConfirmUIr , // POST GuiActionType::ID_UIPostFinalResultData , // Alarm @@ -140,29 +144,36 @@ GuiActionType::ID_AdjustRecirculateReq , GuiActionType::ID_AdjustTreatmentEndReq , // Post-Treatment - GuiActionType::ID_AdjustPatientDisconnectionConfirmReq , + GuiActionType::ID_AdjustPatientDisconnectNotifyReq , + GuiActionType::ID_AdjustPatientDisconnectConfirmReq , GuiActionType::ID_AdjustDisposablesRemovalConfirmReq , // Disinfect - GuiActionType::ID_AdjustDisinfectReq , - GuiActionType::ID_AdjustChemicalConfirmReq , + GuiActionType::ID_AdjustDisinfectModeReq , + GuiActionType::ID_AdjustDisinfectStartReq , + // DG Cleaning + GuiActionType::ID_AdjustDGCleaningUsageReq , // Settings + GuiActionType::ID_AdjustServiceModeReq , GuiActionType::ID_AdjustVersionsUIReq , GuiActionType::ID_AdjustVersionsUIRsp , - GuiActionType::ID_AdjustServiceReq , + GuiActionType::ID_AdjustServiceDatesReq , GuiActionType::ID_AdjustHDDateTimeReq , GuiActionType::ID_AdjustDGDateTimeReq , + GuiActionType::ID_HDUsageInfoReq , + GuiActionType::ID_AdjustInstitutionalRecordReq , // Treatment Log GuiActionType::ID_AdjustTreatmentLogReq , GuiActionType::ID_TreatmentLogAvrgeData , GuiActionType::ID_TreatmentLogAlarmData , GuiActionType::ID_TreatmentLogEventData , + + // HD reset request in service mode + GuiActionType::ID_ResetHDInServiceModeReq , }; public slots: bool init(); bool init(QThread &vThread); - -private slots: void quit(); public: @@ -256,5 +267,8 @@ // ---- Signal/Slots ADJUST_TRANSMT_MODEL_BRIDGE_DEFINITIONS_NOEMIT ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS + + ACTION_RECEIVE_PRIVATE_SLOT(UIPostFinalResultHDRequestData) + }; }