Ejemplo n.º 1
0
        public List <SummaryIssue> dataReportSummaryIssue()
        {
            TeraManager         tmm  = new TeraManager();
            DataTable           dt   = new DataTable();
            List <SummaryIssue> lst_ = new List <SummaryIssue>();
            SummaryIssue        obj_;

            try
            {
                string strQuery = string.Empty;
                strQuery = " select update_date as name_ , total  from DATALAB_OPER.pss_report_sumary_issue_01 order by 1 ";

                dt = tmm.GetDataTableTera(strQuery);
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    obj_       = new SummaryIssue();
                    obj_.Name  = dt.Rows[i]["name_"].ToString();
                    obj_.Total = Int16.Parse(dt.Rows[i]["total"].ToString());
                    lst_.Add(obj_);
                }
            }
            catch (Exception e)
            {
                Console.Out.WriteLine(e.Message.ToString());
            }


            return(lst_);
        }
 public CreateIssuePage FillSummaryField(String summarytxt)
 {
     SummaryIssue.Click();
     SummaryIssue.SendKeys(summarytxt);
     return(this);
 }