MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/application/basic/ParamCompare.hh
2024-06-07 11:12:56 +03:00

49 lines
1.3 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* ParamCompare.hh
*
* Created on: 23 янв. 2022 г.
* Author: sozonov
*/
#ifndef UMLIBRARY_APPLICATION_BASIC_PARAMCOMPARE_HH_
#define UMLIBRARY_APPLICATION_BASIC_PARAMCOMPARE_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IFunctor.hh"
#include "../../communication/service/FailureOperator.hh"
namespace application { namespace basic {
//! Утилита сравнения двух настроек.
struct ParamCompare : public ISetupStep {
typedef systemic::IFunctor<void> Action;
systemic::SharedData platform_string_1;
systemic::SharedData platform_string_2;
const systemic::CustomParameters::ProviderId const_prov = 0;
struct Links {
Environment::SettingId first_param; //!<Пользовательские настроки 1.
Environment::SettingId second_param; //!<Пользовательские настроки 2.
Environment::Id compare; //!<Действие сравнения значения двух настроек.
Environment::StatusId equal; //!<Статус сравнения натсроек.
};
const Links & links;
bool input( Environment & env );
void build( Environment & env );
ParamCompare( const Links & links );
};
}}
#endif /* UMLIBRARY_APPLICATION_BASIC_PARAMCOMPARE_HH_ */