...
Code Block language c# // Increasing threshold reduces sensitivity of the hint // More production difference between order production and raw line production is acceptable Task<ICollection<ProductionWithoutOrderModel>> Run( double threshold = 0, TimeSpan? checkDuration = null, TimeSpan? bucketHourOffset = null)
Analyse the production and orders in the provided
checkDuration
. This period of time is analyse in the context of orders and production. If there is some production in this period of time which is not part of any order - a new instance ofProductionWithoutOrderModel
is raised with the following details:Code Block language c# public record ProductionWithoutOrderModel( DateTime From, DateTime To, Guid ElementId, string ElementPath, string ElementName, double TotalCount, double TotalCountFromOrders, string Unit);
...