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

43 lines
1.2 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.

/*
* StatusWaiting.hh
*
* Created on: 27 авг. 2021 г.
* Author: sozonov
*/
#ifndef UMLIBRARY_APPLICATION_PROCEDURES_STATUSWAITING_HH_
#define UMLIBRARY_APPLICATION_PROCEDURES_STATUSWAITING_HH_
#include "../ISetupStep.hh"
namespace application { namespace procedures {
//!Процедура проверки работоспособности доступа к памяти.
struct StatusWaiting : public ISetupStep {
typedef systemic::IValue<bool> Status;
//Входы
//Action * input_signal = nullptr; //!<Входной сигнал.
Status * enable_status = nullptr; //!<Статус разрешающий выходной сигнал.
bool input( Environment & env );
void build( Environment & env );
struct Links {
Environment::StatusId status; //!<Флаг, разрешения работы процедуры.
Environment::TechFunctionId procedure; //!<Процедура, ожидающая значение флага состояния.
};
const Links & links;
StatusWaiting( const Links & links);
};
}}
#endif /* UMLIBRARY_APPLICATION_PROCEDURES_STATUSWAITING_HH_ */