„src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp“ ändern

This commit is contained in:
Tobias Baumann 2022-05-23 10:22:26 +00:00
parent e98206b11f
commit 70d5a8043d

View File

@ -115,13 +115,13 @@ bool CBoxAlgorithmTactiloController::process()
}
if(StimulationID == OVTK_StimulationId_VisualStimulationStart)
{
this->getLogManager() << LogLevel_Info << "Tactilo Nr. " << m_currTactiloNr << " ON\n";
m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr)));
this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " ON\n";
m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr-1)));
}
if(StimulationID == OVTK_StimulationId_VisualStimulationStop)
{
this->getLogManager() << LogLevel_Info << "Tactilo Nr. " << m_currTactiloNr << " OFF\n";
m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr)));
this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " OFF\n";
m_Port.write_some(boost::asio::buffer(std::to_string(m_currTactiloNr-1)));
}
}
}