Example #1
0
        public void LoadCnf()
        {
            List <List <string> > contents =
                CnfHelper.GetContext(Application.dataPath + "/../Report/common/纹理.csv");

            SetInfo(contents);
        }
Example #2
0
        public void AddData()
        {
            _effcnfs.Clear();

            List <List <string> > contents =
                CnfHelper.GetContext(Application.dataPath + "/../Report/Effect_Report.csv");

            int length = contents.Count;

            for (int i = 0; i < length; i++)
            {
                CheckEffectReportCnf info = new CheckEffectReportCnf();
                info.SetInfo(contents[i]);
                _effcnfs.Add(info);
            }

            _shows.Clear();
            length = _effcnfs.Count;
            for (int i = 0; i < length; i++)
            {
                _shows.Add(_effcnfs[i]);
            }
        }