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)
{
System.Xml.XmlElement el = parent.OwnerDocument.CreateElement ("DriverBoitierV1");
System.Xml.XmlElement xmlEl;
parent.AppendChild (el);

View file

@ -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);