public List <NaesbRequestForConfirmation> Invoke(DateTime gasday, string pipeline, string utility, string cycle) { var list = new List <NaesbRequestForConfirmation>(); var objs = _naesbEventProcessGetService .Invoke( "RFC" , gasday , pipeline , utility , cycle); foreach (var obj in objs) { list.Add(CS.Common.Utilities.XmlTransformer.XmlDeserialize <NaesbRequestForConfirmation>(obj.EdiData)); } return(list); }
public List <NaesbScheduledQuantities> Invoke(DateTime gasday, string pipeline, string utility, string cycle) { var nosqs = new List <NaesbScheduledQuantities>(); var osqs = _naesbEventProcessGetService .Invoke( "OSQ" , gasday , pipeline , utility , cycle); foreach (var osq in osqs) { var obj = CS.Common.Utilities.XmlTransformer.XmlDeserialize <NaesbScheduledQuantities>(osq.EdiData); nosqs.Add(obj); } return(nosqs); }
public List <NaesbConfirmationResponse> Invoke(DateTime gasday, string pipeline, string utility, string cycle) { var ncrs = new List <NaesbConfirmationResponse>(); var crs = _naesbEventProcessGetService .Invoke( "CR" , gasday , pipeline , utility , cycle); foreach (var cr in crs) { var obj = CS.Common.Utilities.XmlTransformer.XmlDeserialize <NaesbConfirmationResponse>(cr.EdiData); ncrs.Add(obj); } return(ncrs); }