| | |
| | | } catch (Exception e) { |
| | | logger.error("error occured.", e); |
| | | } |
| | | selectContainerList = null; |
| | | return list; |
| | | } |
| | | |
| | | @Override |
| | | public ContainerStatusMngDto getRowData(String rowKey) { |
| | | Iterator<ContainerStatusMngDto> iterator = this.iterator(); |
| | | if (iterator != null) { |
| | | ContainerStatusMngDto su = null; |
| | | while (iterator.hasNext()) { |
| | | su = iterator.next(); |
| | | if (rowKey.equals(su.getId())) { |
| | | return su; |
| | | } |
| | | } |
| | | } |
| | | return null; |
| | | // Iterator<ContainerStatusMngDto> iterator = this.iterator(); |
| | | // if (iterator != null) { |
| | | // ContainerStatusMngDto su = null; |
| | | // while (iterator.hasNext()) { |
| | | // su = iterator.next(); |
| | | // if (rowKey.equals(su.getId())) { |
| | | // return su; |
| | | // } |
| | | // } |
| | | // } |
| | | return sysContainerSensorsService.getRowData(rowKey); |
| | | } |
| | | }; |
| | | } |
| | |
| | | if (periodType == 3) { |
| | | xAxis.setTickFormat("%m-%d"); |
| | | } |
| | | xAxis.setTickAngle(-50); |
| | | // axis.setMax(DateFormatUtils.format(new Date(),"yyyy-MM-dd HH:mm")); |
| | | // axis.setMin(minDate); |
| | | // axis.setTickFormat("%Y-%m-%d %H:%M"); |