/// <summary> /// Dump fields to the current audit output /// </summary> public void ShowFields() { if (currentConnection == null) { throw new TNHostException("TNEmulator is not connected", "There is no currently open TN3270 connection", null); } if (sout != null) { sout.WriteLine("-------------------dump screen data -----------------"); currentConnection.ExecuteAction(false, "Fields"); sout.WriteLine("" + currentConnection.GetAllStringData(false)); this.CurrentScreenXML.Dump(sout); sout.WriteLine("-------------------dump screen end -----------------"); } else { throw new ApplicationException("ShowFields requires an active 'Audit' connection on the emulator"); } }
/// <summary> /// Dump fields to the current audit output /// </summary> public void ShowFields() { if (currentConnection == null) { throw new TNHostException("Terminal não está conectado", "Não existe conexão com terminal 3270 aberta", null); } if (sout != null) { sout.WriteLine("-------------------dump screen data -----------------"); currentConnection.ExecuteAction(false, "Fields"); sout.WriteLine("" + currentConnection.GetAllStringData(false)); this.CurrentScreenObject.Dump(sout); sout.WriteLine("-------------------dump screen end -----------------"); } else { throw new ApplicationException("ShowFields requires an active 'Audit' connection on the emulator"); } }