Implement progress monitoring for image generation in AIImages mod, enhancing user experience with real-time updates. Add localized strings for new features in English and Russian. Refactor UI components for better organization and clarity. Update AIImages.dll to reflect these changes.
This commit is contained in:
@@ -48,4 +48,35 @@ namespace AIImages.Models
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Прогресс генерации изображения
|
||||
/// </summary>
|
||||
public class GenerationProgress
|
||||
{
|
||||
/// <summary>
|
||||
/// Процент завершения (0.0 - 1.0)
|
||||
/// </summary>
|
||||
public double Progress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Текущий шаг
|
||||
/// </summary>
|
||||
public int CurrentStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Общее количество шагов
|
||||
/// </summary>
|
||||
public int TotalSteps { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Оставшееся время в секундах (приблизительно)
|
||||
/// </summary>
|
||||
public double EtaRelative { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Идет ли генерация в данный момент
|
||||
/// </summary>
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user