riallineamento

This commit is contained in:
Samuele E. Locatelli
2017-06-26 15:27:11 +02:00
parent 7bcb2d752e
commit c702bbde27
8 changed files with 29 additions and 19 deletions
+12 -2
View File
@@ -597,6 +597,7 @@ namespace MTC_Adapter
lg.Error("Errore connessione mancante in getIotMem_Word");
}
StringBuilder sb = new StringBuilder();
int numAlarmCNC = 0;
int numero = 0;
int byteNum = 0;
@@ -774,6 +775,13 @@ namespace MTC_Adapter
}
}
}
// verifico se nei mandini ho un tool e quanti cambi...
for (int i = 0; i < vettUnOp.Length; i++)
{
if (vettUnOp[i].mUnOpToolId.Value.ToString() != "") sb.AppendLine(string.Format("UnOp_{0}: ToolId: {1} | NumCU: {2}", i+1, vettUnOp[i].mUnOpToolId.Value, vettUnOp[i].mUnOpNumCU.Value));
}
// update form!
parentForm.dataMonitor_2 += sb.ToString();
}
/// <summary>
/// Carica ed acquisisce dati del buffer DWORD (32 bit) di memoria
@@ -986,7 +994,7 @@ namespace MTC_Adapter
sb.AppendLine(string.Format("{0}: {1}", mapIOT_String[j].varName, valString));
}
// update form!
parentForm.dataMonitor_1 += sb.ToString();
parentForm.dataMonitor_2 += sb.ToString();
}
public override void getGlobalData()
{
@@ -1000,6 +1008,8 @@ namespace MTC_Adapter
{
// inizializzo data monitor su FORM
parentForm.dataMonitor_1 = "";
parentForm.dataMonitor_2 = "";
parentForm.dataMonitor_3 = "";
// recupero le varie memorie (prima string che mi serve x area selezionata --> programma selezionato)
getIotMem_String();
@@ -1107,7 +1117,7 @@ namespace MTC_Adapter
prevDirAxis[i] = newDir;
}
parentForm.dataMonitor_1 += sb.ToString();
parentForm.dataMonitor_3 += sb.ToString();
}
}
}
+3 -1
View File
@@ -2,6 +2,7 @@
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<!--clock di base update...-->
<add key="timerIntMs" value="5" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="fastCount" value="20" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="normCount" value="50" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
@@ -13,11 +14,12 @@
<add key="autoLoadConf" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="procIotMem" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="2" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<!--COMMENTATO IN DEBUG LOCALE-->
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="recTime" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="ipPLC" value="192.168.139.1" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="2" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
</appSettings>
</configuration>
+3 -1
View File
@@ -2,6 +2,7 @@
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<!--clock di base update...-->
<add key="timerIntMs" value="10" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="fastCount" value="20" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="normCount" value="100" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
@@ -13,11 +14,12 @@
<add key="autoLoadConf" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="procIotMem" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="2" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<!--COMMENTATO IN DEBUG LOCALE-->
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="recTime" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="ipPLC" value="192.168.139.1" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="2" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
</appSettings>
</configuration>
@@ -2,6 +2,7 @@
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<!--clock di base update...-->
<add key="timerIntMs" value="5" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="fastCount" value="60" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="normCount" value="150" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
@@ -13,11 +14,12 @@
<add key="autoLoadConf" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="procIotMem" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="3" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<!--COMMENTATO IN DEBUG LOCALE-->
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="recTime" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="ipPLC" value="192.168.214.1" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="3" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
</appSettings>
</configuration>
+2 -2
View File
@@ -2,6 +2,7 @@
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<!--clock di base update...-->
<add key="timerIntMs" value="10" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="fastCount" value="20" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="normCount" value="50" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
@@ -14,12 +15,11 @@
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="procIotMem" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="cycleWatchDog" value="2" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<!--clock di base update...-->
<add key="timerIntMs" value="10" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<!--COMMENTATO IN DEBUG LOCALE-->
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="recTime" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="ipPLC" value="127.0.0.1" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
</appSettings>
</configuration>
+3 -9
View File
@@ -168,15 +168,9 @@
<None Include="DATA\DAT\PersistData.dat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Resources\CMS\AnalogDataSIEMENS.map">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Resources\CMS\AnalogDataFANUC.map">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Resources\CMS\AnalogDataOSAI.map">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Resources\CMS\AnalogDataSIEMENS.map" />
<None Include="Resources\CMS\AnalogDataFANUC.map" />
<None Include="Resources\CMS\AnalogDataOSAI.map" />
<None Include="Resources\CMS\Appunti CMS OSAI.txt" />
<None Include="Resources\CMS\OSAI.xml">
<SubType>Designer</SubType>
+1 -1
View File
@@ -42,7 +42,7 @@ echo SCM: copio files SCM - Rimini
del %2"Resources\MTCA.ico"
del %2"DATA\CONF\Adapter_ItemList.xml"
del %2"DATA\CONF\AlarmList.map"
del %2"DATA\CONF\EsaKvara.ini"
REM del %2"DATA\CONF\EsaKvara.ini"
del %2"DATA\CONF\IOT_ByteList.map"
del %2"DATA\CONF\IOT_WordList.map"
del %2"DATA\CONF\IOT_DWordList.map"
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("1.5.9999.129")]
[assembly: AssemblyFileVersion("1.5.9999.129")]
[assembly: AssemblyVersion("1.5.9999.141")]
[assembly: AssemblyFileVersion("1.5.9999.141")]
[assembly: AssemblyCopyright("Steamware-CMS-SCM © 2015-2017")]
[assembly: AssemblyCompany("Steamware-CMS-SCM")]