ParamValues() retval IList->ICollection, GetControl() arg. is a list of components, ver. 3.1.1598
This commit is contained in:
@@ -38,12 +38,11 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
public override string ParamName(int i) { return paramNames[i]; }
|
||||
public override int ParamsCount() { return paramNames.Length; }
|
||||
|
||||
public override IList<string> ParamValues(int i)
|
||||
public override ICollection<string> ParamValues(int i)
|
||||
{
|
||||
IList<string> retVal = new List<string>();
|
||||
|
||||
if (i == 0)
|
||||
{
|
||||
List<string> retVal = new List<string>();
|
||||
retVal.Add(iPerlCommunicationForm.ReadConfigurationStr);
|
||||
retVal.Add(string.Format("{0} A0", iPerlCommunicationForm.SetTestModeStr));
|
||||
retVal.Add(string.Format("{0} A4", iPerlCommunicationForm.SetTestModeStr));
|
||||
@@ -74,14 +73,12 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
retVal.Add(string.Format("{0} if enabled", iPerlCommunicationForm.ReadConfigurationStr));
|
||||
retVal.Add(string.Format("{0} 80", iPerlCommunicationForm.SetTestModeStr));
|
||||
retVal.Add("iPerl_check prevWorkStep direction q2factors");
|
||||
return retVal;
|
||||
}
|
||||
else
|
||||
{
|
||||
retVal.Add(Strings.yes);
|
||||
retVal.Add(Strings.no);
|
||||
return new string[] { Strings.yes, Strings.no };
|
||||
}
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
public override string ToString(int i)
|
||||
|
||||
Reference in New Issue
Block a user