示例#1
0
 public void jButton11_actionPerformed(ActionEvent actionEvent) {
   /*StructReturnMessage ci = rtc.GetNewMessage(Integer.parseInt(txt_AppID.
     getText()));
      if (ci != null) {
   memo1.append("AppID:" + ci.AppID + "\r\n");
   String FunctionCode = new String(ci.FunctionCode).trim();
   memo1.append("FunctionCode:" + FunctionCode + "\r\n");
   String ControlConde = new String(ci.ControlConde).trim();
   memo1.append("ControlConde:" + ControlConde + "\r\n");
   String SJQNR = new String(ci.SJQNR).trim();
   memo1.append("SJQNR:" + SJQNR + "\r\n");
      }*/
   List strReturnMessageList = rtc.GetNewListMessage(Integer.parseInt(txt_AppID.getText()));
   if (strReturnMessageList != null) {
     memo1.setEditable(true);
     memo1.append("AppID:" + txt_AppID.getText() + "\r\n");
     memo1.append("GetCount:" + strReturnMessageList.size() + "\r\n");
   }
 }