42 lines
848 B
C++
42 lines
848 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_ */
|