Exemple #1
0
        /// <summary>
        /// construct an Automation Engine
        /// </summary>
        /// <param name="parser">the file parser</param>
        /// <param name="workingDir">the working directory</param>
        /// 
        public Automation(IFileParser parser, IReporter reporter, string workingDir = "")
            : this(workingDir)
        {
            Parser = parser;
            Parser.WorkingDir = workingDir;

            Reporter = reporter;
            Reporter.WorkingDir = workingDir;
        }
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="parser">the file parser</param>
 public ExcelReporter(IFileParser parser) : base(parser)
 {
 }
Exemple #3
0
 public Script(IFileParser parser)    : base(parser)
 {
     CurrentLineNumber = 0;
 }
Exemple #4
0
        // Muc dich cua cai nay dung de doc du lieu INF, DATA, SCRIPT lên
        // cái Process data là trong moi cai no doc len va co cai gi va dua vao bo du lieu
        // Contructor
        public SourceFile(IFileParser parser)
        {
            Parser = parser;

            ProcessData();
        }
 /// <summary>
 /// contructor
 /// </summary>
 /// <param name="parser"></param>
 ///
 public Data(IFileParser parser) : base(parser)
 {
 }
Exemple #6
0
 public Interface(IFileParser parser)
     : base(parser)
 {
 }
Exemple #7
0
 public Interface(IFileParser parser) : base(parser)
 {
 }
Exemple #8
0
 public Script(IFileParser parser)
     : base(parser)
 {
     CurrentLineNumber = 0;
 }
Exemple #9
0
        //---- New Project
        private void radMenuItem11_Click(object sender, EventArgs e)
        {
            //Show Form
            NewProject _newproject = new NewProject();
            _newproject.ShowDialog();

            // Dua Vao CAY
            DirectoryTreeview NewDir = treeView as DirectoryTreeview;
            //
            NewDir.PathTree = _newproject.duongdanproject;
            pathproject = _newproject.duongdanproject;
            string Pathproject = duongdanproject;
            NewDir.NameProject = _newproject._nameproject;

            DirectoryTreeview Tree = treeView as DirectoryTreeview;
            Tree.PathTree = Pathproject;
            Tree.Runother();

            IFileParser WorkDir = new IFileParser();
            WorkDir.WorkingDir = duongdanproject;
        }
Exemple #10
0
        // Muc dich cua cai nay dung de doc du lieu INF, DATA, SCRIPT lên
        // cái Process data là trong moi cai no doc len va co cai gi va dua vao bo du lieu


        // Contructor
        public SourceFile(IFileParser parser)
        {
            Parser = parser;

            ProcessData();
        }
Exemple #11
0
 //-----------------------------------------------------
 public int CountColmsv(string path)
 {
     IFileParser IF = new IFileParser();
     int cot = IF.CountCoulum(path);
     return cot;
 }