From 4d6ccdfd1c4e29a91303947aed856cd6322bdd41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 9 Jun 2015 16:16:49 +0200 Subject: [PATCH] update api file --- tests/auto/api.json | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/tests/auto/api.json b/tests/auto/api.json index de9b9755..b65145d0 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -24 +25 { "methods": { "Actions.ExecuteAction": { @@ -610,6 +610,7 @@ "o:maxValue": "Variant", "o:minValue": "Variant", "o:readOnly": "Bool", + "o:unit": "$ref:Unit", "type": "$ref:BasicType" }, "Plugin": { @@ -703,8 +704,48 @@ "defaultValue": "Variant", "id": "Uuid", "name": "String", + "o:unit": "$ref:Unit", "type": "$ref:BasicType" }, + "Unit": [ + "UnitNone", + "UnitSeconds", + "UnitMinutes", + "UnitHours", + "UnitUnixTime", + "UnitMeterPerSecond", + "UnitKiloMeterPerHour", + "UnitDegree", + "UnitRadiant", + "UnitDegreeCelsius", + "UnitDegreeKelvin", + "UnitMilliBar", + "UnitBar", + "UnitPascal", + "UnitHectoPascal", + "UnitAtmosphere", + "UnitLumen", + "UnitLux", + "UnitCandela", + "UnitMilliMeter", + "UnitCentiMeter", + "UnitMeter", + "UnitKiloMeter", + "UnitGram", + "UnitKiloGram", + "UnitDezibel", + "UnitKiloByte", + "UnitMegaByte", + "UnitGigaByte", + "UnitTeraByte", + "UnitMilliWatt", + "UnitWatt", + "UnitKiloWatt", + "UnitKiloWattHour", + "UnitPercentage", + "UnitEuro", + "UnitDollar" + ], "ValueOperator": [ "ValueOperatorEquals", "ValueOperatorNotEquals",