|
|
@ -274,7 +274,7 @@ public class DeviceService { |
|
|
|
* @param heaterId 加热器id |
|
|
|
* @param temperature 温度值 |
|
|
|
*/ |
|
|
|
public boolean startHeating(String heaterId, int temperature) { |
|
|
|
public boolean startHeating(String heaterId, double temperature) { |
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
params.put("heaterId", heaterId); |
|
|
|
params.put("temperature", temperature); |
|
|
|