Class IclInstanceTestResult
- Namespace
- Csra
- Assembly
- Csra.dll
Class to store the metadata and test result of an icl instance, part of ScanNetworkPatternResults of a ScanNetwork pattern(set).
[Serializable]
public class IclInstanceTestResult
- Inheritance
-
IclInstanceTestResult
- Inherited Members
Constructors
IclInstanceTestResult(IclInstanceInfo)
Create a new IclInstanceTestResult for an icl instance.
public IclInstanceTestResult(IclInstanceInfo iclInstance)
Parameters
iclInstanceIclInstanceInfoThe icl instance for which this result is representing.
IclInstanceTestResult(IclInstanceTestResult)
Create a new instance of IclInstanceTestResult by copying another instance. This can be useful when you want to create a new instance to hold updated results while keeping the original results unchanged.
public IclInstanceTestResult(IclInstanceTestResult source)
Parameters
sourceIclInstanceTestResultThe source IclInstanceTestResult to copy.
Properties
CoreInstanceName
Gets the core instance name that this icl instance belongs to.
public string CoreInstanceName { get; }
Property Value
ErrorStatus
Returns the per-site error status if any. 0 = no error.
public Site<int> ErrorStatus { get; }
Property Value
- Site<int>
InstanceName
Gets the icl instance name.
public string InstanceName { get; }
Property Value
IsFailed
Gets or sets the per-site test result of the icl instance. True = failed, False = passed.
public Site<bool> IsFailed { get; set; }
Property Value
- Site<bool>
IsOnChipCompare
Returns true if this icl instance is an on-chip compare instance.
public bool IsOnChipCompare { get; }
Property Value
IsResultValid
Result is valid if the icl instance is tested. i.e. not masked or set to disable-contribution.
public Site<bool> IsResultValid { get; set; }
Property Value
- Site<bool>
TestName
Gets or sets the test name for datalogging the result of this icl instance.
public string TestName { get; set; }
Property Value
TestNumber
Gets or sets the test number for datalogging the result of this icl instance.
public int? TestNumber { get; set; }
Property Value
- int?
Methods
MergeWith(IclInstanceTestResult)
Merges the test result data from the other icl instance into the current icl instance, combining relevant status flags.
public void MergeWith(IclInstanceTestResult other)
Parameters
otherIclInstanceTestResultThe test result instance to merge with the current instance. Must represent the same ICL instance as the current object.
Remarks
This method updates the current instance's failure and validity status by combining them with those from the specified instance. Only results from the same ICL instance can be merged.
Exceptions
- ArgumentNullException
Thrown if
otheris null.- ArgumentException
Thrown if
otherrepresents a different ICL instance than the current object.