- From: Rees, Kevron <kevron.m.rees@intel.com>
- Date: Tue, 18 Feb 2014 11:08:19 -0800
- To: "public-autowebplatform@w3.org" <public-autowebplatform@w3.org>
Looking at RunningStatus I've run into an interesting problem. There
can be N number of trip meters. This could be true for a number of
different types and many of them won't correspond to a zone. Would
the following be appropriate?
interface Vehicle
{
...
readonly attribute VehicleInterface ? tripMeters;
}
vehicle.tripMeters.get().then(function(data) {
///data is an array of TripMeterType
for(var d in data)
{
console.log(d.distance);
}
});
Received on Tuesday, 18 February 2014 19:08:51 UTC