gem.routesAndNavigation. EVProfile

new EVProfile(objOrCarModel)

A class that represents a profile for an Electric Vehicle (EV).

This class provides properties and methods to manage EV profiles. It extends the EVCarModel class with additional properties and methods.

Parameters:
NameTypeDescription
objOrCarModelModule.EVProfile | gem.routesAndNavigation.EVCarModel

If the first argument is an instance of Module.EVProfile, it will be used to initialize the object. Otherwise, the argument is used as the car model to initialize a new Module.EVProfile object.

Properties
NameTypeDescription
carModelgem.routesAndNavigation.EVCarModel

The car model of the EV.

batteryCapacitynumber

The battery capacity of the EV.

chargeSpeednumber

The charge speed of the EV.

Example
```javascript
let evProfile = new gem.routesAndNavigation.EVProfile(gem.routesAndNavigation.EVCarModel, 100, 50);
console.log(evProfile.carModel); // Outputs: EVCarModel
console.log(evProfile.batteryCapacity); // Outputs: 100
console.log(evProfile.chargeSpeed); // Outputs: 50
```