|
|
@ -47,6 +47,8 @@ public class MqttServiceImpl implements MqttService {
|
|
|
|
String act = map.get("act");
|
|
|
|
String act = map.get("act");
|
|
|
|
switch (act) {
|
|
|
|
switch (act) {
|
|
|
|
case "capture":
|
|
|
|
case "capture":
|
|
|
|
|
|
|
|
msg.setServiceId("PlatformControlDeviceCommandLssueService");
|
|
|
|
|
|
|
|
msg.setCmd("manualCapturePicture");
|
|
|
|
Integer channel = Integer.parseInt(map.get("channel"));
|
|
|
|
Integer channel = Integer.parseInt(map.get("channel"));
|
|
|
|
paras.setChannelNumber(channel);
|
|
|
|
paras.setChannelNumber(channel);
|
|
|
|
Integer preset = Integer.parseInt(map.get("preset"));
|
|
|
|
Integer preset = Integer.parseInt(map.get("preset"));
|
|
|
|