Show / Hide Table of Contents

Class Asset

Class that represent an asset. An asset is normally a device used in testing that can be controlled for service maintenance, running count etc.

Inheritance
System.Object
Asset
Inherited Members
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.Asset
Assembly: Virinco.WATS.Interface.MES.dll
Syntax
public class Asset

Fields

AssetStatus

AssetStatus object.

Declaration
public AssetStatus AssetStatus
Field Value
Type Description
AssetStatus

Properties

AssetId

Unique asset Id

Declaration
public string AssetId { get; set; }
Property Value
Type Description
System.String

AssetName

Alternate name of asset

Declaration
public string AssetName { get; set; }
Property Value
Type Description
System.String

AssetType

Type of Asset

Declaration
public AssetType AssetType { get; set; }
Property Value
Type Description
AssetType

Description

Asset description

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

FirstSeenDate

TimeStamp for when the asset was created.

Declaration
public DateTime FirstSeenDate { get; set; }
Property Value
Type Description
System.DateTime

LastCalibrationDate

Timestamp for when the Asset was last calibrated

Declaration
public DateTime? LastCalibrationDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

LastMaintenanceDate

Timestamp for when the Asset was last maintained

Declaration
public DateTime? LastMaintenanceDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

LastSeenDate

Timestamp for when the Asset was last seen/used.

Declaration
public DateTime? LastSeenDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Location

Asset location

Declaration
public string Location { get; set; }
Property Value
Type Description
System.String

ParentAssetId

Identity for an assets parent. Can be null

Declaration
public string ParentAssetId { get; set; }
Property Value
Type Description
System.String

ParentSerialNumber

Serial number for an assets parent. Can be null

Declaration
public string ParentSerialNumber { get; set; }
Property Value
Type Description
System.String

PartNumber

Asset part number

Declaration
public string PartNumber { get; set; }
Property Value
Type Description
System.String

Revision

Asset part revision

Declaration
public string Revision { get; set; }
Property Value
Type Description
System.String

RunningCount

Running count for an instrument between each calibration.

Declaration
public int RunningCount { get; set; }
Property Value
Type Description
System.Int32

SerialNumber

Unique serial number

Declaration
public string SerialNumber { get; set; }
Property Value
Type Description
System.String

State

Asset states

Declaration
public State State { get; set; }
Property Value
Type Description
State

Tags

List of asset tags and their values

Declaration
public List<KeyValuePair<string, string>> Tags { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String, System.String>>

TotalCount

Total asset usage

Declaration
public int TotalCount { get; set; }
Property Value
Type Description
System.Int32

TypeId

Id of asset type

Declaration
public Guid TypeId { get; set; }
Property Value
Type Description
System.Guid

Methods

ToString()

ToString that contains serial number, parent serial number, name, partNumber and state for an asset.

Declaration
public string ToString()
Returns
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