Commit befd4aa7 authored by Medicina Operator's avatar Medicina Operator
Browse files

fixed bug: calOn and calOff changing to CHC receiver

parent 73150272
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -119,7 +119,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
		m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
		m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
#endif
#endif
	}
	}
	else if ((m_currentReceiver=="CCC") || (m_currentReceiver="CHC")){
	else if ((m_currentReceiver=="CCC") || (m_currentReceiver=="CHC")){
#ifndef RB_DEBUG
#ifndef RB_DEBUG
		char buffer [14] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','n','\n' };
		char buffer [14] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','n','\n' };
		if (m_recvSocket.Send(err,(const void *)buffer,14)!=14) {
		if (m_recvSocket.Send(err,(const void *)buffer,14)!=14) {
@@ -178,7 +178,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
		m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
		m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
#endif
#endif
	}
	}
	else if ((m_currentReceiver=="CCC") || (m_currentReceiver="CHC")) {
	else if ((m_currentReceiver=="CCC") || (m_currentReceiver=="CHC")) {
#ifndef RB_DEBUG
#ifndef RB_DEBUG
		char buffer [15] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','f','f','\n' };
		char buffer [15] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','f','f','\n' };
		if (m_recvSocket.Send(err,(const void *)buffer,15)!=15) {
		if (m_recvSocket.Send(err,(const void *)buffer,15)!=15) {