|
@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
@RestController
|
|
@@ -40,6 +41,21 @@ public class ParamQueryDataConotroller {
|
|
|
private IDataPowerService powerService;
|
|
|
|
|
|
/**
|
|
|
+ * 监测参数查询参数下拉列表
|
|
|
+ */
|
|
|
+ @ApiOperation(value="监测参数查询参数下拉列表", notes="监测参数查询参数下拉列表")
|
|
|
+ @GetMapping(value = "/xialaList")
|
|
|
+ public List<String> xialaList(){
|
|
|
+ List<String> list = new ArrayList<>();
|
|
|
+ list.add("电压");
|
|
|
+ list.add("电流");
|
|
|
+ list.add("需量");
|
|
|
+ list.add("分时电量");
|
|
|
+ list.add("功率");
|
|
|
+ return list;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 监测参数查询
|
|
|
*/
|
|
|
@ApiOperation(value="监测参数查询", notes="监测参数查询")
|