From 1e83d7cf90f26dff12efbe78ce9f028f374b06cf Mon Sep 17 00:00:00 2001 From: BlueMatthew Date: Sun, 19 Nov 2023 13:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=92=8C=E9=85=8D=E7=BD=AE=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- src/iec103.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;