예제 #1
0
 /// <summary>
 /// 封装后的事件触发
 /// </summary>
 /// <param name="b"></param>
 protected virtual void OnDataReceivedEx(byte[] b)
 {
     if (DataReceivedEx != null)
     {
         DataReceivedEx.Invoke(b);
     }
 }
예제 #2
0
 /// <summary>
 /// 封装后的事件触发
 /// </summary>
 /// <param name="b"></param>
 protected virtual void OnDataReceivedEx(byte[] b)
 {
     DataReceivedEx?.Invoke(b);
 }