Cambio naming x adapter ESA di SCM (da replicare)

This commit is contained in:
Samuele Locatelli
2020-04-03 17:29:00 +02:00
parent bb7111439d
commit 01fbf2d7d8
3 changed files with 6 additions and 6 deletions
@@ -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
{
/// <summary>
/// Configurazione valori da leggere IOT_Byte
@@ -245,7 +245,7 @@ namespace SCMA
/// <param name="caller">FORM chaimante</param>
/// <param name="adpConf">CONFIGURAZIONE adapter</param>
/// <param name="gatewayObj">OGGETTO gestione comunicazione OUT (tipologia e metodi)</param>
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"));
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -141,7 +141,7 @@
<Compile Include="AdapterCom\GatewayMTC.cs" />
<Compile Include="AdapterCom\GatewaySOURS.cs" />
<Compile Include="AdapterConf.cs" />
<Compile Include="AdapterESA.cs" />
<Compile Include="AdapterPLC\SCM\ESA.cs" />
<Compile Include="AdapterOsai.cs" />
<Compile Include="AdapterSiemens.cs" />
<Compile Include="AdapterGeneric.cs" />
@@ -398,7 +398,7 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Folder Include="AdapterCNC\" />
<Folder Include="AdapterPLC\CMS\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.