Rsh API  SDK 2.1
Документация по программированию
 Указатель Классы Файлы Функции Переменные Определения типов Перечисления Элементы перечислений Друзья Макросы Страницы
RshSynchroChannel.h
См. документацию.
1 
18 #ifndef RSH_SYNCHRO_CHANNEL_H
19 #define RSH_SYNCHRO_CHANNEL_H
20 
21 #include "RshBaseType.h"
22 
23 #include <ostream>
24 
25 #pragma pack(push, 8)
26 
46 {
75 
107 
125  enum Control
126  {
142  FilterOff = 0x0,
143 
159  Resist1MOhm = 0x0,
160 
176  DC = 0x0,
177 
199  FilterLow = 0x1,
200 
222  FilterHigh = 0x2,
223 
239  AC = 0x4,
240 
257  };
258 
260 
262 
263  bool operator==(RshSynchroChannel& obj) const;
264 
265  bool operator!=(RshSynchroChannel& obj) const;
266 
267  friend std::ostream& operator<< (std::ostream &out, const RshSynchroChannel& obj);
268 
284  void SetDefaultPatameters();
285 
314  void SetFilterLow(bool on = true);
315 
345  void SetFilterHigh(bool on = true);
346 
371  void SetInputAC(bool on = true);
372 
397  void SetInputDC(bool on = true);
398 
423  void SetResist50Ohm(bool on = true);
424 
449  void SetResist1MOhm(bool on = true);
450 
462  bool IsFilterHighActive() const;
463 
475  bool IsFilterLowActive() const;
476 
488  bool IsInputACActive() const;
489 
501  bool IsInputDCActive() const;
502 
514  bool IsResist50OhmActive() const;
515 
527  bool IsResist1MOhmActive() const;
528 };
529 
530 #pragma pack(pop)
531 #endif //RSH_SYNCHRO_CHANNEL_H