lib/temp_files/oa_managed_device.js
function saveCollectedDeviceData(results) {
        self.log('Finished Collecting Data from Device:', self.handle);

        // Loop through each of the results.
        results.forEach(function(result) {
            // De-reference the actual data
            var data = result.data;

            // Determine what register was saved
            var name = data.name;

            // Save the data to the cached device results object.
            self.cachedDeviceResults[name] = data;
        });
    }
function saveCollectedDeviceData(results) {
        self.log('Finished Collecting Data from Device:', self.handle);

        // Loop through each of the results.
        results.forEach(function(result) {
            // De-reference the actual data
            var data = result.data;

            // Determine what register was saved
            var name = data.name;

            // Save the data to the cached device results object.
            self.cachedDeviceResults[name] = data;
        });
    }
function saveCollectedDeviceData ( results ) { self . log ( 'Finished Collecting Data from Device:' , self . handle ) ; // Loop through each of the results. results . forEach ( function ( result ) { // De-reference the actual data var data = result . data ; // Determine what register was saved var name = data . name ; // Save the data to the cached device results object. self . cachedDeviceResults [ name ] = data ; } ) ; }
Save Data to the cached device results object...
Save Data to the cached device results object ...