Add store log analysis feature and related data structures
- Implement AnalyzeSlotUnregistrationsAsync method to retrieve and report store log data for cooperating stores in region 139. - Introduce StoreLogProfileEntry record to aggregate log information. - Add StoreLog endpoint for API access. - Create GetStoreLogAsync and GetStoreLogEntriesAsync methods for fetching and deserializing store log entries. - Update Program.cs to include the new analysis task option.
This commit is contained in:
@@ -14,5 +14,17 @@ namespace FsToolbox.Cli
|
||||
private record AldiMember(RegionTasks.Store Store, StoreTasks.Member Member);
|
||||
|
||||
#endregion
|
||||
|
||||
#region Record StoreLogProfileEntry
|
||||
|
||||
/// <summary>
|
||||
/// Aggregates store log information by profile and store.
|
||||
/// </summary>
|
||||
/// <param name="Profile">The foodsaver profile that performed the action.</param>
|
||||
/// <param name="Store">The store for which the log entry applies.</param>
|
||||
/// <param name="DateReference">The log entry date reference.</param>
|
||||
private record StoreLogProfileEntry(StoreTasks.FoodsaverProfile Profile, RegionTasks.Store Store, DateTime? DateReference, DateTime? PerformedAt);
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user