void ITxMessage.Parse(XElement txElm) {
this.ProcessJobs = (from pjElm in txElm.Element("ProcessJobIDs").Elements("ProcessJob")
select new ProcessJob(
pjElm.Attribute("ProcessJobID").Value,
pjElm.Element("Recipe").Attribute("RecipeID").Value,
pjElm.Element("Reticle").Attribute("ReticleID").Value,
pjElm.Element("DataItems").Attribute("DataCollectionDefinitionID").Value,
pjElm.Element("StartMethod").Attribute("StartMethodID").Value,
from carrierElm in pjElm.Element("Carriers").Elements("Carrier")
select CreateCarrierFromElm(carrierElm),
from paramElm in pjElm.Element("RecipeParameters").Elements("RecipeParameter")
select new RecipeParameter {
Name = paramElm.Attribute("Name").Value,
Value = paramElm.Value
},
from lotElm in pjElm.Element("Lots").Elements("Lot")
select new EDALotInfo {
LotID = lotElm.Attribute("LotID").Value,
ProductID = lotElm.Attribute("ProductID").Value,
OperationNo = lotElm.Attribute("OperationNo").Value,
PassCount = lotElm.Attribute("PassCount").Value,
FlowBatchID = lotElm.Attribute("FlowBatchID").Value,
Fab = lotElm.Attribute("Fab").Value,
CarrierID = lotElm.Attribute("CarrierID").Value,
RouteID = lotElm.Attribute("RouteID").Value
})).ToList();
}