use of org.opensmartgridplatform.dto.valueobjects.smartmetering.CircuitSwitchedStatusDto in project open-smart-grid-platform by OSGP.
the class GetGsmDiagnosticCommandExecutor method createGetGsmDiagnosticResponse.
private GetGsmDiagnosticResponseDto createGetGsmDiagnosticResponse(final List<GetResult> getResultList) throws ProtocolAdapterException {
final String operator = this.getOperator(getResultList);
final ModemRegistrationStatusDto registrationStatus = this.getRegistrationStatus(getResultList);
final CircuitSwitchedStatusDto circuitSwitchedStatus = this.getCircuitSwitchedStatus(getResultList);
final PacketSwitchedStatusDto packetSwitchedStatusDto = this.getPacketSwitchedStatus(getResultList);
final CellInfoDto cellInfo = this.getCellInfo(getResultList);
final List<AdjacentCellInfoDto> adjacentCells = this.getAdjacentCells(getResultList);
final Date captureTimeDto = this.getCaptureTime(getResultList);
return new GetGsmDiagnosticResponseDto(operator, registrationStatus, circuitSwitchedStatus, packetSwitchedStatusDto, cellInfo, adjacentCells, captureTimeDto);
}
Aggregations