imBMW.iBus.Devices.Real.InstrumentClusterElectronics.OnTemperatureChanged C# (CSharp) Method

OnTemperatureChanged() private static method

private static OnTemperatureChanged ( sbyte outside, sbyte coolant ) : void
outside sbyte
coolant sbyte
return void
        private static void OnTemperatureChanged(sbyte outside, sbyte coolant)
        {
            if (TemperatureOutside == outside && TemperatureCoolant == coolant)
            {
                return;
            }
            TemperatureOutside = outside;
            TemperatureCoolant = coolant;
            var e = TemperatureChanged;
            if (e != null)
            {
                e(new TemperatureEventArgs(outside, coolant));
            }
        }