1818
1919#include < openstudio/utilities/bcl/BCL.hpp>
2020#include < openstudio/utilities/bcl/LocalBCL.hpp>
21- #include < openstudio /utilities/bcl/RemoteBCL .hpp>
21+ #include " .. /utilities/RemoteBCLNLR .hpp"
2222#include < openstudio/utilities/core/Assert.hpp>
2323
2424#include " ../model_editor/Application.hpp"
@@ -190,7 +190,7 @@ void BuildingComponentDialogCentralWidget::setTid(const std::string& filterType,
190190 delete comp;
191191 }
192192
193- RemoteBCL remoteBCL;
193+ RemoteBCLNLR remoteBCL;
194194 remoteBCL.setTimeOutSeconds (m_timeoutSeconds);
195195 std::vector<BCLSearchResult> responses;
196196 if (filterType == " components" ) {
@@ -330,7 +330,7 @@ void BuildingComponentDialogCentralWidget::downloadNextComponent() {
330330 if (m_remoteBCL) {
331331 // currently doing a download
332332 if (m_downloadTimer.isValid ()) {
333- // RemoteBCL does not always call the call back for us if we timeout
333+ // RemoteBCLNLR does not always call the call back for us if we timeout
334334 if (m_downloadTimer.elapsed () > static_cast <qint64>(1000 ) * m_timeoutSeconds) {
335335 m_timer->stop ();
336336
@@ -344,7 +344,7 @@ void BuildingComponentDialogCentralWidget::downloadNextComponent() {
344344 m_downloadTimer.invalidate ();
345345 m_currentDownload.reset ();
346346
347- if (!RemoteBCL ::isOnline ()) {
347+ if (!RemoteBCLNLR ::isOnline ()) {
348348 // if we have gone offline cancel the remaining pending downloads
349349 clearPendingDownloads (true );
350350 }
@@ -372,7 +372,7 @@ void BuildingComponentDialogCentralWidget::downloadNextComponent() {
372372 m_progressBar->setVisible (true );
373373
374374 if (m_currentDownload->second == " components" ) {
375- m_remoteBCL = std::make_shared<RemoteBCL >();
375+ m_remoteBCL = std::make_shared<RemoteBCLNLR >();
376376 m_remoteBCL->setTimeOutSeconds (m_timeoutSeconds);
377377
378378 // Connect to Nano Signal
@@ -388,7 +388,7 @@ void BuildingComponentDialogCentralWidget::downloadNextComponent() {
388388 }
389389
390390 } else if (m_currentDownload->second == " measures" ) {
391- m_remoteBCL = std::make_shared<RemoteBCL >();
391+ m_remoteBCL = std::make_shared<RemoteBCLNLR >();
392392 m_remoteBCL->setTimeOutSeconds (m_timeoutSeconds);
393393
394394 // Connect to Nano Signal
0 commit comments