|
@@ -12,19 +12,19 @@ import java.util.HashMap;
|
12
|
12
|
*/
|
13
|
13
|
public class SensorValueDbo extends LuDbo {
|
14
|
14
|
|
15
|
|
- private int _value;
|
|
15
|
+ private String _value;
|
16
|
16
|
|
17
|
|
- public int getValue() {
|
|
17
|
+ public String getValue() {
|
18
|
18
|
return _value;
|
19
|
19
|
}
|
20
|
20
|
|
21
|
|
- public void setValue(int value) {
|
|
21
|
+ public void setValue(String value) {
|
22
|
22
|
_value = value;
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
@Override
|
26
|
26
|
public void fromJson(JSONObject json) throws JSONException {
|
27
|
|
- _value = json.getInt("Value");
|
|
27
|
+ _value = json.getString("Value");
|
28
|
28
|
}
|
29
|
29
|
|
30
|
30
|
@Override
|