From 78aa275ae5a519edb279a13d844aa6895451b9a4 Mon Sep 17 00:00:00 2001 From: zynfly Date: Tue, 27 Aug 2024 15:16:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=B7=BB=E5=8A=A0]opcua=20exporter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- .idea/workspace.xml | 159 +- opcua-expoter/.gitignore | 37 + opcua-expoter/CMakeLists.txt | 57 + opcua-expoter/client/client.cpp | 399 + opcua-expoter/client/client.h | 83 + opcua-expoter/cmake/civetweb-config.cmake | 1 + opcua-expoter/collector/collector.cpp | 127 + opcua-expoter/collector/collector.h | 57 + .../fault-simulation-algorithm/.gitignore | 2 + .../fault-simulation-algorithm/CMakeLists.txt | 14 + .../include/algorithm.hpp | 33 + .../periodic_interference/CMakeLists.txt | 23 + .../periodic_interference/main.cpp | 47 + .../periodic_interference.cpp | 28 + .../periodic_interference.h | 28 + .../simulation-manager/CMakeLists.txt | 27 + .../simulation-manager/algorithm_wrap.hpp | 68 + .../simulation-manager/main.cpp | 10 + .../simulation-manager/simulation_manager.hpp | 106 + .../step/CMakeLists.txt | 23 + .../fault-simulation-algorithm/step/main.cpp | 44 + .../fault-simulation-algorithm/step/step.cpp | 23 + .../fault-simulation-algorithm/step/step.h | 21 + .../temperature-drift/CMakeLists.txt | 24 + .../temperature-drift/main.cpp | 88 + .../temperature-drift/temperature_drift.cpp | 26 + .../temperature-drift/temperature_drift.h | 26 + .../white_noise/CMakeLists.txt | 23 + .../white_noise/main.cpp | 80 + .../white_noise/white_noise.cpp | 27 + .../white_noise/white_noise.h | 26 + opcua-expoter/main.cpp | 144 + opcua-expoter/new_opcua.yaml | 11608 ++++++++ opcua-expoter/opcua.yaml | 11623 ++++++++ opcua-expoter/opcua.yml | 11623 ++++++++ opcua-expoter/opcua_fake.yaml | 23440 ++++++++++++++++ opcua-expoter/vcpkg.json | 12 + 38 files changed, 60110 insertions(+), 80 deletions(-) create mode 100644 opcua-expoter/.gitignore create mode 100644 opcua-expoter/CMakeLists.txt create mode 100644 opcua-expoter/client/client.cpp create mode 100644 opcua-expoter/client/client.h create mode 100644 opcua-expoter/cmake/civetweb-config.cmake create mode 100644 opcua-expoter/collector/collector.cpp create mode 100644 opcua-expoter/collector/collector.h create mode 100644 opcua-expoter/fault-simulation-algorithm/.gitignore create mode 100644 opcua-expoter/fault-simulation-algorithm/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/include/algorithm.hpp create mode 100644 opcua-expoter/fault-simulation-algorithm/periodic_interference/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/periodic_interference/main.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/periodic_interference/periodic_interference.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/periodic_interference/periodic_interference.h create mode 100644 opcua-expoter/fault-simulation-algorithm/simulation-manager/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/simulation-manager/algorithm_wrap.hpp create mode 100644 opcua-expoter/fault-simulation-algorithm/simulation-manager/main.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/simulation-manager/simulation_manager.hpp create mode 100644 opcua-expoter/fault-simulation-algorithm/step/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/step/main.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/step/step.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/step/step.h create mode 100644 opcua-expoter/fault-simulation-algorithm/temperature-drift/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/temperature-drift/main.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/temperature-drift/temperature_drift.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/temperature-drift/temperature_drift.h create mode 100644 opcua-expoter/fault-simulation-algorithm/white_noise/CMakeLists.txt create mode 100644 opcua-expoter/fault-simulation-algorithm/white_noise/main.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/white_noise/white_noise.cpp create mode 100644 opcua-expoter/fault-simulation-algorithm/white_noise/white_noise.h create mode 100644 opcua-expoter/main.cpp create mode 100644 opcua-expoter/new_opcua.yaml create mode 100644 opcua-expoter/opcua.yaml create mode 100644 opcua-expoter/opcua.yml create mode 100644 opcua-expoter/opcua_fake.yaml create mode 100644 opcua-expoter/vcpkg.json diff --git a/.gitignore b/.gitignore index dde6cd6..d6376d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ **/.idea **/vendor **/.env -**/node_modules \ No newline at end of file +**/node_modules +**/cmake-build-* \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c6f0290..03de0fa 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,18 +4,32 @@