fix visualizzazione prima colonna (con MST sovrascriveva area gialla...)

This commit is contained in:
Samuele E. Locatelli
2017-05-02 15:49:48 +02:00
parent c646a04343
commit fc699f356f
+7 -1
View File
@@ -2339,10 +2339,16 @@ namespace MTC_Adapter
{
// aggiungo dettaglio valori ultimi codici MST
StringBuilder sb = new StringBuilder();
string codM = "";
string codS = "";
string codT = "";
for (int i = 0; i < currAdpConf.nPath; i++)
{
codM = vettPath[i].mPathCodM.Value.ToString().Replace("UNAVAILABLE", "n.d.");
codS = vettPath[i].mPathCodS.Value.ToString().Replace("UNAVAILABLE", "n.d.");
codT = vettPath[i].mPathCodT.Value.ToString().Replace("UNAVAILABLE", "n.d.");
// accodo ultimi codici in visualizzazione...
sb.AppendLine(string.Format("P{0} last MST: {1} | {2} | {3}", i + 1, vettPath[i].mPathCodM.Value, vettPath[i].mPathCodS.Value, vettPath[i].mPathCodT.Value));
sb.AppendLine(string.Format("P{0} last MST: {1} | {2} | {3}", i + 1, codM, codS, codT));
}
parentForm.dataMonitor_1 += sb.ToString();