Digitalisierte Elektroverteilung zur permanenten Verbraucherüberwachung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PublisherInterface.cpp 524B

12345678910111213141516171819
  1. #include "PublisherInterface.h"
  2. #include <easylogging++.h>
  3. u_int PublisherInterface::id_static = 0;
  4. PublisherInterface::PublisherInterface(const PublisherType type)
  5. : id(id_static++), type(type)
  6. {}
  7. bool PublisherInterface::operator==(const PublisherInterface& p2) const{
  8. return this->id == p2.id;
  9. }
  10. ts_queue<ParameterSpecification>& PublisherInterface::enqueueReadingRegisters(ts_queue< ParameterSpecification>& queue, Category cat){
  11. modbusData->modbusRegisterCat(cat, queue, connection);
  12. return queue;
  13. }