private void GET_ACCESSSPEC() { MSG_GET_ACCESSSPECS msg = new MSG_GET_ACCESSSPECS(); MSG_GET_ACCESSSPECS_RESPONSE rsp = reader.GET_ACCESSSPECS(msg, out msg_err, 3000); if (rsp != null) { textBox2.Text = rsp.ToString(); } else if (msg_err != null) { textBox2.Text = msg_err.ToString(); } else { textBox2.Text = "Command time out!"; } }
private void GET_ACCESSSPEC() { MSG_GET_ACCESSSPECS msg = new MSG_GET_ACCESSSPECS(); MSG_GET_ACCESSSPECS_RESPONSE rsp = client.GET_ACCESSSPECS(msg, out msg_err, 3000); if (rsp != null) { //textBox2.Text = rsp.ToString() + "\n"; WriteMessage(rsp.ToString(), "GET_ACCESSSPEC"); } else if (msg_err != null) { readerMgr.AppendToDebugTextBox("GET_ACCESSSPEC " + msg_err.ToString() + "\n"); } else { readerMgr.AppendToDebugTextBox("GET_ACCESSSPEC Command time out!" + "\n"); } }