W3C home > Mailing lists > Public > public-autowebplatform@w3.org > May 2014

Vehicle Information API Draft : Data type & domains

From: <Daniel.Jutras@continental-corporation.com>
Date: Thu, 22 May 2014 12:29:33 +0200
To: public-autowebplatform@w3.org
Message-ID: <OF875E4208.6C45D83D-ONC1257CE0.00384CB6-C1257CE0.0039A39D@continental-corporation.com>
Hello All

This is some remarks concerning the data domain/data type.  In my opinion 
it should be easier to developer to deal with only measurementUnit (SI). 
If an another mesurement Unit  is required, for example for displaying 
purpose or for aligment to regionnal settings,  it should be converted by 
a presentation layer . That way we may  avoid possible  ambiguity in the 

interface SizeConfiguration
width, height length can be an integer in Millimeter.

meter/second can be more accurate.  100,000 is to huge and can not be hold 
in a 16 bits unsigned short. 

100,000 is to huge and can not be hold in a 16 bits unsigned short. 65000 
as a max should be ok

Range: 0 - 10,000,000 in 16 bits is not possible

interface TripMeter 
averageSpeed & fuelConsumption must be a float for accuracy
distance the range (0 - 100000000) is to huge to be hold by an unsigned 

interface diagnostic
unsigned short is not enough to store the max value of any attributes

interface Fuel
to be more accurate averageConsumption/fuelConsumedSinceRestart/ must be a 
float  (i.e. 4.7 / 100 km)

if required, must be iso 639-1 in DOMString data type.  By the way this 
section is not require because it's part of the presentation 
layer.(Regionnal settings)

Sinceres salutations/Kind regards 
Daniel Jutras
Continental Automotive Rambouillet France SAS 
Business Unit - Infotainment & Connectivity
6 rue Jean Moulin - BP65 
F-78512 Rambouillet 
Tel. : +33 (0)
Fax. : +33 (0) 
E-mail daniel.jutras@continental-corporation.com

Please consider your environmental responsibility before printing this 
Received on Thursday, 22 May 2014 10:30:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:06:39 UTC