equal
deleted
inserted
replaced
342 } \ |
342 } \ |
343 } while (0); |
343 } while (0); |
344 |
344 |
345 uint32_t PLCObject::LoadPLC(void) |
345 uint32_t PLCObject::LoadPLC(void) |
346 { |
346 { |
|
347 |
|
348 // TODO use PLCLibMutex |
|
349 |
347 // Load the last transferred PLC md5 hex digest |
350 // Load the last transferred PLC md5 hex digest |
348 std::string md5sum; |
351 std::string md5sum; |
349 try { |
352 try { |
350 std::ifstream(std::string(LastTransferredPLC), std::ios::binary) >> md5sum; |
353 std::ifstream(std::string(LastTransferredPLC), std::ios::binary) >> md5sum; |
351 } catch (std::exception e) { |
354 } catch (std::exception e) { |