Loading…

Method Name: MthoflSetEntriesConversion

Method ID: 0x41AB

Method Label: Set Entries

Method Help: Sets entries in the conversion table (i.e. insert new, edit existing).


  • {
  • int index;
  • int iterator;
  • int countEntriesLocal;
  • int result;
  • int optSelected;
  • int isExistingEntry;
  • int isValidEntry;
  • int isValidTable;
  • int isCheckAdjustedMonotony;
  • int isMonotonicallyIncreasing;
  • iterator = 0;
  • index = 0;
  • isExistingEntry = 1 == 0;
  • isValidEntry = 1 == 0;
  • isValidTable = 1 == 0;
  • isCheckAdjustedMonotony = eProbeTypeTmpProcessTemperature == 245;
  • countEntriesLocal = countEntriesConversionActual;
  • do {
  • do {
  • if (countEntriesLocal == 0)
  • {
  • entryConversionEdit.VALUE_RAW = valueRawConversionMin;
  • entryConversionEdit.VALUE_ADJUSTED = valueAdjustedConversionMin;
  • }
  • if (countEntriesLocal == 1)
  • {
  • entryConversionEdit.VALUE_RAW = valueRawConversionMax;
  • entryConversionEdit.VALUE_ADJUSTED = valueAdjustedConversionMax;
  • }
  • result = _MenuDisplay(16812,literal_string(1222),literal_string(1217));
  • if (result == 0 && optSelected == 0)
  • {
  • iterator = 0;
  • index = 0;


Please login for more