renvoie paramètres apres reconnexion V2

This commit is contained in:
manu 2014-05-01 14:01:52 +00:00
parent 68e3f9bb85
commit cd6ad218dd
3 changed files with 3 additions and 2 deletions

View file

@ -137,6 +137,7 @@ namespace DMX2
return;
}
serial = new SerialPort (portname, 460800, Parity.None, 8, StopBits.One);
Console.WriteLine (portname);
//serial.DtrEnable = false;
//serial.ReadTimeout = 200;
//serial.WriteTimeout = 200;
@ -195,7 +196,7 @@ namespace DMX2
if(!WaitForData (1)) {
return false;
}
paramFlag = true;
serial.Read(tmpBuffer,0,1);
if(tmpBuffer[0] == 65) return true;
return false;

View file

@ -5,7 +5,7 @@
<target-gtk-version>2.12</target-gtk-version>
</configuration>
<import>
<widget-library name="../bin/Release/DMX-2.0.exe" internal="true" />
<widget-library name="../bin/Debug/DMX-2.0.exe" internal="true" />
</import>
<icon-factory>
<icon-set id="tirettes">