Index: sources/view/settings/VDuetRoWaterDG.h =================================================================== diff -u -rbc7e7a2a3fafed1147f2f0fda245f654e5526025 -ra0ba11df2a8c386d4535ce8f1b9ede625494b096 --- sources/view/settings/VDuetRoWaterDG.h (.../VDuetRoWaterDG.h) (revision bc7e7a2a3fafed1147f2f0fda245f654e5526025) +++ sources/view/settings/VDuetRoWaterDG.h (.../VDuetRoWaterDG.h) (revision a0ba11df2a8c386d4535ce8f1b9ede625494b096) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2023-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 VDuetRoWaterDG.h * \author (last) Behrouz NematiPour - * \date (last) 10-Aug-2021 + * \date (last) 17-Jan-2024 * \author (original) Behrouz NematiPour - * \date (original) 18-Apr-2021 + * \date (original) 03-Apr-2023 * */ #pragma once @@ -27,52 +27,49 @@ namespace View { /*! - * \brief The VTreatmentTime class + * \brief The VDuetRoWaterDG class * \details View for Model's data representation. + * \sa Model::MDuetRoWaterModeUIi + * \startuml + * actor User as US + * participant UI as UI + * participant DG as DG + * participant FS as FS * - * \sa Model::MTreatmentTime + * group POST + * group UI POST + * FS -> UI : Water Mode Store + * UI -> UI : Update Settings + * UI -> DG : Water Mode Set [0xBC] + * DG --> UI : Water Mode Set [0xC4] + * end + * group DG POST + * DG -> UI : Water Mode Status [0xC3] + * UI -> DG : Water Mode Set [0xBC] + * DG --> UI : Water Mode Set [0xC4] + * end + * alt Accept + * UI -> US : Pass Notification [empty] + * else Reject + * UI -> UI : Toggle Water Mode + * UI -> FS : Water Mode Store + * UI -> US : Fail Notification + * end + * end * - * \link http://www.plantuml.com/ - \startuml - actor User as US - participant UI as UI - participant DG as DG - participant FS as FS - - group POST - group UI POST - FS -> UI : Water Mode Store - UI -> UI : Update Settings - UI -> DG : Water Mode Set [0xBC] - DG --> UI : Water Mode Set [0xC4] - end - group DG POST - DG -> UI : Water Mode Status [0xC3] - UI -> DG : Water Mode Set [0xBC] - DG --> UI : Water Mode Set [0xC4] - end - alt Accept - UI -> US : Pass Notification [empty] - else Reject - UI -> UI : Toggle Water Mode - UI -> FS : Water Mode Store - UI -> US : Fail Notification - end - end - - group Settings - US -> UI : "New" Water Mode [Toggled] - UI -> DG : Water Mode Set [0xBC] - DG --> UI : Water Mode Set [0xC4] - alt Accept - UI -> FS : "New" Water Mode Store - UI -> US : Pass Notification [empty] - else Reject - UI -> UI : "Old" Water Mode [NonToggled] - UI -> US : Fail Notification - end - end - \enduml + * group Settings + * US -> UI : "New" Water Mode [Toggled] + * UI -> DG : Water Mode Set [0xBC] + * DG --> UI : Water Mode Set [0xC4] + * alt Accept + * UI -> FS : "New" Water Mode Store + * UI -> US : Pass Notification [empty] + * else Reject + * UI -> UI : "Old" Water Mode [NonToggled] + * UI -> US : Fail Notification + * end + * end + * \enduml */ class VDuetRoWaterDG : public VAdjustmentResponseBase { @@ -87,7 +84,7 @@ TRIGGER ( bool , adjustment , 0) TRIGGER ( bool , status , 0) - PROPERTY( QString , notification , 0) + PROPERTY( QString , notification ,"") VIEW_DEC_CLASS(VDuetRoWaterDG) VIEW_DEC_SLOT(DuetRoWaterStatDGqData)