2 #include "uadatetime.h" 39 while(
m_stop == OpcUa_False )
44 const OpcUa_Variant *vSync = dSync.value();
45 OpcUa_Int32 tInterval = vSync->Value.Int32;
46 if (tInterval != 0 ) {
51 std::this_thread::sleep_for(std::chrono::milliseconds(tInterval));
56 std::this_thread::sleep_for(std::chrono::seconds(10));
61 std::this_thread::sleep_for(std::chrono::seconds(10));