示例#1
0
 /// <summary>
 /// Trigger für das Event 'System-Ereignis'
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnRaiseGsmSystemEvent(GsmEventArgs e)
 {
     // Make a temporary copy of the event to avoid possibility of
     // a race condition if the last subscriber unsubscribes
     // immediately after the null check and before the event is raised.
     RaiseGsmSystemEvent?.Invoke(this, e);
 }
示例#2
0
 /// <summary>
 /// Triggert das Event 'string empfangen von COM'
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnRaiseGsmRecEvent(GsmEventArgs e)
 {
     RaiseGsmRecEvent?.Invoke(this, e);
 }