From 01fbf2d7d88969b4c0d03b3c093a3dedabedac74 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 3 Apr 2020 17:29:00 +0200 Subject: [PATCH] Cambio naming x adapter ESA di SCM (da replicare) --- MTC_Adapter/SCMA/{AdapterESA.cs => AdapterPLC/SCM/ESA.cs} | 6 +++--- MTC_Adapter/SCMA/MainForm.cs | 2 +- MTC_Adapter/SCMA/SCMA.csproj | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename MTC_Adapter/SCMA/{AdapterESA.cs => AdapterPLC/SCM/ESA.cs} (99%) diff --git a/MTC_Adapter/SCMA/AdapterESA.cs b/MTC_Adapter/SCMA/AdapterPLC/SCM/ESA.cs similarity index 99% rename from MTC_Adapter/SCMA/AdapterESA.cs rename to MTC_Adapter/SCMA/AdapterPLC/SCM/ESA.cs index 173d31d..b0eb3ac 100644 --- a/MTC_Adapter/SCMA/AdapterESA.cs +++ b/MTC_Adapter/SCMA/AdapterPLC/SCM/ESA.cs @@ -7,9 +7,9 @@ using System.Linq; using System.Text; using System.Threading; -namespace SCMA +namespace SCMA.AdapterPLC.SCM { - public class AdapterESA : AdapterGeneric + public class ESA : AdapterGeneric { /// /// Configurazione valori da leggere IOT_Byte @@ -245,7 +245,7 @@ namespace SCMA /// FORM chaimante /// CONFIGURAZIONE adapter /// OGGETTO gestione comunicazione OUT (tipologia e metodi) - public AdapterESA(MainForm caller, AdapterConf adpConf, Gateway gatewayObj) : base(caller, adpConf, gatewayObj) + public ESA(MainForm caller, AdapterConf adpConf, Gateway gatewayObj) : base(caller, adpConf, gatewayObj) { string iniPath = string.Format(@"{0}\{1}", utils.confDir, utils.CRS("defaultEsaFile")); diff --git a/MTC_Adapter/SCMA/MainForm.cs b/MTC_Adapter/SCMA/MainForm.cs index 162aa6c..35f2022 100644 --- a/MTC_Adapter/SCMA/MainForm.cs +++ b/MTC_Adapter/SCMA/MainForm.cs @@ -386,7 +386,7 @@ namespace SCMA start.Enabled = true; break; case tipoAdapter.ESAGV: - agObj = new AdapterESA(this, adpConf, currGateway); + agObj = new AdapterPLC.SCM.ESA(this, adpConf, currGateway); EnableTab(tabCtrlMain.TabPages[1], true); EnableTab(tabCtrlMain.TabPages[2], false); start.Enabled = true; diff --git a/MTC_Adapter/SCMA/SCMA.csproj b/MTC_Adapter/SCMA/SCMA.csproj index 106d603..d16a2c6 100644 --- a/MTC_Adapter/SCMA/SCMA.csproj +++ b/MTC_Adapter/SCMA/SCMA.csproj @@ -141,7 +141,7 @@ - + @@ -398,7 +398,7 @@ - +