public void GetData(string[,] coordinate, WATWafer wafer, int i) { SiteID = (i + 1).ToString(); SiteX = coordinate[0, 0]; SiteY = coordinate[0, 1]; etest_ts = new List <Etest_T>(); foreach (WATParameter parameter in wafer.parameters) { Etest_T t = new Etest_T(); t.GetData(parameter, i); etest_ts.Add(t); } }
public void GetData(WATWafer wafer, WAT wat) { WaferNumber = wafer.WaferID; // SiteCount = wat.TestSite; ParameterCount = wafer.parameters.Count.ToString(); WaferPass = ""; Comments = ""; sites = new List <Etest_Site>(); for (int i = 0; i < Convert.ToInt32(wat.TestSite); i++) { Etest_Site site = new Etest_Site(); site.GetData(wat.site_coordinates[i], wafer, i); sites.Add(site); } }