public static ZenError ZenSensorSetUInt64Property(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, int property, uint value) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorSetUInt64Property(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), property, value); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenShutdown(ZenClientHandle_t handle) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenShutdown(ZenClientHandle_t.getCPtr(handle)); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenSensorSetArrayProperty(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, int property, ZenPropertyType type, SWIGTYPE_p_void buffer, uint bufferSize) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorSetArrayProperty(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), property, (int)type, SWIGTYPE_p_void.getCPtr(buffer), bufferSize); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenSensorGetUInt64Property(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, int property, SWIGTYPE_p_unsigned_long outValue) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorGetUInt64Property(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), property, SWIGTYPE_p_unsigned_long.getCPtr(outValue)); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenSensorComponentsByNumber(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, string type, uint number, ZenComponentHandle_t outComponentHandle) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorComponentsByNumber(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), type, number, ZenComponentHandle_t.getCPtr(outComponentHandle)); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenSensorComponents(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, string type, SWIGTYPE_p_p_ZenComponentHandle outComponentHandles, SWIGTYPE_p_size_t outLength) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorComponents(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), type, SWIGTYPE_p_p_ZenComponentHandle.getCPtr(outComponentHandles), SWIGTYPE_p_size_t.getCPtr(outLength)); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenPublishEvents(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, string endpoint) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenPublishEvents(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), endpoint); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ZenError ZenSetLogLevel(ZenLogLevel logLevel) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenSetLogLevel((int)logLevel); return(ret); }
public static ZenError ZenInit(ZenClientHandle_t outHandle) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenInit(ZenClientHandle_t.getCPtr(outHandle)); return(ret); }