public doCommandMessageResponse doCommandMessage(doCommandMessageRequest request) { _sensor.HandleCommandMessageRequest(request.CommandMessage); return(new doCommandMessageResponse()); }
public IAsyncResult BegindoCommandMessage(doCommandMessageRequest request, AsyncCallback callback, object asyncState) { return(Task.Run(() => _sensor.HandleCommandMessageRequest(request.CommandMessage))); }