public static int tdSensor(IntPtr protocol, int protocolLength, IntPtr model, int modelLength, IntPtr id, IntPtr dataTypes) { if (isWindows) { return(WindowsWrapper.tdSensor(protocol, protocolLength, model, modelLength, id, dataTypes)); } else { return(UnixWrapper.tdSensor(protocol, protocolLength, model, modelLength, id, dataTypes)); } }