35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
namespace Inspectron.Ringbuffer
|
|
{
|
|
public class RingbufferPathConfiguration
|
|
{
|
|
/// <summary>
|
|
/// How many images should be present in Good folder
|
|
/// After reaching this amount older images will be deleted
|
|
/// </summary>
|
|
public int MaxAmountOfGoodImages { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many images should be present in Bad folder
|
|
/// After reaching this amount older images will be deleted
|
|
/// </summary>
|
|
public int MaxAmountOfBadImages { get; set; }
|
|
|
|
/// <summary>
|
|
/// Where to store images
|
|
/// Supports $PRODUCT$ mark to put product name into its place
|
|
/// Supports $GOODBAD$ mark to put product quality into its place
|
|
/// </summary>
|
|
public string PathFormat { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies which part of the path should be checked for maximum files
|
|
/// </summary>
|
|
public int GroupPartId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ringbuffer's root directory
|
|
/// </summary>
|
|
public string RootDirectory { get; set; } = "./";
|
|
|
|
}
|
|
} |