public void GetIgnitionConfiguration() { GetIgnitionConfigurationResponse response = (GetIgnitionConfigurationResponse)SendCommand(new GetIgnitionConfigurationCommand()); if (response != null) { IgnitionMap.Populate(response); } }
internal void Populate(GetIgnitionConfigurationResponse response) { LoadInProgress = true; PopulateLoadBins(response.LoadBins.ToArray()); PopulateRpmBins(response.RpmBins.ToArray()); PopulateIgnitionMap(response.IgnitionMap); UserOutput1.Populate(response.UserOutput1); UserOutput2.Populate(response.UserOutput2); UserOutput3.Populate(response.UserOutput3); UserOutput4.Populate(response.UserOutput4); ShiftLightThreshold = response.ShiftLightThreshold; RevLimitThreshold = response.RevLimitThreshold; AdvanceCorrection.Populate(response.AdvanceCorrectionBins, response.AdvanceCorrectionValues, response.PeakHoldCount); LoadInProgress = false; SavedState = SavedStates.SavedToController | SavedStates.WrittenToFlash; }