Testing OK, fatta pulizia commenti

This commit is contained in:
Samuele E. Locatelli
2018-08-24 12:54:14 +02:00
parent c3c4a5d9dc
commit 949a80fb62
-42
View File
@@ -114,12 +114,6 @@ namespace SCMA
/// </summary>
public class SlittaMag : element
{
#if false
/// <summary>
/// valore numero attivazioni/disattivazioni slitta magazzino
/// </summary>
public MTConnect.Event mSlittaMagCount;
#endif
/// <summary>
/// valore contatore (numero attivazioni/disattivazioni slitta magazzino)
/// </summary>
@@ -138,9 +132,6 @@ namespace SCMA
{
ident = baseElem.ident;
dataRefList = baseElem.dataRefList;
#if false
mSlittaMagCount = new MTConnect.Event(string.Format("{0}_Count", ident));
#endif
}
}
/// <summary>
@@ -148,12 +139,6 @@ namespace SCMA
/// </summary>
public class ProtMag : element
{
#if false
/// <summary>
/// valore numero attivazioni/disattivazioni valvola
/// </summary>
public MTConnect.Event mProtMagCount;
#endif
/// <summary>
/// valore contatore (numero attivazioni/disattivazioni valvola)
/// </summary>
@@ -172,9 +157,6 @@ namespace SCMA
{
ident = baseElem.ident;
dataRefList = baseElem.dataRefList;
#if false
mProtMagCount = new MTConnect.Event(string.Format("{0}_Count", ident));
#endif
}
}
/// <summary>
@@ -182,12 +164,6 @@ namespace SCMA
/// </summary>
public class Cooler : element
{
#if false
/// <summary>
/// Stato istantaneo (evento aperto/chiuso)
/// </summary>
public MTConnect.Event mCoolStatus;
#endif
/// <summary>
/// Stato: ACTIVE/INACTIVE
/// </summary>
@@ -206,9 +182,6 @@ namespace SCMA
{
ident = baseElem.ident;
dataRefList = baseElem.dataRefList;
#if false
mCoolStatus = new MTConnect.Event(string.Format("{0}_Status", ident));
#endif
}
}
/// <summary>
@@ -3886,9 +3859,6 @@ namespace SCMA
if (numero > 0)
{
currGateway.updateItemNodeValue(vettCooler[numero - 1].statusKey, status);
#if false
vettCooler[numero - 1].mCoolStatus.Value = status;
#endif
}
}
}
@@ -4909,9 +4879,6 @@ namespace SCMA
uint contTot = updateValUIntByIncr(i, delta, "SlittaMagazzino_{0:00}_Count");
// passo valore totale all'adapter
currGateway.updateItemNodeValue(vettSlittaMag[i].countKey, contTot);
#if false
vettSlittaMag[i].mSlittaMagCount.Value = contTot;
#endif
// controllo valore riferimento...
if (delta > 0)
{
@@ -4924,9 +4891,6 @@ namespace SCMA
currSlittaMag[i] = valore;
}
outString += string.Format("{0} | ", currGateway.itemNodes[vettSlittaMag[i].countKey]);
#if false
outString += string.Format("{0} | ", vettSlittaMag[i].mSlittaMagCount.Value);
#endif
}
// salvo su maschera...
parentForm.dataMonitor_2 += string.Format("{0}{1}", outString.Substring(0, outString.Length - 3), Environment.NewLine);
@@ -4957,9 +4921,6 @@ namespace SCMA
uint contTot = updateValUIntByIncr(i, delta, "ProtMagazzino_{0:00}_Count");
// passo valore totale all'adapter
currGateway.updateItemNodeValue(vettProtMag[i].countKey, contTot);
#if false
vettProtMag[i].mProtMagCount.Value = contTot;
#endif
// controllo valore riferimento...
if (delta > 0)
{
@@ -4972,9 +4933,6 @@ namespace SCMA
currProtMag[i] = valore;
}
outString += string.Format("{0} | ", currGateway.itemNodes[vettProtMag[i].countKey]);
#if false
outString += string.Format("{0} | ", vettProtMag[i].mProtMagCount.Value);
#endif
}
// salvo su maschera...
parentForm.dataMonitor_2 += string.Format("{0}{1}", outString.Substring(0, outString.Length - 3), Environment.NewLine);