Table of Contents

Class Override

Namespace
Acuit.Pinpoint.Services.Entities
Assembly
Acuit.Pinpoint.Services.Entities.dll

An override.

[DataContract(IsReference = true)]
[KnownType(typeof(UnitStation))]
[KnownType(typeof(Worker))]
[KnownType(typeof(UnitComponent))]
[KnownType(typeof(UnitTest))]
public class Override
Inheritance
Override
Inherited Members

Constructors

Override(int, DateTime, UnitStation, Worker, UnitComponent?, UnitTest?)

Initializes a new instance of the Override class.

public Override(int overrideId, DateTime overrideDateTime, UnitStation unitStation, Worker worker, UnitComponent? unitComponent, UnitTest? unitTest)

Parameters

overrideId int

The unique identifier for this override.

overrideDateTime DateTime

The date/time when this override occurred, in UTC.

unitStation UnitStation

The unit station at which this occurred.

worker Worker

The worker who performed the override.

unitComponent UnitComponent

The unit component that is being overridden, or null if this override is not for a unit component.

unitTest UnitTest

The unit test that is being overridden, or null if this override is not for a unit test.

Exceptions

ArgumentNullException

unitStation is null.

ArgumentNullException

worker is null.

Properties

Notes

Gets or sets optional notes about this override.

[DataMember]
public string? Notes { get; set; }

Property Value

string

OverrideDateTime

Gets the date/time when this override occurred, in UTC.

[DataMember]
public DateTime OverrideDateTime { get; }

Property Value

DateTime

OverrideId

Gets the unique identifier for this override.

[DataMember]
public int OverrideId { get; }

Property Value

int

UnitComponent

Gets the unit component that is being overridden, or null if this override is not for a unit component.

[DataMember]
public UnitComponent? UnitComponent { get; }

Property Value

UnitComponent

UnitStation

Gets the unit station at which this occurred.

[DataMember]
public UnitStation UnitStation { get; }

Property Value

UnitStation

UnitTest

Gets the unit test that is being overridden, or null if this override is not for a unit test.

[DataMember]
public UnitTest? UnitTest { get; }

Property Value

UnitTest

Worker

Gets the worker who performed the override.

[DataMember]
public Worker Worker { get; }

Property Value

Worker