public XElement Process(EpcisEvent quantityEvent) { _root = XmlEventFormatter.CreateEvent("QuantityEvent", quantityEvent); AddQuantityEpc(quantityEvent); AddBusinessStep(quantityEvent); AddDisposition(quantityEvent); AddReadPoint(quantityEvent); AddBusinessLocation(quantityEvent); AddBusinessTransactions(quantityEvent); AddEventExtension(quantityEvent); AddExtensionField(); AddCustomFields(quantityEvent); return(_root); }
public XElement Process(EpcisEvent transformationEvent) { _root = XmlEventFormatter.CreateEvent("TransformationEvent", transformationEvent); AddEpcList(transformationEvent); AddBusinessStep(transformationEvent); AddDisposition(transformationEvent); AddReadPoint(transformationEvent); AddBusinessLocation(transformationEvent); AddBusinessTransactions(transformationEvent); AddSourceDestinations(transformationEvent); AddEventExtension(transformationEvent); AddExtensionField(); AddCustomFields(transformationEvent); return(new XElement("extension", _root)); }
public XElement Process(EpcisEvent epcisEvent) { Root = XmlEventFormatter.CreateEvent("TransactionEvent", epcisEvent); AddBusinessTransactions(epcisEvent); AddEpcList(epcisEvent); AddAction(epcisEvent); AddBusinessStep(epcisEvent); AddDisposition(epcisEvent); AddReadPoint(epcisEvent); AddBusinessLocation(epcisEvent); AddEventExtension(epcisEvent); AddSourceDestinations(epcisEvent, Extension); AddExtensionField(); AddCustomFields(epcisEvent); return(Root); }
public XElement Process(EpcisEvent aggregationEvent) { _root = XmlEventFormatter.CreateEvent("AggregationEvent", aggregationEvent); AddParentId(aggregationEvent); AddChildEpcs(aggregationEvent); AddAction(aggregationEvent); AddBusinessStep(aggregationEvent); AddDisposition(aggregationEvent); AddReadPoint(aggregationEvent); AddBusinessLocation(aggregationEvent); AddBusinessTransactions(aggregationEvent); AddSourceDestinations(aggregationEvent); AddEventExtension(aggregationEvent); AddExtensionField(); AddCustomFields(aggregationEvent); return(_root); }
public XElement Process(EpcisEvent objectEvent) { _root = XmlEventFormatter.CreateEvent("ObjectEvent", objectEvent); AddEpcList(objectEvent); AddAction(objectEvent); AddBusinessStep(objectEvent); AddDisposition(objectEvent); AddReadPoint(objectEvent); AddBusinessLocation(objectEvent); AddBusinessTransactions(objectEvent); AddEventExtension(objectEvent); AddSourceDestinations(objectEvent); AddIlmdFields(objectEvent); AddExtensionField(); AddCustomFields(objectEvent); return(_root); }