/*! * * Copyright (c) 2022-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 MDisinfectAdjustModeRequests.h * \author (last) Behrouz NematiPour * \date (last) 18-Aug-2022 * \author (original) Behrouz NematiPour * \date (original) 16-Aug-2022 * */ #pragma once // Qt #include //project #include "MAdjustRequestsBase.h" #include "GuiGlobals.h" #include "MessageGlobals.h" using namespace Gui; namespace Model { /*! * Simple request models * These are models to send the request for the doAdjustment * The the only reason thy have been defined to help overloading the adjustment methods * Otherwise the parameters are so tiny models. */ /*! * \brief The MAdjustDisinfectModeReq class * \details The model to request heat/chemical disinfect * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:----:|:------:|:----:|:---:|:---:|:----:|:-----------:| * |0x9A00| 0x100 | Req | Y | UI | HD | Disinfect Mode Request | * * | Payload || * | || * | #1:(U32) | \ref mInitiate | * */ class MAdjustDisinfectModeReq : public MModel { public: enum Options { eInitiate = 1, eCancel = 0 }; quint32 mInititate = eInitiate; static QString toString(const QVariantList &vParameters) { return MModel::toString("DisinfectMode", vParameters); } }; } typedef Model::MAdjustDisinfectModeReq AdjustDisinfectModeRequestData;