Loading…

Method Name: wizEntrymnuFadSetupAssistant

Method ID: 0x46E2

Method Label: FAD

Method Help: Starts configuration for Free Air Delivery application.


  • {
  • int _lastStep;
  • int _curStep;
  • int _selection;
  • int _delay;
  • _lastStep = 0;
  • _curStep = 0;
  • _selection = 0;
  • _delay = 1;
  • _set_comm_status(0x7F,0);
  • _set_device_status(0xFF,0);
  • ActivateAssistantMode();
  • mthMakeBackup_mnuFadSetupAssistant();
  • readCriticalParameters();
  • _add_abort_method(18419);
  • mnuFadSetupAssistant_mthInitFadSetup_Init();
  • do {
  • if (_curStep != _lastStep && _delay == 1)
  • {
  • DELAY_TIME(1);
  • _delay = 0;
  • }
  • switch (_curStep)
  • {
  • case 0:
  • {
  • currentPageString = literal_string(2332);
  • _MenuDisplay(18420,literal_string(2296),literal_string(2297));
  • _delay = 1;
  • mthPostPage_loc_mnuUnitsFlowVolumeAssistantFad();
  • _lastStep = _curStep;
  • _curStep = wizEvaluatePageResult(_curStep,_selection);
  • break;
  • }
  • case 1:
  • {
  • currentPageString = literal_string(2333);
  • _MenuDisplay(18421,literal_string(2299),literal_string(2297));
  • _delay = 1;
  • mthPostPage_loc_mnuProcessAssistantFAD();
  • _lastStep = _curStep;
  • _curStep = wizEvaluatePageResult(_curStep,_selection);
  • break;
  • }
  • case 2:
  • {
  • currentPageString = literal_string(2334);
  • if (TypeMeter == 1 || TypeMeter == 2 || TypeMeter == 3)
  • {
  • _MenuDisplay(18158,literal_string(2299),literal_string(2297));
  • mthPostPage_locInputCurrentSetup();
  • _delay = 1;
  • }
  • else
  • {
  • if (_lastStep <= _curStep)
  • {
  • _curStep = _curStep + 1;
  • }
  • else
  • {
  • _curStep = _curStep - 1;
  • }
  • break;


Please login for more