From bad38614bdca4c797cd2d2947723cd04f9d4a2fd Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 11 Apr 2017 16:05:02 -0300 Subject: [PATCH] Fix #2 - Incluindo método para configurar o delay antes de marcar o terminal como "ready" --- src/pw3270-sharp/pw3270-sharp.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) diff --git a/src/pw3270-sharp/pw3270-sharp.cs b/src/pw3270-sharp/pw3270-sharp.cs index fc55098..df7d9f9 100644 --- a/src/pw3270-sharp/pw3270-sharp.cs +++ b/src/pw3270-sharp/pw3270-sharp.cs @@ -432,6 +432,24 @@ namespace pw3270 { } } + /// + /// Set the "screen ready" delay + /// + /// + public int SetUnlockDelay(int ms) { + return tn3270_set_unlock_delay(hSession, ms); + } + + /// + /// Set the "screen ready" delay + /// + /// + public int UnlockDelay { + set { + tn3270_set_unlock_delay(hSession, value); + } + } + /// /// Send "Enter" key -- libgit2 0.21.2