ethos_penalps.time_data#

Module Contents#

Classes#

TimeData

Each instance of process step data contains an own instance of the this class.

Attributes#

logger

ethos_penalps.time_data.logger#
class ethos_penalps.time_data.TimeData(global_start_date: datetime.datetime = datetime.datetime(2021, 1, 1), global_end_date: datetime.datetime = datetime.datetime(2022, 1, 1))#

Each instance of process step data contains an own instance of the this class. It contains the temporal information of the current process step. Global start and end date is the same for each process step in the Enterprise.

set_current_process_time(current_process_time: datetime.datetime)#
get_last_idle_date() datetime.datetime#
get_next_process_state_switch_time() datetime.datetime#
set_next_event_time_as_last_idle_time()#
set_next_process_state_switch_time(next_discrete_event_time: datetime.datetime)#
set_last_process_state_switch_time()#
get_last_process_state_switch_time() datetime.datetime#
set_next_stream_end_time(next_stream_end_time: datetime.datetime)#
get_next_stream_end_time() datetime.datetime#
get_storage_last_update_time() datetime.datetime#
set_storage_last_update_time(updated_storage_datetime: datetime.datetime)#
create_self_copy()#