Loading…

方法名称: change_pressure_unit_method

方法ID: 0x4D12

方法标签: Pressure Unit

方法描述:


  • {
  • 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);


请登录以获得完整内容