From cc8aec6d4159d5bbb8d9bbae3d4edd9ccee40456 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 28 Feb 2019 14:20:58 +0100 Subject: [PATCH] refresh x NLog --- MConnectSDK/MConnectClient.cs | 17 ----------- TestClient/NLog.config | 56 +++++++++++++++++++++++++++++++++++ TestClient/TestClient.csproj | 30 +++++++++++++++++++ TestClient/logs/.placeholder | 1 + 4 files changed, 87 insertions(+), 17 deletions(-) create mode 100644 TestClient/NLog.config create mode 100644 TestClient/logs/.placeholder diff --git a/MConnectSDK/MConnectClient.cs b/MConnectSDK/MConnectClient.cs index b5c96fe..93953b4 100644 --- a/MConnectSDK/MConnectClient.cs +++ b/MConnectSDK/MConnectClient.cs @@ -116,23 +116,6 @@ namespace MConnectSDK if (redServAlive) { // salvo in REDIS -#if false - if (startData2Send) - { - sendStartData(); - lg.Info("Reinviati dati sendStartData"); - } - if (refreshData2Send) - { - sendChangedData(true); - lg.Info("Reinviati dati sendChangedData"); - } - if (stopData2Send) - { - sendStopData(); - lg.Info("Reinviati dati sendStopData"); - } -#endif } #if false // aggiorno stato redis diff --git a/TestClient/NLog.config b/TestClient/NLog.config new file mode 100644 index 0000000..2ecfef7 --- /dev/null +++ b/TestClient/NLog.config @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestClient/TestClient.csproj b/TestClient/TestClient.csproj index cf1a9c9..a315744 100644 --- a/TestClient/TestClient.csproj +++ b/TestClient/TestClient.csproj @@ -12,6 +12,21 @@ 512 true true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -69,6 +84,9 @@ True Resources.resx + + Always + SettingsSingleFileGenerator @@ -89,6 +107,18 @@ MConnectSDK + + + False + Microsoft .NET Framework 4.6.2 %28x86 e x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + diff --git a/TestClient/logs/.placeholder b/TestClient/logs/.placeholder new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/TestClient/logs/.placeholder @@ -0,0 +1 @@ + \ No newline at end of file