Loading…

Method Name: change_pressure_unit_method

Method ID: 0x4D12

Method Label: Pressure Unit

Method Help:


  • {
  • char status[3];
  • int response;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • response = SELECT_FROM_LIST(literal_string(1254),literal_string(1255));
  • if (response == 0)
  • {
  • _iassign(resolve_record_ref(resolve_array_ref(269,4),190),7);
  • _iassign(resolve_record_ref(resolve_array_ref(269,5),190),7);
  • _iassign(resolve_record_ref(resolve_array_ref(269,2),190),7);
  • _iassign(resolve_record_ref(resolve_array_ref(269,3),190),7);
  • }
  • if (response == 1)
  • {
  • _iassign(resolve_record_ref(resolve_array_ref(269,4),190),6);
  • _iassign(resolve_record_ref(resolve_array_ref(269,5),190),6);
  • _iassign(resolve_record_ref(resolve_array_ref(269,2),190),6);
  • _iassign(resolve_record_ref(resolve_array_ref(269,3),190),6);


Please login for more