Delete comments

This commit is contained in:
Alireza Adli 2024-09-19 11:49:36 -04:00
parent dc4a82ce8a
commit 0b3518f5a3

View File

@ -20,34 +20,27 @@ class Vehicle:
@property
def id(self):
""":return: int"""
return self._vehicle_id
@property
def name(self):
""":return: str"""
return self._name
@property
def fuel_consumption_rate(self):
""":return: float"""
return self._fuel_consumption_rate
@property
def fuel_consumption_unit(self):
""":return: str"""
return self._fuel_consumption_unit
@property
def carbon_emission_factor(self):
""":return: float"""
return self._carbon_emission_factor
@property
def carbon_emission_unit(self):
""":return: str"""
return self._carbon_emission_unit
def total_vehicle_emission(self):
""":return: float"""
return self._fuel_consumption_rate * self._carbon_emission_factor