diff --git a/CMakeLists.txt b/CMakeLists.txt index b72b007..4dc5a34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # CMakeList.txt : CMake project for iec103, include source and define # project specific logic here. # -cmake_minimum_required (VERSION 2.8) +cmake_minimum_required (VERSION 3.8) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED On) set(CMAKE_CXX_EXTENSIONS Off) diff --git a/src/iec103.cpp b/src/iec103.cpp index f875d6d..3c69d31 100644 --- a/src/iec103.cpp +++ b/src/iec103.cpp @@ -62,7 +62,7 @@ int main(int argc, char **argv) WSADATA WSAData; #endif - InitDatabase(argc, argv, "localhost", "root", "123456", "health"); + InitDatabase(argc, argv, "localhost", "iec104", "Iec@1043", "iec104"); //定时器指针置空 //m_pMainTimer = NULL;