Table of Contents

Class WorkerStation

Namespace
Acuit.Pinpoint.Client2
Assembly
Acuit.Pinpoint.Client2.dll

Information about a worker logged in at a workstation.

[DataContract(IsReference = true)]
[KnownType(typeof(Station))]
[KnownType(typeof(StationType))]
[KnownType(typeof(Worker))]
public class WorkerStation : INotifyPropertyChanged
Inheritance
WorkerStation
Implements
Inherited Members

Properties

IsDeserializing

Gets or sets whether this object is currently being deserialized.

protected bool IsDeserializing { get; }

Property Value

bool

LogOffDateTime

Gets or sets the date/time when the worker logged off from the station, in UTC.

[DataMember]
public DateTime? LogOffDateTime { get; set; }

Property Value

DateTime?

Remarks

This will be null if there is no log off date/time recorded.

LogOnDateTime

Gets or sets the date/time when the worker logged on to the station, in UTC.

[DataMember]
public DateTime LogOnDateTime { get; set; }

Property Value

DateTime

ShiftDate

Gets or sets the shift date, in local time, expressed as a date only (time will be set to midnight).

[DataMember]
public DateTime ShiftDate { get; set; }

Property Value

DateTime

ShiftNumber

Gets or sets the shift number.

[DataMember]
public byte ShiftNumber { get; set; }

Property Value

byte

Station

Gets or sets the station.

[DataMember]
public Station Station { get; set; }

Property Value

Station

StationHasBeenIncluded

Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).

public bool StationHasBeenIncluded { get; set; }

Property Value

bool

StationType

Gets or sets the station type.

[DataMember]
public StationType StationType { get; set; }

Property Value

StationType

StationTypeHasBeenIncluded

Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).

public bool StationTypeHasBeenIncluded { get; set; }

Property Value

bool

Worker

Gets or sets the worker.

[DataMember]
public Worker Worker { get; set; }

Property Value

Worker

WorkerHasBeenIncluded

Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).

public bool WorkerHasBeenIncluded { get; set; }

Property Value

bool

WorkerStationId

Gets or sets the unique identifier for this worker station.

[DataMember]
public int WorkerStationId { get; set; }

Property Value

int

Methods

OnPropertyChanged(string)

Processes property changes by raising the PropertyChanged event.

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName string

The name of the property that changed.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler