Exemplo n.º 1
0
 /// <summary>
 /// See adapter documentation in the Myro 3 developer manual.
 /// http://wiki.roboteducation.org/Myro_3.0_Developer_Manual
 /// </summary>
 public VectorAdapter(ServiceInfoType serviceRecord)
 {
     ServiceInfo = serviceRecord;
     opPort = DssEnvironment.ServiceForwarder<vector.VectorOperations>(new Uri(serviceRecord.Service));
     //if (opPort == null)
     //    throw new AdapterCreationException("Service forwarder port was null");
 }
Exemplo n.º 2
0
 public VectorAdapter(ServiceInfoType serviceRecord)
 {
     ServiceInfo = serviceRecord;
     opPort      = DssEnvironment.ServiceForwarder <vector.VectorOperations>(new Uri(serviceRecord.Service));
     //if (opPort == null)
     //    throw new AdapterCreationException("Service forwarder port was null");
 }