Show / Hide Table of Contents

Class UnitHistory

Inheritance
System.Object
UnitHistory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Virinco.WATS.Interface.MES.Production
Assembly: Virinco.WATS.Interface.MES.dll
Syntax
public class UnitHistory

Properties

Details

If details is true, a list of info and error messages.

Declaration
[JsonProperty("details")]
public List<UnitReportHistoryDetails> Details { get; set; }
Property Value
Type Description
System.Collections.Generic.List<UnitReportHistoryDetails>

EndUtc

If unit has report, this is when the test or repair ended.

Declaration
[JsonProperty("endUtc")]
public DateTime? EndUtc { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Forced

true if this change was forced by a user.

Declaration
[JsonProperty("forced")]
public bool Forced { get; set; }
Property Value
Type Description
System.Boolean

Level

Unit type, Unit or Subunit.

Declaration
[JsonProperty("level")]
public string Level { get; set; }
Property Value
Type Description
System.String

Location

If unit has report, this is the location in the report.

Declaration
[JsonProperty("location")]
public string Location { get; set; }
Property Value
Type Description
System.String

Operator

If unit has report, this is the operator in the report.

Declaration
[JsonProperty("userName")]
public string Operator { get; set; }
Property Value
Type Description
System.String

PN

Unit part number.

Declaration
[JsonProperty("partNumber")]
public string PN { get; set; }
Property Value
Type Description
System.String

Process

The process the unit was in.

Declaration
[JsonProperty("toProcess")]
public string Process { get; set; }
Property Value
Type Description
System.String

Purpose

If unit has report, this is the purpose in the report.

Declaration
[JsonProperty("purpose")]
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
[JsonProperty("uuid")]
public Guid? ReportId { get; set; }
Property Value
Type Description
System.Nullable<System.Guid>

Revision

Unit revision.

Declaration
[JsonProperty("revision")]
public string Revision { get; set; }
Property Value
Type Description
System.String

SN

Unit serial number.

Declaration
[JsonProperty("serialNumber")]
public string SN { get; set; }
Property Value
Type Description
System.String

StartUtc

Date and time of when the change happened.

Declaration
[JsonProperty("startUtc")]
public DateTime StartUtc { get; set; }
Property Value
Type Description
System.DateTime

StationName

If unit has report, this is the station name in the report.

Declaration
[JsonProperty("stationName")]
public string StationName { get; set; }
Property Value
Type Description
System.String

Status

The status the unit had.

Declaration
[JsonProperty("status")]
public string Status { get; set; }
Property Value
Type Description
System.String
In This Article
Back to top View how-to articles, videos and more at support.virinco.com Send comments on this topic to support@virinco.com