Loading…

方法名称: met_edit_base_height

方法ID: 0x407E

方法标签: Change Base Height

方法描述: Base Height is a Distance between a sensor base plane and Tank Bottom


  • {
  • unsigned short temp_short;
  • unsigned short temp_short_2;
  • unsigned short temp_short_3;
  • float oldValue;
  • float newValue;
  • float tempFloat;
  • temp_short = met_mo_get(12);
  • oldValue = met_m_from_internal_format(temp_short);
  • tempFloat = oldValue;
  • _get_local_var_value(literal_string(558),0,literal_string(559));
  • base_height = tempFloat;
  • temp_short_2 = met_m_to_internal_format(tempFloat);
  • temp_short_3 = met_mo_set(12,temp_short_2);
  • newValue = met_m_from_internal_format(temp_short_3);


请登录以获得完整内容