This commit is contained in:
manu 2013-12-27 16:39:34 +00:00
parent 91a007d896
commit e15f238ef3
2 changed files with 3 additions and 8 deletions

View file

@ -286,7 +286,6 @@ namespace DMX2
public override void Save (System.Xml.XmlElement parent) public override void Save (System.Xml.XmlElement parent)
{ {
System.Xml.XmlElement el = parent.OwnerDocument.CreateElement ("DriverBoitierV1"); System.Xml.XmlElement el = parent.OwnerDocument.CreateElement ("DriverBoitierV1");
System.Xml.XmlElement xmlEl;
parent.AppendChild (el); parent.AppendChild (el);

View file

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