MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/processing/acs/HysteresisValueAsync.cpp
2024-06-07 11:12:56 +03:00

39 lines
777 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.

/*
* HysteresisValueAsync.cpp
*
* Created on: 8 июн. 2020 г.
* Author: LeonidTitov
*/
#include "HysteresisValueAsync.hh"
void processing::acs::HysteresisValueAsync::set( TypeInput input ) {
TypeSet val = hysteresis( input );
output->set(val);
}
processing::acs::HysteresisValueAsync::TypeOutput processing::acs::HysteresisValueAsync::get() const {
return processing::acs::HysteresisValueAsync::TypeOutput();
}
void processing::acs::HysteresisValueAsync::set_output(
SetInterface * new_output ) {
output = new_output;
}
void processing::acs::HysteresisValueAsync::reset() {
output = nullptr;
}
processing::acs::HysteresisValueAsync::HysteresisValueAsync(
Hysteresis & hst ) : hysteresis(hst), output(nullptr) {}