Loading…

Method Name: wizEntrymnuGasSetupAssistant

Method ID: 0x46E5

Method Label: Gas

Method Help: Starts configuration for gas applications.


  • {
  • 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_mnuGasSetupAssistant();
  • readCriticalParameters();
  • _add_abort_method(18597);
  • mnuGasSetupAssistant_mthInitGasSetup_Init();
  • do {
  • if (_curStep != _lastStep && _delay == 1)
  • {
  • DELAY_TIME(1);
  • _delay = 0;
  • }
  • switch (_curStep)
  • {
  • case 0:
  • {
  • currentPageString = literal_string(2373);
  • _MenuDisplay(18598,literal_string(2296),literal_string(2297));
  • _delay = 1;
  • mthPostPage_loc_mnuUnitsFlowVolumeAssistantGas();
  • _lastStep = _curStep;
  • _curStep = wizEvaluatePageResult(_curStep,_selection);
  • break;
  • }
  • case 1:
  • {
  • currentPageString = literal_string(2374);
  • _MenuDisplay(18599,literal_string(2299),literal_string(2297));
  • _delay = 1;
  • mthPostPage_loc_mnuProcessAssistantGas();
  • _lastStep = _curStep;
  • _curStep = wizEvaluatePageResult(_curStep,_selection);
  • break;
  • }
  • case 2:
  • {
  • currentPageString = literal_string(2375);
  • 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