MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/schematic/SignalTable2.cpp
2024-06-07 11:12:56 +03:00

29 lines
628 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.

/*
* SignalTable2.cpp
*
* Created on: 2 февр. 2023 г.
* Author: titov
*/
#include "SignalTable2.hh"
bool schematic::SetterSignalTable2D::Setting::isValid() {
//any value is valid
return true;
}
schematic::SetterSignalTable2D::SetterSignalTable2D( Object * object ) :
object(object) {}
void schematic::SetterSignalTable2D::configure(
const Setting & setting ) {
Value values[Object::val_size] = { setting.value_a0b0, setting.value_a1b0, setting.value_a0b1, setting.value_a1b1 };
for( Object::Index i = 0; i < Object::val_size; i++ )
object->set( values[i], i );
}