summaryrefslogtreecommitdiff
path: root/lib/vehicleproperty.h
diff options
context:
space:
mode:
authorKevron Rees <kevron.m.rees@intel.com>2014-11-06 09:20:25 -0800
committerKevron Rees <kevron.m.rees@intel.com>2014-11-06 09:20:45 -0800
commit2941fa7a57aee8f6760092ffb717e5e0e5092f67 (patch)
tree0e3b3b0cbfcd0b584127519a05e8dd0f7522bf55 /lib/vehicleproperty.h
parent3c8b16041924305efb26c1f64ae96001a304aa28 (diff)
downloadautomotive-message-broker-2941fa7a57aee8f6760092ffb717e5e0e5092f67.tar.gz
running status api's complete
Diffstat (limited to 'lib/vehicleproperty.h')
-rw-r--r--lib/vehicleproperty.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/vehicleproperty.h b/lib/vehicleproperty.h
index a79e4ce1..758c7ece 100644
--- a/lib/vehicleproperty.h
+++ b/lib/vehicleproperty.h
@@ -481,7 +481,15 @@ public:
PROPERTYTYPE(ButtonEvent, ButtonEventType, BasicPropertyType<ButtonEvents::ButtonEventType>, ButtonEvents::ButtonEventType)
static const Property ButtonEventW3C;
- PROPERTYTYPE(ButtonEventW3C, ButtonEventW3CType, StringPropertyType, std::string)
+ class ButtonEventW3CType: public MapPropertyType<StringPropertyType, StringPropertyType>
+ {
+ public:
+ ButtonEventW3CType() : MapPropertyType(ButtonEventW3C) {}
+ };
+
+
+
+
/**< Air intake temperature in degrees celcius */
static const Property AirIntakeTemperature;
@@ -697,6 +705,15 @@ public:
PROPERTYTYPEBASIC(TransmissionFluidLevel, uint16_t)
//typedef BasicPropertyType<uint16_t> TransmissionFluidLevelType;
+ static const Property TransmissionOilWear;
+ PROPERTYTYPEBASIC(TransmissionOilWear, uint8_t)
+
+ static const Property TransmissionOilTemperature;
+ PROPERTYTYPEBASIC(TransmissionOilTemperature, int8_t)
+
+ static const Property TransmissionClutchWear;
+ PROPERTYTYPEBASIC(TransmissionClutchWear, uint8_t)
+
/**< Brake Fluid Level 0-100%.
**/
static const Property BrakeFluidLevel;