Loading…

方法名称: run_time_method

方法ID: 0x4322

方法标签: Days Powered Up

方法描述:


  • {
  • int i;
  • float x, fRoundingFactor;
  • long ids[2];
  • float qa, qb, qc, qd, qe; int q, q0, q1, q2, q3; char S[3];
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(1);
  • _set_resp_code((8),0);
  • send(151,S); if(_ivar_value(16804) > 1) { ACKNOWLEDGE("|en|The DD revision is not compatible with the firmware in the device.\nContact your Fisher sales office for an upgrade to your Device Description."); return; };
  • q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
  • send_command_trans(129, 20);
  • x = _ivar_value(16614);
  • i = x * 0.75 + fRoundingFactor;


请登录以获得完整内容