Delete comments
This commit is contained in:
parent
0b3518f5a3
commit
017a8ce6a7
|
@ -23,46 +23,37 @@ class Machine:
|
|||
|
||||
@property
|
||||
def id(self) -> int:
|
||||
""":return: int"""
|
||||
return self._machine_id
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
""":return: str"""
|
||||
return self._name
|
||||
|
||||
@property
|
||||
def work_efficiency(self):
|
||||
""":return: float"""
|
||||
return self._work_efficiency_rate
|
||||
|
||||
@property
|
||||
def work_efficiency_unit(self):
|
||||
""":return: str"""
|
||||
return self._work_efficiency_unit
|
||||
|
||||
@property
|
||||
def energy_consumption_rate(self):
|
||||
""":return: float"""
|
||||
return self._energy_consumption_rate
|
||||
|
||||
@property
|
||||
def energy_consumption_unit(self):
|
||||
""":return: str"""
|
||||
return self._energy_consumption_unit
|
||||
|
||||
@property
|
||||
def emission_factor(self):
|
||||
""":return: float"""
|
||||
return self._emission_factor
|
||||
|
||||
@property
|
||||
def emission_unit(self):
|
||||
""":return: str"""
|
||||
return self._emission_unit
|
||||
|
||||
def total_machine_emssion(self):
|
||||
""":return: float"""
|
||||
return self._work_efficiency_rate * \
|
||||
self._energy_consumption_rate * \
|
||||
self._emission_factor
|
||||
|
|
Loading…
Reference in New Issue
Block a user