|
|
|
@ -827,7 +827,7 @@ async def get_calculation_result(db_session: DbSession, calculation_id: str, tok
|
|
|
|
for month_index in range(data_num):
|
|
|
|
for month_index in range(data_num):
|
|
|
|
month_result = {
|
|
|
|
month_result = {
|
|
|
|
"overhaul_cost": 0.0,
|
|
|
|
"overhaul_cost": 0.0,
|
|
|
|
"corrective_cost": cumulative_loss_money,
|
|
|
|
"corrective_cost": cumulative_loss_money[month_index],
|
|
|
|
"procurement_cost": 0.0,
|
|
|
|
"procurement_cost": 0.0,
|
|
|
|
"num_failures": 0.0,
|
|
|
|
"num_failures": 0.0,
|
|
|
|
"day": month_index + 1,
|
|
|
|
"day": month_index + 1,
|
|
|
|
|