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

42 lines
962 B
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.

/*
* StatusSample.hh
*
* Created on: 22 июл. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_
#define UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IStatus.hh"
namespace application { namespace schematic {
//!Модуль квантования статуса.
struct StatusSample : public ISetupStep {
systemic::IStatus * status = nullptr;
struct Links {
Environment::StatusId status; //!<Исходный статус.
Environment::StatusId sampled; //!<Измеренный статус.
};
const Links & links;
const configuration::ProcessConfig & params;
bool input( Environment & env );
void build( Environment & env );
StatusSample( const Links & links, const configuration::ProcessConfig & params );
};
}}
#endif /* UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_ */