UniSet  2.6.0
Открытые типы | Открытые члены | Открытые статические члены | Защищенные данные | Друзья | Полный список членов класса
Класс uniset::RTUStorage

Открытые типы

enum  RTUJack {
  nUnknown, nJ1, nJ2, nJ5,
  nX1, nX2, nX4, nX5
}

Открытые члены

 RTUStorage (ModbusRTU::ModbusAddr addr)
void poll (const std::shared_ptr< ModbusRTUMaster > &mb) throw (ModbusRTU::mbException)
ModbusRTU::ModbusAddr getAddress ()
bool ping ()
void setPollADC (bool set)
void setPollDI (bool set)
void setPollDIO (bool set)
void setPollUNIO (bool set)
long getInt (RTUJack jack, unsigned short channel, UniversalIO::IOType t)
float getFloat (RTUJack jack, unsigned short channel, UniversalIO::IOType t)
bool getState (RTUJack jack, unsigned short channel, UniversalIO::IOType t)
void print ()

Открытые статические члены

static RTUJack s2j (const std::string &jack)
static std::string j2s (RTUJack j)
static ModbusRTU::ModbusData getRegister (RTUJack jack, unsigned short channel, UniversalIO::IOType t)
static ModbusRTU::SlaveFunctionCode getFunction (RTUJack jack, unsigned short channel, UniversalIO::IOType t)

Защищенные данные

ModbusRTU::ModbusAddr addr
bool pingOK
bool pollADC
bool pollDI
bool pollDIO
bool pollUNIO
float adc [8]
bool di [16]
bool dio_do [16]
bool dio_di [16]
float dio_ai [16]
float dio_ao [16]
bool unio_do [48]
bool unio_di [48]
float unio_ai [24]
float unio_ao [24]

Друзья

std::ostream & operator<< (std::ostream &os, RTUStorage &m)
std::ostream & operator<< (std::ostream &os, RTUStorage *m)