package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.service.Ld9SetparamService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.*;
|
|
@Api(tags = "在线监测-实时监控")
|
@RestController
|
@RequestMapping("LD9_setparamAction")
|
public class Ld9SetparamController {
|
|
@Autowired
|
private Ld9SetparamService service;
|
|
|
@ApiOperation("LD9启停功能")
|
@GetMapping("serchbyDev_id")
|
public Response serchbyDev_id(@RequestParam int num,@RequestParam int devId){
|
return service.serchbyDev_id(num,devId);
|
}
|
}
|