|
@ -6,22 +6,6 @@ |
|
|
*/ |
|
|
*/ |
|
|
package com.lp.controller.iot; |
|
|
package com.lp.controller.iot; |
|
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestHeader; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView; |
|
|
|
|
|
|
|
|
|
|
|
import com.lp.bo.IotHistoryNodeDataBO; |
|
|
import com.lp.bo.IotHistoryNodeDataBO; |
|
|
import com.lp.bo.IotNodeInfoBO; |
|
|
import com.lp.bo.IotNodeInfoBO; |
|
|
import com.lp.bo.IotSensorInfoBO; |
|
|
import com.lp.bo.IotSensorInfoBO; |
|
@ -32,13 +16,22 @@ import com.lp.cfg.ProConfig; |
|
|
import com.lp.common.Code; |
|
|
import com.lp.common.Code; |
|
|
import com.lp.common.Code.ResponseCode; |
|
|
import com.lp.common.Code.ResponseCode; |
|
|
import com.lp.common.CodeIot; |
|
|
import com.lp.common.CodeIot; |
|
|
import com.lp.common.Constants; |
|
|
|
|
|
import com.lp.common.RequestURLIOT; |
|
|
import com.lp.common.RequestURLIOT; |
|
|
import com.lp.controller.BaseController; |
|
|
import com.lp.controller.BaseController; |
|
|
import com.lp.service.IotNodeInfoService; |
|
|
import com.lp.service.IotNodeInfoService; |
|
|
import com.lp.util.ObjectUtil; |
|
|
import com.lp.util.ObjectUtil; |
|
|
import com.lp.util.ResultMapUtils; |
|
|
import com.lp.util.ResultMapUtils; |
|
|
import com.lp.util.iot.ProtocolUtil; |
|
|
import com.lp.util.iot.ProtocolUtil; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView; |
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Controller |
|
|
@Controller |
|
@ -254,7 +247,7 @@ public class IotNodeInfoController extends BaseController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* LPM 更新网关状态,设备在线 |
|
|
* 设备在线 更新设备状态 #LPM 1 更新网关状态, |
|
|
* @param response |
|
|
* @param response |
|
|
* @param obj |
|
|
* @param obj |
|
|
* @return |
|
|
* @return |
|
|