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