Exemple #1
0
        private void Post_SO_North()
        {
            txtInform2.AppendText(string.Format("\r\n" + Constant.INFORM_START_SO + "\r\n", "North"));
            SOController_North soController = new SOController_North();

            soController.PostToIon_Xdock();
            soController.PostToIon();
            soController.PostToIon_Return();
            txtInform2.AppendText(string.Format("\r\n" + Constant.INFORM_END_SO + "\r\n", "North"));
        }
Exemple #2
0
        private ResultDatabase_Model CountLineSuccess_SO(string text, int count, string fileName)
        {
            int indicator = DAL.IntReturn(text.Substring(0, 1));
            ResultDatabase_Model result    = new ResultDatabase_Model();
            SOController_North   soControl = new SOController_North();

            result           = soControl.InsertDatabase(text, indicator, fileName);
            result.indicator = indicator;

            if (result.check == true)
            {
                count++;
                result.numberRowSuccess = count;
            }
            else
            {
                result.numberRowSuccess = count;
            }
            return(result);
        }