Пример #1
0
    public static ZenSensorInitError ZenObtainSensorByName(ZenClientHandle_t clientHandle, string ioType, string sensorIdentifier, uint baudRate, ZenSensorHandle_t outSensorHandle)
    {
        ZenSensorInitError ret = (ZenSensorInitError)OpenZenPINVOKE.ZenObtainSensorByName(ZenClientHandle_t.getCPtr(clientHandle), ioType, sensorIdentifier, baudRate, ZenSensorHandle_t.getCPtr(outSensorHandle));

        if (OpenZenPINVOKE.SWIGPendingException.Pending)
        {
            throw OpenZenPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }