|
|
@@ -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))); |
|
|
|
} |
|
|
|
} |
|
|
|
} |