Index: sources/view/settings/VDuetRoWaterDG.h =================================================================== diff -u -r9a61db88ccc5454001d4759e6ee5402695fda993 -rbc7e7a2a3fafed1147f2f0fda245f654e5526025 --- sources/view/settings/VDuetRoWaterDG.h (.../VDuetRoWaterDG.h) (revision 9a61db88ccc5454001d4759e6ee5402695fda993) +++ sources/view/settings/VDuetRoWaterDG.h (.../VDuetRoWaterDG.h) (revision bc7e7a2a3fafed1147f2f0fda245f654e5526025) @@ -32,40 +32,47 @@ * * \sa Model::MTreatmentTime * - * \startuml - * actor User as US - * participant UI as UI - * participant DG as DG - * participant FS as FS - * - * == REQUEST == - * group DG POST - * DG -> UI : Water Input Mode Status [0xC3] - * UI -> DG : Water Mode Set [0xBC] - * end - * - * group UI POST - * UI -> DG : Water Mode Set [0xBC] - * end - * - * group Settings - * US -> UI : Water Input Mode Adjust - * UI -> DG : Water Mode Set [0xBC] - * end - * - * == RESPONSE == - * - * DG --> UI : Water Mode Set [0xC4] - * alt Accept - * UI -> FS : Water Mode Store - * UI -> US : Pass Notification - * else Reject - * UI -> UI : Revert the Water Mode - * UI -> US : Fail Notification - * end - * \enduml - * \note UI Init update sequence: - * Settings -> status -> checked -> doAdjustment -> DG + * \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 */ class VDuetRoWaterDG : public VAdjustmentResponseBase {