This commit is contained in:
tzim 2014-02-11 15:33:05 +00:00
parent f7a7920bce
commit 5e4dc24e8b

View file

@ -299,9 +299,9 @@ namespace DMX2
if (DateTime.Now > nextMaj ) { if (DateTime.Now > nextMaj ) {
nextMaj = DateTime.Now.AddMilliseconds(500); nextMaj = DateTime.Now.AddMilliseconds(500);
StringBuilder str = new StringBuilder (); StringBuilder str = new StringBuilder ();
bool a = false; int val; bool a = false;
foreach (Circuit c in sequenceur.Circuits) { foreach (Circuit c in sequenceur.Circuits) {
if ((val=sequenceur.ValeurCircuit (c)) > 0) { if (sequenceur.ValeurCircuit (c) > 0) {
if (sequenceur.EstActif (c) != a) { if (sequenceur.EstActif (c) != a) {
if(!a){ if(!a){
str.Append ("<span foreground='#FF8888'>"); str.Append ("<span foreground='#FF8888'>");
@ -311,7 +311,7 @@ namespace DMX2
a = false; a = false;
} }
} }
str.Append (string.Format("{0}({1}) ",c.ID,val)); str.Append (c.ID); str.Append (' ');
} }
} }
if (a) { if (a) {