diff --git a/frontend/src/sections/devices/devices-discovery.js b/frontend/src/sections/devices/devices-discovery.js index 918b74c..d7ab51a 100644 --- a/frontend/src/sections/devices/devices-discovery.js +++ b/frontend/src/sections/devices/devices-discovery.js @@ -28,9 +28,22 @@ const AccessType = { WriteOnly: 2, } +const ParamValueType = { + Unknown: 0, + Base64: 1, + Boolean: 2, + DateTime: 3, + Decimal: 4, + HexBinary: 5, + Int: 6, + Long: 7, + String: 8, + UnisgnedInt: 9, + UnsignedLong: 10, +} + function ShowParamsWithValues({x, deviceParametersValue, setOpen, setParameter, setParameterValue}) { let paths = x.supported_obj_path.split(".") - const showDialog = (param, paramvalue) => { setParameter(param); if (paramvalue == "\"\"") { @@ -75,7 +88,7 @@ function ShowParamsWithValues({x, deviceParametersValue, setOpen, setParameter, secondaryAction={