„src/TactiloController/ovpCBoxAlgorithmTactiloController.cpp“ ändern
This commit is contained in:
parent
256878aca8
commit
0e41d9117d
@ -109,17 +109,17 @@ bool CBoxAlgorithmTactiloController::process()
|
||||
|
||||
if(StimulationID >= m_RowBase && StimulationID < (m_RowBase + m_nTactilos))
|
||||
{
|
||||
m_currTactiloNr = StimulationID-m_RowBase+1;
|
||||
m_currTactiloID = StimulationID-m_RowBase;
|
||||
}
|
||||
if(StimulationID == OVTK_StimulationId_VisualStimulationStart)
|
||||
{
|
||||
this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " ON\n";
|
||||
boost::asio::async_write(m_Port, boost::asio::buffer(std::to_string(m_currTactiloNr-1), 1), boost::bind(&CBoxAlgorithmTactiloController::handler, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred));
|
||||
boost::asio::async_write(m_Port, boost::asio::buffer(std::to_string(m_currTactiloID), 1), boost::bind(&CBoxAlgorithmTactiloController::handler, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred));
|
||||
}
|
||||
if(StimulationID == OVTK_StimulationId_VisualStimulationStop)
|
||||
{
|
||||
this->getLogManager() << LogLevel_Debug << "Tactilo Nr. " << m_currTactiloNr << " OFF\n";
|
||||
boost::asio::async_write(m_Port, boost::asio::buffer(std::to_string(m_currTactiloNr-1), 1), boost::bind(&CBoxAlgorithmTactiloController::handler, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred));
|
||||
boost::asio::async_write(m_Port, boost::asio::buffer(std::to_string(m_currTactiloID), 1), boost::bind(&CBoxAlgorithmTactiloController::handler, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user