Loading…

方法名称: mwrite_device_variable

方法ID: 0x40F9

方法标签: Write device variables

方法描述: Use this method to force device variables.


  • {
  • char status[3];
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • PUT_MESSAGE(literal_string(701));
  • _get_dev_var_value(literal_string(702),0,4167);
  • _get_dev_var_value(literal_string(703),0,resolve_record_ref(resolve_array_ref(269,device_variable_code),4847));
  • if (deviceVariables[device_variable_code].SIMULATED == 0)
  • {
  • process_abort();
  • }


请登录以获得完整内容