예제 #1
0
        private void OnRaiseOBDSensorData(object sender, OBDSensorDataEventArgs e)
        {
            EventHandler <OBDSensorDataEventArgs> handler = RaiseOBDSensorData;

            // Only execute if there are any subscribers
            if (handler != null)
            {
                handler(sender, e);
            }
        }
예제 #2
0
파일: PIDSensor.cs 프로젝트: vstrien/KOCus
        protected virtual void OnRaiseOBDSensorData(OBDSensorDataEventArgs eventArgs)
        {
            EventHandler <OBDSensorDataEventArgs> handler = RaiseOBDSensorData;

            // Only execute if there are any subscribers
            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
예제 #3
0
파일: PIDSensor.cs 프로젝트: vstrien/KOCus
        protected virtual void OnRaiseOBDSensorData(OBDSensorDataEventArgs eventArgs)
        {
            EventHandler<OBDSensorDataEventArgs> handler = RaiseOBDSensorData;

            // Only execute if there are any subscribers
            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
예제 #4
0
        private void OnRaiseOBDSensorData(object sender, OBDSensorDataEventArgs e)
        {
            EventHandler<OBDSensorDataEventArgs> handler = RaiseOBDSensorData;

            // Only execute if there are any subscribers
            if (handler != null)
            {
                handler(sender, e);
            }
        }