/*! * * Copyright (c) 2024-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 VAdjustmentAdvancedInstitutionalRecord.h * \author (last) Nico Ramirez * \date (last) 20-Nov-2025 * \author (original) Nico Ramirez * \date (original) 20-Nov-2025 * */ #pragma once // Qt #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MAdjustTDAdvancedInstitutionalRecordResponse.h" namespace View { /*! * \brief The VAdjustmentAdvancedInstitutionalRecord class * \details View for Model's Data representation. */ class VAdjustmentAdvancedInstitutionalRecord : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI TRIGGER( bool , adjustment , 0) RANGEVALUESET( quint32 , minRORejectionRatioAlarm , 0) RANGEVALUESET( quint32 , disinfectionFrequency , 0) RANGEVALUESET( quint32 , disinfectionParametersCycleTime , 0) RANGEVALUESET( quint32 , maxBloodPumpStopTime , 0) RANGEVALUESET( quint32 , inletWaterCondLowThreshold , 0) RANGEVALUESET( quint32 , inletWaterCondHighThreshold , 0) RANGEVALUESET( quint32 , chlorineWaterSampleCheck , 0) RANGEVALUESET( quint32 , waterSampleTestResultRequired , 0) VIEW_DEC_CLASS_ADJUSTMENT(VAdjustmentAdvancedInstitutionalRecord, AdjustAdvancedInstitutionalRecordResponseData) public slots: void doConfirm (); signals: void didAdjustment(const AdjustAdvancedInstitutionalRequestData &vData); }; }