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
workerAtStationIWorkerAtStation
Returns
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
workerAtStationIWorkerAtStation
Returns
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
workerAtStationIWorkerAtStation