diff --git a/DMX-2.0/DriverBoitierV1.cs b/DMX-2.0/DriverBoitierV1.cs index 0e3947d..430e25f 100644 --- a/DMX-2.0/DriverBoitierV1.cs +++ b/DMX-2.0/DriverBoitierV1.cs @@ -286,7 +286,6 @@ namespace DMX2 public override void Save (System.Xml.XmlElement parent) { System.Xml.XmlElement el = parent.OwnerDocument.CreateElement ("DriverBoitierV1"); - System.Xml.XmlElement xmlEl; parent.AppendChild (el); diff --git a/DMX-2.0/DriverBoitierV2.cs b/DMX-2.0/DriverBoitierV2.cs index 8ee47be..de2d508 100644 --- a/DMX-2.0/DriverBoitierV2.cs +++ b/DMX-2.0/DriverBoitierV2.cs @@ -23,9 +23,6 @@ namespace DMX2 Fin } - bool[] buttons = new bool[8]; - bool[] watchButtons = new bool[8]; - const int timeout = 200; // tampons Entrée/Sortie @@ -191,7 +188,7 @@ namespace DMX2 void MainLoop () { - DateTime t = DateTime.Now; + //DateTime t = DateTime.Now; while (etat != etatAutomate.Fin) { try { switch (etat) { @@ -201,8 +198,8 @@ namespace DMX2 break; case etatAutomate.Transmission: finAttente = DateTime.Now.AddMilliseconds (22); - Console.WriteLine(DateTime.Now-t); - t = DateTime.Now; + //Console.WriteLine(DateTime.Now-t); + //t = DateTime.Now; EnvoiTrame (); Reception (); Attente (finAttente); @@ -482,7 +479,6 @@ namespace DMX2 public override void Save (System.Xml.XmlElement parent) { System.Xml.XmlElement el = parent.OwnerDocument.CreateElement ("DriverBoitierV2"); - System.Xml.XmlElement xmlEl; parent.AppendChild (el);