From 6e10822743d943228fd2f975aca23cd257fc86a3 Mon Sep 17 00:00:00 2001 From: "ext_luca.pansa@cms.it" Date: Thu, 12 Nov 2020 10:53:48 +0100 Subject: [PATCH] LP modifiche al pescaggio dei dati per M155 multiprocesso siemens. --- CMS_CORE_Library/CMS_CORE_Library.csproj | 4 ++-- CMS_CORE_Library/Siemens/Nc_Siemens.cs | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CMS_CORE_Library/CMS_CORE_Library.csproj b/CMS_CORE_Library/CMS_CORE_Library.csproj index 507b6c5..976b9aa 100644 --- a/CMS_CORE_Library/CMS_CORE_Library.csproj +++ b/CMS_CORE_Library/CMS_CORE_Library.csproj @@ -103,8 +103,8 @@ False libs\CndexLinkDotNet.dll - - ..\packages\S7netplus.0.4.0\lib\net452\S7.Net.dll + + ..\..\..\..\..\Workspace\CMS_CORE_LIBRARY\CMS_CORE_Application\bin\x86\Debug\S7.Net.dll False diff --git a/CMS_CORE_Library/Siemens/Nc_Siemens.cs b/CMS_CORE_Library/Siemens/Nc_Siemens.cs index 8659339..63cb502 100644 --- a/CMS_CORE_Library/Siemens/Nc_Siemens.cs +++ b/CMS_CORE_Library/Siemens/Nc_Siemens.cs @@ -1416,7 +1416,8 @@ namespace CMS_CORE_Library.Siemens DataSvc dataSvc = new DataSvc(); Item item = new Item() { - Path = string.Format("/channel/parameter/r[c{0} , 155]", processId), + //Path = string.Format("/channel/parameter/r[c{0} , 155]", processId), + Path = string.Format("/channel/parameter/rpa[u{0} , 155]", processId), }; dataSvc.Read(item); @@ -1467,7 +1468,8 @@ namespace CMS_CORE_Library.Siemens DataSvc dataSvc = new DataSvc(); Item item = new Item() { - Path = string.Format("/channel/parameter/r[c{0} , 155]", process), + //Path = string.Format("/channel/parameter/r[c{0} , 155]", process), + Path = string.Format("/channel/parameter/rpa[u{0} , 155]", process), Value = responseVal };