|
UniSet
2.6.0
|
Открытые типы | |
| enum | FrontType { ftUnknown, ft01, ft10 } |
Открытые члены | |
| IOBase (const IOBase &r) | |
| bool | check_channel_break (long val) |
| bool | check_debounce (bool val) |
| bool | check_on_delay (bool val) |
| bool | check_off_delay (bool val) |
| bool | check_front (bool val) |
| bool | check_depend (const std::shared_ptr< SMInterface > &shm) |
| IOBase | make_iobase_copy () |
| void | create_from_iobase (const IOBase &b) |
Открытые статические члены | |
| static void | processingFasAI (IOBase *it, float new_val, const std::shared_ptr< SMInterface > &shm, bool force) |
| static void | processingAsAI (IOBase *it, long new_val, const std::shared_ptr< SMInterface > &shm, bool force) |
| static void | processingAsDI (IOBase *it, bool new_set, const std::shared_ptr< SMInterface > &shm, bool force) |
| static long | processingAsAO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force) |
| static float | processingFasAO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force) |
| static bool | processingAsDO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force) |
| static void | processingThreshold (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force) |
| static bool | initItem (IOBase *b, UniXML::iterator &it, const std::shared_ptr< SMInterface > &shm, const std::string &prefix, bool init_prefix_only, std::shared_ptr< DebugStream > dlog=nullptr, std::string myname="", int def_filtersize=0, float def_filterT=0.0, float def_lsparam=0.2, float def_iir_coeff_prev=0.5, float def_iir_coeff_new=0.5) |
| static std::string | initProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const std::string &defval="") |
| static int | initIntProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const int defval=0) |
| static timeout_t | initTimeoutProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const timeout_t defval) |
Открытые атрибуты | |
| IOController_i::SensorInfo | si |
| UniversalIO::IOType | stype |
| IOController_i::CalibrateInfo | cal |
| Calibration * | cdiagram |
| long | breaklim |
| long | value |
| long | craw |
| long | cprev |
| long | safety |
| long | defval |
| DigitalFilter | df |
| bool | nofilter |
| bool | f_median |
| bool | f_ls |
| bool | f_filter_iir |
| bool | ignore |
| bool | invert |
| bool | noprecision |
| bool | calcrop |
| PassiveTimer | ptDebounce |
| PassiveTimer | ptOnDelay |
| PassiveTimer | ptOffDelay |
| Trigger | trOnDelay |
| Trigger | trOffDelay |
| Trigger | trdebounce |
| bool | debounce_pause |
| bool | debounce_state |
| bool | ondelay_state |
| bool | offdelay_state |
| uniset::ObjectId | d_id |
| IOController::IOStateList::iterator | d_it |
| long | d_value |
| long | d_off_value |
| UniversalIO::IOType | d_iotype |
| uniset::ObjectId | t_ai |
| IONotifyController_i::ThresholdInfo | ti |
| IOController::IOStateList::iterator | t_ait |
| bool | front |
| FrontType | front_type |
| bool | front_prev_state |
| bool | front_state |
| bool | rawdata |
| IOController::IOStateList::iterator | ioit |
| uniset::uniset_rwmutex | val_lock |
Друзья | |
| std::ostream & | operator<< (std::ostream &os, const FrontType &f) |
| std::ostream & | operator<< (std::ostream &os, const IOBase &inf) |
Свойства переменной в/в
| bool uniset::IOBase::check_channel_break | ( | long | val | ) |
проверка обрыва провода
| bool uniset::IOBase::check_debounce | ( | bool | val | ) |
реализация фильтра против дребезга
| bool uniset::IOBase::check_depend | ( | const std::shared_ptr< SMInterface > & | shm | ) |
проверка разрешения(зависимости) от другого датчика
| bool uniset::IOBase::check_front | ( | bool | val | ) |
реализация срабатывания по фронту сигнала
| bool uniset::IOBase::check_off_delay | ( | bool | val | ) |
реализация задержки на отключение
| bool uniset::IOBase::check_on_delay | ( | bool | val | ) |
реализация задержки на включение
| bool uniset::IOBase::initItem | ( | IOBase * | b, |
| UniXML::iterator & | it, | ||
| const std::shared_ptr< SMInterface > & | shm, | ||
| const std::string & | prefix, | ||
| bool | init_prefix_only, | ||
| std::shared_ptr< DebugStream > | dlog = nullptr, |
||
| std::string | myname = "", |
||
| int | def_filtersize = 0, |
||
| float | def_filterT = 0.0, |
||
| float | def_lsparam = 0.2, |
||
| float | def_iir_coeff_prev = 0.5, |
||
| float | def_iir_coeff_new = 0.5 |
||
| ) | [static] |
| initPrefixOnly | - TRUE - инициализировать только свойста с prefix (или брать значения по умолчанию). FALSE - сперва искать свойство с prefix, если не найдено брать без prefix. |
значение задающее порог определяющий обрыв (задаётся 'сырое' значение)
калибровочные параметры
обрезать значения по границам при калибровке. Default: true
специальная калибровочная диаграмма
предыдущее значение после калибровки
| long uniset::IOBase::craw |
текущее 'сырое' значение до калибровки
идентификатор датчика, от которого зависит данный
блокирующее значение
итератор на датчик от которого зависит данный разрешающее работу значение датчика от которого зависит данный
значение для фильтра антидребезга
состояние по умолчанию (при запуске)
реализация программного фильтра
признак использования рекурсивного фильтра
| bool uniset::IOBase::f_ls |
признак использования адаптивного фильтра по методу наименьших квадратов
признак использования медианного фильтра
игнорировать при опросе
инвертированная логика
отключение фильтра
значение для задержки отключения
значение для задержки включения
таймер на дребезг
задержка на отпускание
задержка на срабатывание
безопасное состояние при завершении процесса
| UniversalIO::IOType uniset::IOBase::stype |
тип канала (DI,DO,AI,AO)
если данный датчик дискретный, и является пороговым, то в данном поле хранится идентификатор аналогового датчика с которым он связан
блокировка на время "работы" со значением
текущее значение
1.7.6.1