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

63 lines
1.6 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.

/*
* SignalTable2D.hh
*
* Created on: 2 февр. 2023 г.
* Author: titov
*/
#ifndef UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALTABLE2D_HH_
#define UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALTABLE2D_HH_
#include "../../systemic/ISignal.hh"
#include "../../systemic/IStatus.hh"
#include "../../schematic/SignalTable2.hh"
#include "../ISetupStep.hh"
namespace application { namespace schematic {
//!Таблица
/*!
*
*/
struct SignalTable2D : public ISetupStep {
static const Environment::Id provider = 0;
typedef ::schematic::SignalTable2D Object;
typedef ::schematic::SetterSignalTable2D SetterValueTable;
typedef systemic::IStatus IStatus;
IStatus * status_a = nullptr;
IStatus * status_b = nullptr;
systemic::Parameter<SetterValueTable> parameter;
bool input( Environment & env );
void build( Environment & env );
struct Links {
Environment::StatusId status_a; //!<Признак таблицы истинности, столбец "a".
Environment::StatusId status_b; //!<Признак таблицы истинности, столбец "b".
Environment::SettingId table; //!<Настройка значений таблицы истинности.
Environment::Id apply_table; //!<Действие применения новой таблицы значений.
Environment::SignalId value; //!<Значение по таблице истинности.
};
const Links & links;
SignalTable2D( const Links & links ) : links(links) {}
};
}}
#endif /* UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALTABLE2D_HH_ */