Commit bad38614bdca4c797cd2d2947723cd04f9d4a2fd
1 parent
cafa1e36
Exists in
master
Fix #2 - Incluindo método para configurar o delay antes de marcar o terminal como "ready"
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
src/pw3270-sharp/pw3270-sharp.cs
@@ -432,6 +432,24 @@ namespace pw3270 { | @@ -432,6 +432,24 @@ namespace pw3270 { | ||
432 | } | 432 | } |
433 | } | 433 | } |
434 | 434 | ||
435 | + /// <summary> | ||
436 | + /// Set the "screen ready" delay | ||
437 | + /// </summary> | ||
438 | + /// | ||
439 | + public int SetUnlockDelay(int ms) { | ||
440 | + return tn3270_set_unlock_delay(hSession, ms); | ||
441 | + } | ||
442 | + | ||
443 | + /// <summary> | ||
444 | + /// Set the "screen ready" delay | ||
445 | + /// </summary> | ||
446 | + /// | ||
447 | + public int UnlockDelay { | ||
448 | + set { | ||
449 | + tn3270_set_unlock_delay(hSession, value); | ||
450 | + } | ||
451 | + } | ||
452 | + | ||
435 | 453 | ||
436 | /// <summary> | 454 | /// <summary> |
437 | /// Send "Enter" key | 455 | /// Send "Enter" key |