Loading…

Method Name: ejx_method_test_key

Method ID: 0x4023

Method Label: Test Key

Method Help:


  • {
  • int i;
  • int j;
  • int k;
  • long var_id[3];
  • char status[3];
  • int choice;
  • char tmp_data[17];
  • long tmp_u[2];
  • long tmp_l[2];
  • long buf;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • _iassign(16568,0);
  • _iassign(16569,0);
  • while (1)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1315),literal_string(1316));
  • if (choice < 0 || 2 < choice)
  • {
  • process_abort();
  • }
  • _get_dev_var_value(literal_string(1317),0,16568);
  • _get_dev_var_value(literal_string(1318),0,16569);
  • send(188,status);
  • if (status[0])
  • {
  • display_response_status(188,status[0]);
  • process_abort();
  • }
  • else
  • {
  • switch (choice)
  • {
  • case 0:


Please login for more