protocol.param.GetSet update - min/max only for numeric types, longer string value

This commit is contained in:
Pavel Kirienko
2015-03-24 22:25:25 +03:00
parent d41a216546
commit 0c8f0700af
8 changed files with 56 additions and 24 deletions
@@ -0,0 +1,8 @@
#
# Numeric-only value.
# The actual type should be inferred from the available values, as described below.
# If none of the values below are present, the value is considered empty.
#
int64[<=1] value_int # Preferred over float if ambiguous
float32[<=1] value_float # Only if int is empty