Loading…

方法名称: ejx_method_chg_univ_rev

方法ID: 0x426C

方法标签: Chg universal rev

方法描述: Chg universal rev- Change the universal command revision.


  • {
  • long var_id[5];
  • long next_universal_rev;
  • long next_device_rev;
  • long object_universal_rev;
  • int cancel_flg;
  • int i;
  • char status[3];
  • char disp_string1[60];
  • int slen1;
  • slen1 = 60;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • _iassign(16565,0x5255);
  • _iassign(16566,0x01);
  • send(188,status);
  • if (status[0])
  • {
  • display_response_status(188,status[0]);
  • process_abort();
  • }
  • send(188,status);
  • send_command(187);
  • if (_ivar_value(16570) != 1)
  • {
  • ACKNOWLEDGE(literal_string(1139));
  • process_abort();
  • }
  • _get_dictionary_string(19726337,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • ACKNOWLEDGE(literal_string(1148));
  • _iassign(16565,0x5255);
  • _iassign(16566,0x02);
  • send(188,status);
  • if (status[0])
  • {
  • display_response_status(188,status[0]);
  • process_abort();
  • }
  • send(188,status);
  • send_command(187);


请登录以获得完整内容