/*! * * Copyright (c) 2019-2020 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 vtreatmentadjustmentultrafiltrationconfirm.h * \author (last) Behrouz NemaiPour * \date (last) 22-Jun-2020 * \author (original) Behrouz NemaiPour * \date (original) 09-Jun-2020 * */ #pragma once #include // Project #include "vtreatmentadjustmentresponsebase.h" namespace View { class VTreatmentAdjustmentUltrafiltrationConfirm : public VTreatmentAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; AdjustUltrafiltrationConfirmRequestData _data; // coco begin validated: // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine TRIGGER( bool , adjustment , 0) // coco end // Treatment Ultrafiltration data PROPERTY( float , volume , 0) // coco begin validated: Manually validated // Duration is not used since will be passed each second by TreatmentTime message PROPERTY( quint32 , duration , 0) // Rate has not been decided to be used anywhere yet. PROPERTY( float , rate , 0) // coco end VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentUltrafiltrationConfirm, AdjustUltrafiltrationConfirmResponseData) public slots: void doOptionRate (float vVolume); void doOptionDuration(float vVolume); signals: void didAdjustment(const AdjustUltrafiltrationConfirmRequestData &vData); }; }