Loading…

Method Name: EnableDisableBlockageDetectionMethod

Method ID: 0x4169

Method Label:

Method Help:


  • {
  • int isBlockageDetectionFeatureActive;
  • int isBlockageDetectionEnabled;
  • 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);
  • isBlockageDetectionFeatureActive = _ivar_value(16469);
  • isOptionalContinuousFlowAnalysisEnabled = _ivar_value(16515);
  • if (isBlockageDetectionFeatureActive == 0)
  • {
  • if (isOptionalContinuousFlowAnalysisEnabled == 0)
  • {
  • result = SELECT_FROM_LIST(literal_string(1964),literal_string(1928));
  • if (result == 0)
  • {
  • id[0] = 16510;
  • ACKNOWLEDGE(literal_string(1965));
  • _get_dev_var_value(literal_string(1966),0,16510);
  • send(157,status);
  • if (status[0] > 0)
  • {
  • switch (status[0])
  • {
  • case 5:


Please login for more