Loading…

Method Name: EnableDisableLiquidDetectionMethod

Method ID: 0x417D

Method Label:

Method Help:


  • {
  • int isLiquidDetectionFeatureActive;
  • int isLiquidDetectionEnabled;
  • int isOptionalContinuousFlowAnalysisEnabled;
  • int result;
  • long id[1];
  • char status[3];
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • isLiquidDetectionFeatureActive = _ivar_value(16766);
  • isOptionalContinuousFlowAnalysisEnabled = _ivar_value(16762);
  • if (isLiquidDetectionFeatureActive == 0)
  • {
  • if (isOptionalContinuousFlowAnalysisEnabled == 0)
  • {
  • result = SELECT_FROM_LIST(literal_string(1022),literal_string(979));
  • if (result == 0)
  • {
  • id[0] = 16763;
  • ACKNOWLEDGE(literal_string(1023));
  • _get_dev_var_value(literal_string(1024),0,16763);
  • send(157,status);
  • if (status[0] > 0)
  • {
  • switch (status[0])


Please login for more