| | |
| | | return new ArrayList<ConnectorInfo>(){{ |
| | | for (TChargingGun chargingGun : list) { |
| | | ConnectorInfo connectorInfo = new ConnectorInfo(); |
| | | connectorInfo.setConnectorId(chargingGun.getCode()); |
| | | connectorInfo.setConnectorId(chargingGun.getFullNumber()); |
| | | connectorInfo.setConnectorName(chargingGun.getName()); |
| | | connectorInfo.setConnectorType(0 == chargingGun.getType() ? 6 : chargingGun.getType()); |
| | | connectorInfo.setVoltageUpperLimits(chargingGun.getUpperRatedVoltage().intValue()); |
| | |
| | | integrationClient.setupBillingModel1(tChargingPile.getCode(), JSON.toJSONString(accountingStrategyDetails)); |
| | | } |
| | | |
| | | //推送三方平台 |
| | | tcecClient.notificationStationChange(Arrays.asList(id)); |
| | | if(1 == site.getIsOpenSynchronization()){ |
| | | //推送三方平台 |
| | | tcecClient.notificationStationChange(Arrays.asList(id)); |
| | | } |
| | | } |
| | | } |