Пример #1
0
 public void SetCurrentFuelMap(byte[] fuelmapdata)
 {
     // copy the data
     fuelmap = new byte[fuelmapdata.Length];
     for (int t = 0; t < fuelmapdata.Length; t++)
     {
         fuelmap[t] = fuelmapdata[t];
     }
     // and create a correction counter map with all 0's
     fuelcorrectioncountermap = new int[fuelmapdata.Length];
     for (int i = 0; i < fuelcorrectioncountermap.Length; i++)
     {
         fuelcorrectioncountermap[i] = 0; // initialize
     }
     m_FuelMapInformation.SetOriginalFuelMap(fuelmapdata);
 }