Class WorkerStation
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
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
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
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
ShiftNumber
Gets or sets the shift number.
[DataMember]
public byte ShiftNumber { get; set; }
Property Value
Station
Gets or sets the station.
[DataMember]
public Station Station { get; set; }
Property Value
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
StationType
Gets or sets the station type.
[DataMember]
public StationType StationType { get; set; }
Property Value
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
Worker
Gets or sets the worker.
[DataMember]
public Worker Worker { get; set; }
Property Value
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
WorkerStationId
Gets or sets the unique identifier for this worker station.
[DataMember]
public int WorkerStationId { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Processes property changes by raising the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
stringThe name of the property that changed.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged