Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Code Block
    languagec#
    // 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 of ProductionWithoutOrderModel is raised with the following details:

    Code Block
    languagec#
    public record ProductionWithoutOrderModel(
            DateTime From,
            DateTime To,
            Guid ElementId,
            string ElementPath,
            string ElementName,
            double TotalCount,
            double TotalCountFromOrders,
            string Unit);

...