old mode 100644
new mode 100755
| | |
| | | package com.genersoft.iot.vmp.vmanager.gb28181.alarm; |
| | | |
| | | import com.genersoft.iot.vmp.conf.exception.ControllerException; |
| | | import com.genersoft.iot.vmp.conf.security.JwtUtils; |
| | | import com.genersoft.iot.vmp.gb28181.bean.Device; |
| | | import com.genersoft.iot.vmp.gb28181.bean.DeviceAlarm; |
| | | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; |
| | |
| | | import com.github.pagehelper.PageInfo; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | | import io.swagger.v3.oas.annotations.security.SecurityRequirement; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/delete") |
| | | @Operation(summary = "删除报警") |
| | | @Operation(summary = "删除报警", security = @SecurityRequirement(name = JwtUtils.HEADER)) |
| | | @Parameter(name = "id", description = "ID") |
| | | @Parameter(name = "deviceIds", description = "多个设备id,逗号分隔") |
| | | @Parameter(name = "time", description = "结束时间") |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/test/notify/alarm") |
| | | @Operation(summary = "测试向上级/设备发送模拟报警通知") |
| | | @Operation(summary = "测试向上级/设备发送模拟报警通知", security = @SecurityRequirement(name = JwtUtils.HEADER)) |
| | | @Parameter(name = "deviceId", description = "设备国标编号") |
| | | public void delete(@RequestParam String deviceId) { |
| | | Device device = storage.queryVideoDevice(deviceId); |
| | |
| | | * @param endTime 结束时间 |
| | | * @return |
| | | */ |
| | | @Operation(summary = "分页查询报警") |
| | | @Operation(summary = "分页查询报警", security = @SecurityRequirement(name = JwtUtils.HEADER)) |
| | | @Parameter(name = "page",description = "当前页",required = true) |
| | | @Parameter(name = "count",description = "每页查询数量",required = true) |
| | | @Parameter(name = "deviceId",description = "设备id") |