}
}
}
void sendWarm(Visita visita, final String command) {
final Equipamento eq = EquipamentoDataServices
.getEquipamento(visita.getEquipamento().getId());
System.out.println(eq.isOpened());
if (eq != null && eq.isOpened()) {
new Thread(new Runnable() {
public void run() {
try {
SocketUtils.sendCommand(eq.getIpAddress(), eq
.getPort(), command);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();