Class UnitHistory
Inheritance
System.Object
UnitHistory
Namespace: Virinco.WATS.Interface.MES.Production
Assembly: Virinco.WATS.Interface.MES.dll
Syntax
public class UnitHistory : object
Properties
Details
If details is true, a list of info and error messages.
Declaration
public List<UnitReportHistoryDetails> Details { get; set; }
Property Value
| Type | Description |
|---|---|
| List<UnitReportHistoryDetails> |
EndUtc
If unit has report, this is when the test or repair ended.
Declaration
public DateTime? EndUtc { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
Forced
true if this change was forced by a user.
Declaration
public bool Forced { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Level
Unit type, Unit or Subunit.
Declaration
public string Level { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Location
If unit has report, this is the location in the report.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Operator
If unit has report, this is the operator in the report.
Declaration
public string Operator { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PN
Unit part number.
Declaration
public string PN { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Process
The process the unit was in.
Declaration
public string Process { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Purpose
If unit has report, this is the purpose in the report.
Declaration
public string Purpose { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ReportId
Id to a report, if the change was because of test or repair.
Declaration
public Guid? ReportId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Guid> |
Revision
Unit revision.
Declaration
public string Revision { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SN
Unit serial number.
Declaration
public string SN { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StartUtc
Date and time of when the change happened.
Declaration
public DateTime StartUtc { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
StationName
If unit has report, this is the station name in the report.
Declaration
public string StationName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
The status the unit had.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |