|
|
@ -397,7 +397,7 @@ public class DeviceService { |
|
|
|
* @param speed 电机的速度值 |
|
|
|
* @param targetPos 电机目标位置 |
|
|
|
*/ |
|
|
|
public synchronized boolean setTrayParams(int heaterId, int speed, int targetPos) { |
|
|
|
public synchronized boolean setTrayParams(String heaterId, int speed, int targetPos) { |
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
params.put("heaterId", heaterId); |
|
|
|
params.put("speed", speed); |
|
|
|