42 lines
815 B
C++
42 lines
815 B
C++
/*
|
|
* HysteresisValueAsync.hh
|
|
*
|
|
* Created on: 8 èþí. 2020 ã.
|
|
* Author: LeonidTitov
|
|
*/
|
|
|
|
#ifndef UMLIBRARY_PROCESSING_ACS_HYSTERESISVALUEASYNC_HH_
|
|
#define UMLIBRARY_PROCESSING_ACS_HYSTERESISVALUEASYNC_HH_
|
|
|
|
#include "ControlSystemInterface.hh"
|
|
|
|
#include "../../control/regulator/Deadzone.hh"
|
|
|
|
namespace processing { namespace acs {
|
|
|
|
class HysteresisValueAsync : public ValueToValueUnitInterface {
|
|
public:
|
|
typedef control::regulator::Deadzone Hysteresis;
|
|
|
|
//!Óñòàíîâèòü îøèáêó ðåãóëèðîâàíèÿ.
|
|
void set( TypeInput );
|
|
TypeOutput get() const;
|
|
void set_output( SetInterface * );
|
|
|
|
void reset();
|
|
|
|
HysteresisValueAsync( Hysteresis & regulator );
|
|
|
|
private:
|
|
Hysteresis & hysteresis;
|
|
|
|
SetInterface * output;
|
|
|
|
};
|
|
|
|
}}
|
|
|
|
|
|
|
|
#endif /* UMLIBRARY_PROCESSING_ACS_HYSTERESISVALUEASYNC_HH_ */
|