/// <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"); }
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"); }