 //
 
 import UIKit
+import ObjectMapper
 
 class VehicleViewController: UIViewController {
 

				"distance added (ideal): \(chargeState.chargeDistanceAddedIdeal!.kms) km\n" +
				"power: \(chargeState.chargerPower!) kW\n" +
				"\(chargeState.chargerVoltage!)V \(chargeState.chargerActualCurrent!)A\n" +
				"charger max current: \(chargeState.chargerPilotCurrent)"
				
				return ()
				}

	@IBAction func getGUISettings(_ sender: Any) {
		if let vehicle = vehicle {
			_ = api.getVehicleGuiSettings(vehicle).then(execute: { (guiSettings: GuiSettings) -> Void in
				self.textView.text = "Charge rate units: \(guiSettings.chargeRateUnits)\n" +
					guiSettings.toJSONString()!

				
				
			})
