Esempio n. 1
0
        public void DoCompare()
        {
            Dictionary <string, List <string> > m_vietstockResult = ReadContentResult(Constants.CONTENT_RESULT_VIETSTOCK_FILE_NAME);
            Dictionary <string, List <string> > m_vndirectResult  = ReadContentResult(Constants.CONTENT_RESULT_VNDIRECT_FILE_NAME);

            List <bctc> listBaoCao = DatabaseUtility.GetAllBctc2();
            int         count      = listBaoCao.Count;

            for (int i = 0; i < count; i++)
            {
                bctc   baoCao           = listBaoCao[i];
                string contentVietStock = FindResultString(m_vietstockResult[baoCao.mack], baoCao.mack, baoCao.Nam.ToString(), baoCao.Quy.ToString());
                string contentVndirect  = FindResultString(m_vndirectResult[baoCao.mack], baoCao.mack, baoCao.Nam.ToString(), baoCao.Quy.ToString());
                CompareValue(baoCao, contentVietStock, contentVndirect);
            }
        }