protected virtual void OnMessageDataExchange(UnitInfoDataResp message) { var handler = UnitInfoDataRespExchange; if (handler != null) { handler(this, new DataExchangeRespEventArgs(message)); } }
public DataExchangeRespEventArgs(UnitInfoDataResp message) { UnitInfoDataRespMessage = message; }