Table of Contents

Class WorkerAtStationExtensions

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

Extension members for IWorkerAtStation.

public static class WorkerAtStationExtensions
Inheritance
WorkerAtStationExtensions
Inherited Members

Methods

get_IsUnitAtStation(IWorkerAtStation)

Gets whether a unit is at the station.

public static bool get_IsUnitAtStation(IWorkerAtStation workerAtStation)

Parameters

workerAtStation IWorkerAtStation

Returns

bool

get_RequiredUnitAtStation(IWorkerAtStation)

Gets the IUnitAtStation representing the unit currently at the station, or throws an exception if no unit is currently at the station.

public static IUnitAtStation get_RequiredUnitAtStation(IWorkerAtStation workerAtStation)

Parameters

workerAtStation IWorkerAtStation

Returns

IUnitAtStation

Exceptions

InvalidOperationException

There is no unit at the station.

get_WorkstationState(IWorkerAtStation)

Gets the associated workstation state.

public static IWorkstationState get_WorkstationState(IWorkerAtStation workerAtStation)

Parameters

workerAtStation IWorkerAtStation

Returns

IWorkstationState