Class ScanNetworkPatternResults
- Namespace
- Csra
- Assembly
- Csra.dll
Class to store the per core/icl instance test results of a ScanNetwork pattern(set).
[Serializable]
public class ScanNetworkPatternResults
- Inheritance
-
ScanNetworkPatternResults
- Inherited Members
Constructors
ScanNetworkPatternResults()
Create a new instance of ScanNetworkPatternResults with default values.
public ScanNetworkPatternResults()
ScanNetworkPatternResults(ScanNetworkPatternInfo)
Create a new instance of ScanNetworkPatternResults that can hold the per icl instance test result from a ScanNetwork pattern.
public ScanNetworkPatternResults(ScanNetworkPatternInfo scanNetworkPatternInfo)
Parameters
scanNetworkPatternInfoScanNetworkPatternInfoThe ScanNetworkPatternInfo object for the ScanNetwork pattern
ScanNetworkPatternResults(ScanNetworkPatternResults)
Create a new instance of ScanNetworkPatternResults 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 ScanNetworkPatternResults(ScanNetworkPatternResults source)
Parameters
sourceScanNetworkPatternResults
Properties
CoreInstance
Gets the dictionary of test results for each core instances, indexed by instance name.
public Dictionary<string, CoreInstanceTestResult> CoreInstance { get; }
Property Value
IclInstance
Gets the dictionary of test results for each icl-instance, indexed by instance name.
public Dictionary<string, IclInstanceTestResult> IclInstance { get; }
Property Value
TestConditions
User-Defined Test Conditions, such as Voltage/Frequency/Retest#, etc.
public string TestConditions { get; set; }
Property Value
Methods
GetFailedCoreInstanceList()
Gets the list of failed core instances for each site.
public Site<List<string>> GetFailedCoreInstanceList()
Returns
GetFailedCoreInstanceList(int)
Gets the list of failed core instances for a specified site.
public List<string> GetFailedCoreInstanceList(int site)
Parameters
siteintThe site number.
Returns
GetFailedIclInstances()
Retrieves a mapping of sites to lists of ICL instance identifiers that belong to any failed cores on that site.
public Site<string[]> GetFailedIclInstances()
Returns
- Site<string[]>
A Teradyne.Igxl.Interfaces.Public.Site<T> containing, for each site, an array of ICL instance identifiers within any failed cores. If a site has no failed cores, its array will be empty.
Remarks
This method aggregates failed ICL instances across all sites. The returned mapping can be used to identify and process failed cores per site. The method does not modify any site or instance state.
GetFailedIclInstances(int)
Retrieves a list of all the ICL instance identifiers that belongs to failed cores for a specified site.
public string[] GetFailedIclInstances(int site)
Parameters
siteintThe site number.
Returns
- string[]
A list of ICL instance identifiers within failed cores for the specified site. If the site has no failed cores, the list will be empty.
MergeWith(ScanNetworkPatternResults)
merges the results from another ScanNetworkPatternResults instance into the current instance. This is useful when you have multiple sets of results for the same pattern and want to combine them to get an overall result. The merging logic will combine the test results for each core and icl instance, ensuring that if any instance is failed in any of the sets, it will be marked as failed in the merged results. Similarly, the validity of results will also be combined accordingly.
public void MergeWith(ScanNetworkPatternResults other)