Loading…

方法名称: linearization_S1

方法ID: 0x4077

方法标签: Customer linearization S1

方法描述:


  • {
  • int intSensortype;
  • int result;
  • float loc_var;
  • int coeff_choice;
  • long ids[5];
  • float flAlpha;
  • float flBeta;
  • float flDelta;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • switch (_ivar_value(16390))
  • {
  • case 3:
  • _iassign(16532,0x30);
  • save_values();
  • send_command(145);
  • coeff_choice = SELECT_FROM_LIST(literal_string(499),literal_string(500));
  • ids[0] = 16509;
  • ids[1] = 16510;
  • ids[2] = 16511;
  • ids[3] = 16512;
  • if (coeff_choice == 0)
  • {
  • flAlpha = 0.0038505;


请登录以获得完整内容