Table of Contents

Interface IUnitProductionQueue

Namespace
Acuit.Pinpoint.Workstation
Assembly
Acuit.Pinpoint.Workstation.Abstractions.dll

The unit production queue.

public interface IUnitProductionQueue : INotifyPropertyChanged
Inherited Members

Properties

CustomUnitProductionScheduleRepository

Gets or sets a custom unit production schedule repository.

IUnitProductionScheduleRepository? CustomUnitProductionScheduleRepository { get; set; }

Property Value

IUnitProductionScheduleRepository

Remarks

A plug-in can set this to provide a custom unit production schedule repository implementation. If this is null, the default unit production schedule repository is used, which uses MSMQ to receive production schedules.

This will have no affect if unit production schedules are not enabled for this station type.

IsActive

Gets whether the queue is active (i.e., configured to be used for this station type).

bool IsActive { get; }

Property Value

bool

ModelGroups

Gets the observable collection of model groups.

IReadOnlyNotifyCollection<IUnitProductionQueueModelGroup> ModelGroups { get; }

Property Value

IReadOnlyNotifyCollection<IUnitProductionQueueModelGroup>

SelectedModelGroup

Gets or sets the selected model group, or null if none is selected.

IUnitProductionQueueModelGroup? SelectedModelGroup { get; set; }

Property Value

IUnitProductionQueueModelGroup

Methods

DecrementCountFor(string)

Decrements the count for a model number.

void DecrementCountFor(string modelNumber)

Parameters

modelNumber string

The model number.

Remarks

If the selected model group matches modelNumber, then that group will be decremented. Otherwise, the first group that matches will be decremented, or if none match, then nothing will be decremented. If a group is decremented resulting in a count of zero, the group will then be removed. If that group was the selected model group, then the next group will be selected; if it was the last group, the previous group will be selected, if one exists.

SelectModel(string)

Selects a model number.

void SelectModel(string modelNumber)

Parameters

modelNumber string

The model number.

Remarks

If the selected model group already matches, the selection will not be changed. Otherwise, the first group that matches will be selected, or if none match, then any existing selection will be removed.