Table of Contents

Interface IUnitProductionScheduleRepository

Namespace
Acuit.Pinpoint.Workstation
Assembly
Acuit.Pinpoint.Workstation.Interfaces.dll

A unit production queue repository.

public interface IUnitProductionScheduleRepository

Remarks

This repository maintains the production queue as groups of unit model numbers.

Properties

ModelGroups

Gets the observable collection of model groups.

ObservableCollection<IUnitProductionQueueModelGroup> ModelGroups { get; }

Property Value

ObservableCollection<IUnitProductionQueueModelGroup>

Remarks

This is collection is not read-only for backwards-compatibility, but Acuit Pinpoint Workstation will never directly modify it through this property.

Methods

RemoveOneUnit(IUnitProductionQueueModelGroup)

Remove one unit from a model group.

void RemoveOneUnit(IUnitProductionQueueModelGroup modelGroup)

Parameters

modelGroup IUnitProductionQueueModelGroup

The model group.

Remarks

This will decrement Count for modelGroup, and then remove it from ModelGroups if the resulting count is zero.

Exceptions

InvalidOperationException

modelGroup does not exist in ModelGroups.

StartMonitoring()

Start monitoring for production schedule changes.

void StartMonitoring()

Remarks

The implementation for this:

  • Will be called via the main application dispatcher.
  • Can be called multiple times in succession.
  • Should not throw any exceptions. Expected errors, including the inability to start monitoring, should be reported via the IHealthCheckService service.

StopMonitoring()

Stop monitoring for production schedule changes.

void StopMonitoring()

Remarks

The implementation for this:

  • Will be called via the main application dispatcher.
  • Can be called multiple times in succession.
  • Should not throw any exceptions.