org.symbian.tools.wrttools.previewer/preview/data/sensor_data.js
changeset 337 afe6a53c0ed4
parent 333 895153411a80
equal deleted inserted replaced
336:131c321bf080 337:afe6a53c0ed4
   234 			"ReadOnly":true,
   234 			"ReadOnly":true,
   235 			"PropertyValue":359
   235 			"PropertyValue":359
   236 		}
   236 		}
   237 	}
   237 	}
   238 };
   238 };
       
   239 
       
   240 var CHANNEL_ACCEL = 7;
       
   241 var CHANNEL_ACCELDT = 8;
       
   242 var CHANNEL_ORIENTATION = 10;
       
   243 var CHANNEL_ROTATION = 11;
       
   244 
   239 var data_all =[{
   245 var data_all =[{
   240 		"ChannelId":7,
   246 		"ChannelId":CHANNEL_ACCEL,
   241 		"ContextType":2,
   247 		"ContextType":2,
   242 		"Quantity":10,
   248 		"Quantity":10,
   243 		"ChannelType":270553214,
   249 		"ChannelType":270553214,
   244 		"Location":"NoLoc",
   250 		"Location":"NoLoc",
   245 		"VendorId":"Nokia",
   251 		"VendorId":"Nokia",
   246 		"DataItemSize":24,
   252 		"DataItemSize":24,
   247 		"ChannelDataTypeId":270553214
   253 		"ChannelDataTypeId":270553214
   248 		},
   254 		},
   249 		{
   255 		{
   250 		"ChannelId":8,
   256 		"ChannelId":CHANNEL_ACCELDT,
   251 		"ContextType":2,
   257 		"ContextType":2,
   252 		"Quantity":11,
   258 		"Quantity":11,
   253 		"ChannelType":270553217,
   259 		"ChannelType":270553217,
   254 		"Location":"NoLoc",
   260 		"Location":"NoLoc",
   255 		"VendorId":"Nokia",
   261 		"VendorId":"Nokia",
   256 		"DataItemSize":16,
   262 		"DataItemSize":16,
   257 		"ChannelDataTypeId":270553215
   263 		"ChannelDataTypeId":270553215
   258 		},
   264 		},
   259 		{
   265 		{
   260 		"ChannelId":10,
   266 		"ChannelId":CHANNEL_ORIENTATION,
   261 		"ContextType":3,
   267 		"ContextType":3,
   262 		"Quantity":12,
   268 		"Quantity":12,
   263 		"ChannelType":270553224,
   269 		"ChannelType":270553224,
   264 		"Location":"NoLoc",
   270 		"Location":"NoLoc",
   265 		"VendorId":"Nokia",
   271 		"VendorId":"Nokia",
   266 		"DataItemSize":16,
   272 		"DataItemSize":16,
   267 		"ChannelDataTypeId":270553224
   273 		"ChannelDataTypeId":270553224
   268 		},
   274 		},
   269 		{
   275 		{
   270 		"ChannelId":11,
   276 		"ChannelId":CHANNEL_ROTATION,
   271 		"ContextType":3,
   277 		"ContextType":3,
   272 		"Quantity":13,
   278 		"Quantity":13,
   273 		"ChannelType":270553225,
   279 		"ChannelType":270553225,
   274 		"Location":"NoLoc",
   280 		"Location":"NoLoc",
   275 		"VendorId":"Nokia",
   281 		"VendorId":"Nokia",
   276 		"DataItemSize":24,
   282 		"DataItemSize":24,
   277 		"ChannelDataTypeId":270553225
   283 		"ChannelDataTypeId":270553225
   278 		}];
   284 		}];
   279 		
   285 		
   280 var data_accelerometerAxis = [{
   286 var data_accelerometerAxis = [{
   281 		"ChannelId":7,
   287 		"ChannelId":CHANNEL_ACCEL,
   282 		"ContextType":2,
   288 		"ContextType":2,
   283 		"Quantity":10,
   289 		"Quantity":10,
   284 		"ChannelType":270553214,
   290 		"ChannelType":270553214,
   285 		"Location":"NoLoc",
   291 		"Location":"NoLoc",
   286 		"VendorId":"Nokia",
   292 		"VendorId":"Nokia",
   287 		"DataItemSize":24,
   293 		"DataItemSize":24,
   288 		"ChannelDataTypeId":270553214
   294 		"ChannelDataTypeId":270553214
   289 		}];
   295 		}];
   290 		
   296 		
   291 var data_accelerometerDoubleTapping = [{
   297 var data_accelerometerDoubleTapping = [{
   292 		"ChannelId":8,
   298 		"ChannelId":CHANNEL_ACCELDT,
   293 		"ContextType":2,
   299 		"ContextType":2,
   294 		"Quantity":11,
   300 		"Quantity":11,
   295 		"ChannelType":270553217,
   301 		"ChannelType":270553217,
   296 		"Location":"NoLoc",
   302 		"Location":"NoLoc",
   297 		"VendorId":"Nokia",
   303 		"VendorId":"Nokia",
   298 		"DataItemSize":16,
   304 		"DataItemSize":16,
   299 		"ChannelDataTypeId":270553215
   305 		"ChannelDataTypeId":270553215
   300 		}];
   306 		}];
   301 		
   307 		
   302 var data_orientation = [{
   308 var data_orientation = [{
   303 		"ChannelId":10,
   309 		"ChannelId":CHANNEL_ORIENTATION,
   304 		"ContextType":3,
   310 		"ContextType":3,
   305 		"Quantity":12,
   311 		"Quantity":12,
   306 		"ChannelType":270553224,
   312 		"ChannelType":270553224,
   307 		"Location":"NoLoc",
   313 		"Location":"NoLoc",
   308 		"VendorId":"Nokia",
   314 		"VendorId":"Nokia",
   309 		"DataItemSize":16,
   315 		"DataItemSize":16,
   310 		"ChannelDataTypeId":270553224
   316 		"ChannelDataTypeId":270553224
   311 		}];
   317 		}];
   312 		
   318 		
   313 var data_rotation = [{
   319 var data_rotation = [{
   314 		"ChannelId":11,
   320 		"ChannelId":CHANNEL_ROTATION,
   315 		"ContextType":3,
   321 		"ContextType":3,
   316 		"Quantity":13,
   322 		"Quantity":13,
   317 		"ChannelType":270553225,
   323 		"ChannelType":270553225,
   318 		"Location":"NoLoc",
   324 		"Location":"NoLoc",
   319 		"VendorId":"Nokia",
   325 		"VendorId":"Nokia",