Ejemplo n.º 1
0
        private void btn_d_prr_Click(object sender, EventArgs e)
        {
            ProcessResultReport report = new ProcessResultReport();

            report.CEID    = PTYPE.Glass;
            report.UNITID  = "1AED06-IND";
            report.SUNITID = "";
            report.LOTID   = "TestLot001";
            report.CSTID   = "CST001";
            report.GLSID   = "TestGlass001";
            report.OPERID  = "Opper001";
            report.PRODID  = "NORMALPROD";
            report.PPID    = "TestRecipe001";

            #region
            DVNAMES dvnameList = new DVNAMES();
            dvnameList.Add(new DVNAMES()
            {
                DVNAME       = "Inspection Result",
                SITENAMELIST = new Func <SITENAMES>(() =>
                {
                    SITENAMES SiteNameList = new SITENAMES();
                    SiteNameList.Add(new SITENAMES()
                    {
                        DV = "data value 1", SITENAME = "G",
                    });
                    SiteNameList.Add(new SITENAMES()
                    {
                        DV = "data value 2", SITENAME = "H",
                    });
                    return(SiteNameList);
                })(),
            });
            dvnameList.Add(new DVNAMES()
            {
                DVNAME       = "Inspection Result1",
                SITENAMELIST = new Func <SITENAMES>(() =>
                {
                    SITENAMES SiteNameList = new SITENAMES();
                    SiteNameList.Add(new SITENAMES()
                    {
                        DV = "data value 1", SITENAME = "G",
                    });
                    SiteNameList.Add(new SITENAMES()
                    {
                        DV = "data value 2", SITENAME = "H",
                    });
                    return(SiteNameList);
                })(),
            });
            report.DVNAMELIST = dvnameList;
            #endregion
            cimClient?.LaunchProcessResultReportProcess(report);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// report Glass Process data
        /// </summary>
        /// <returns></returns>
        public bool LaunchProcessResultReportProcess(ProcessResultReport report)
        {
            var dc = scenarioControllers[Scenarios.Data_Collection] as DataCollection;

            return(dc.LaunchProcessResultReportProcess(report));
        }