Exemple #1
0
        public void POETPrintLaunch(AspoheaderPOETPrintLaunchRequestAPI AspoheaderPOETPrintLaunchRequestAPI)
        {
            var pdspoetprintlaunchcriteria = new pdspoetprintlaunchcriteriaDataSet();

            var pdsprintersettings = new pdsprintersettingsDataSet();

            var pdspoetprint = new pdspoetprintDataSet();

            string cErrorMessage = string.Empty;

            foreach (var obj in AspoheaderPOETPrintLaunchRequestAPI.poetprintreportlist)
            {
                DataRow ttblpoetprintreportlistRow = pdspoetprint.ttblpoetprintreportlist.NewttblpoetprintreportlistRow();
                Poetprintreportlist.UpdateRowFromPoetprintreportlist(ref ttblpoetprintreportlistRow, obj);
                pdspoetprint.ttblpoetprintreportlist.AddttblpoetprintreportlistRow((pdspoetprintDataSet.ttblpoetprintreportlistRow)ttblpoetprintreportlistRow);
            }

            DataRow ttblpoetprintscreensingleRow = pdspoetprint.ttblpoetprintscreensingle.NewttblpoetprintscreensingleRow();

            Poetprintscreensingle.UpdateRowFromPoetprintscreensingle(ref ttblpoetprintscreensingleRow, AspoheaderPOETPrintLaunchRequestAPI.poetprintscreensingle);
            pdspoetprint.ttblpoetprintscreensingle.AddttblpoetprintscreensingleRow((pdspoetprintDataSet.ttblpoetprintscreensingleRow)ttblpoetprintscreensingleRow);

            DataRow ttblpoetprintlaunchcriteriaRow = pdspoetprintlaunchcriteria.ttblpoetprintlaunchcriteria.NewttblpoetprintlaunchcriteriaRow();

            Poetprintlaunchcriteria.UpdateRowFromPoetprintlaunchcriteria(ref ttblpoetprintlaunchcriteriaRow, AspoheaderPOETPrintLaunchRequestAPI.poetprintlaunchcriteria);
            pdspoetprintlaunchcriteria.ttblpoetprintlaunchcriteria.AddttblpoetprintlaunchcriteriaRow((pdspoetprintlaunchcriteriaDataSet.ttblpoetprintlaunchcriteriaRow)ttblpoetprintlaunchcriteriaRow);

            foreach (var obj in AspoheaderPOETPrintLaunchRequestAPI.printersettings)
            {
                DataRow ttblprintersettingsRow = pdsprintersettings.ttblprintersettings.NewttblprintersettingsRow();
                Printersettings.UpdateRowFromPrintersettings(ref ttblprintersettingsRow, obj);
                pdsprintersettings.ttblprintersettings.AddttblprintersettingsRow((pdsprintersettingsDataSet.ttblprintersettingsRow)ttblprintersettingsRow);
            }


            NLogLoggerP.Trace("POETPrintLaunch - Aspoheader - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAspoheaderproxy = this.proxyAppObject.CreatePO_aspoheaderproxy())
                {
                    this.SetRequiredContextParameters();
                    poAspoheaderproxy.POETPrintLaunch(ref pdsContext, pdspoetprintlaunchcriteria, pdsprintersettings, pdspoetprint, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("POETPrintLaunch - Aspoheader - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdspoetprintlaunchcriteria);
        }
Exemple #2
0
 public void POETPrintLaunch(AspoheaderPOETPrintLaunchRequestAPI AspoheaderPOETPrintLaunchRequestAPI)
 {
     this.repository.POETPrintLaunch(AspoheaderPOETPrintLaunchRequestAPI);
 }
Exemple #3
0
 public void POETPrintLaunch(AspoheaderPOETPrintLaunchRequestAPI AspoheaderPOETPrintLaunchRequestAPI)
 {
     this.adapter.POETPrintLaunch(AspoheaderPOETPrintLaunchRequestAPI);
 }