(function(e,c,d){var b="Rho.SmartCradle";var a=d.apiReqFor(b);function f(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][d.rhoIdParam()]){if(b!=arguments[0][d.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][d.rhoIdParam()]}else{g=d.nextId()}}d.createPropsProxy(f.prototype,[],a,function(){return this.getId()});d.createMethodsProxy(f.prototype,[],a,function(){return this.getId()});d.createRawPropsProxy(f.prototype,[]);f.SMART_CRADLE_FAST="fast";f.SMART_CRADLE_SLOW="slow";d.createPropsProxy(f,[{propName:"chargeState",propAccess:"rw"},{propName:"rowId",propAccess:"rw"},{propName:"columnId",propAccess:"rw"},{propName:"wallId",propAccess:"rw"},{propName:"hardwareId",propAccess:"r"},{propName:"partNumber",propAccess:"r"},{propName:"serialNumber",propAccess:"r"},{propName:"mfgDate",propAccess:"r"},{propName:"driverVersion",propAccess:"r"},{propName:"cApiVersion",propAccess:"r"},{propName:"firmwareVersion",propAccess:"r"}],a);d.createMethodsProxy(f,[{methodName:"unlock",nativeName:"unlock",valueCallbackIndex:3},{methodName:"unlockEx",nativeName:"unlockEx",valueCallbackIndex:1},{methodName:"flashLed",nativeName:"flashLed",valueCallbackIndex:1},{methodName:"getProperty",nativeName:"getProperty",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"getProperties",nativeName:"getProperties",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"getAllProperties",nativeName:"getAllProperties",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"setProperty",nativeName:"setProperty",valueCallbackIndex:2},{methodName:"setProperties",nativeName:"setProperties",valueCallbackIndex:1}],a);d.namespace(b,f)})(Rho.jQuery,Rho,Rho.util);