Loading…

方法名称: method_dev_var_sim

方法ID: 0x4301

方法标签: Device variable simulation

方法描述: Enable device variable simulation


  • {
  • char status[3];
  • int ynans;
  • int mdfsa;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • _get_dev_var_value(literal_string(1983),0,16584);
  • _add_abort_method(17154);
  • do {
  • do {
  • _iassign(225,deviceVariables_simulation);
  • _iassign(226,0);
  • _iassign(227,0);
  • _iassign(228,0);
  • send(33,status);
  • if (status[0] != 0)
  • {
  • if (status[0] == 8 || status[0] == 14 || status[0] == 30)
  • {
  • ACKNOWLEDGE(literal_string(1960));
  • display_response_status(33,status[0]);
  • }


请登录以获得完整内容