29 lines
904 B
C#
29 lines
904 B
C#
using System.Collections.Generic;
|
|
|
|
namespace TBF
|
|
{
|
|
/// <summary>
|
|
/// User selection of smart register readers. The selection is deliberately
|
|
/// kept per reader family because reader positions are only meaningful inside
|
|
/// one configured family.
|
|
/// </summary>
|
|
public sealed class SmartReaderSelectionSettings
|
|
{
|
|
public bool LegacyOptoHeadsEnabledMigrated;
|
|
public List<SmartReaderFamilySelection> Families = new List<SmartReaderFamilySelection>();
|
|
}
|
|
|
|
public sealed class SmartReaderFamilySelection
|
|
{
|
|
public string FamilyKey;
|
|
public List<SmartReaderSelectionItem> Readers = new List<SmartReaderSelectionItem>();
|
|
}
|
|
|
|
public sealed class SmartReaderSelectionItem
|
|
{
|
|
/// <summary>Stable configured component name; not a visual row index.</summary>
|
|
public string ReaderKey;
|
|
public bool Enabled;
|
|
}
|
|
}
|