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