Exemple #1
0
        private void Get_RoSpec()
        {
            MSG_GET_ROSPECS          msg = new MSG_GET_ROSPECS();
            MSG_GET_ROSPECS_RESPONSE rsp = reader.GET_ROSPECS(msg, out msg_err, 12000);

            if (rsp != null)
            {
                textBox2.Text = rsp.ToString();
            }
            else if (msg_err != null)
            {
                textBox2.Text = msg_err.ToString();
            }
            else
            {
                textBox2.Text = "Command time out!";
            }
        }
Exemple #2
0
        /// <summary>
        /// Requests to the Reader to retrieve all the ROSpecs that have been configured at the Reader.
        /// </summary>
        private void Get_RoSpec()
        {
            MSG_GET_ROSPECS msg = new MSG_GET_ROSPECS();

            MSG_GET_ROSPECS_RESPONSE rsp = client.GET_ROSPECS(msg, out msg_err, 3000);


            if (rsp != null)
            {
                //textBox2.Text = rsp.ToString() + "\n";
                WriteMessage(rsp.ToString(), "Get_RoSpec");
            }
            else if (msg_err != null)
            {
                WriteMessage("Get_RoSpec " + msg_err.ToString() + "\n");
            }
            else
            {
                WriteMessage("Get_RoSpec Command time out!" + "\n");
            }
        }