| | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.services.rt.Rtstate_rtService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @RequestMapping("rtStateRt") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "rtStateRt接口 Deprecated") |
| | | @Deprecated |
| | | public class Rtstate_rtController{ |
| | | |
| | |
| | | |
| | | //测试数据——实时查询中左下角的充放电统计 |
| | | @GetMapping("disOrCharge") |
| | | @ApiOperation(notes = "",value="测试数据——实时查询中左下角的充放电统计") |
| | | public ServiceModel serchDisOrChargr(){ |
| | | ServiceModel model= service.serchDisOrChargr(); |
| | | return model; |
| | |
| | | |
| | | //电池组实时情况+实时电池续航能力查询 |
| | | @GetMapping("battLife") |
| | | @ApiOperation(notes = "",value="电池组实时情况+实时电池续航能力查询") |
| | | public ServiceModel serchBattLife(@RequestBody Batt_Maint_Dealarm bmd){ |
| | | // Batt_Maint_Dealarm bmd = getGson().fromJson(json, Batt_Maint_Dealarm.class); |
| | | ServiceModel model = service.serchBattLife(bmd); |
| | |
| | | |
| | | //首页上饼状图电池状态比例 |
| | | @GetMapping("battStateRate") |
| | | @ApiOperation(notes = "",value="首页上饼状图电池状态比例") |
| | | public ServiceModel serchBattStateRate(){ |
| | | ServiceModel model = service.serchBattStateRate(); |
| | | return model; |