Exemple #1
0
        public CRVData Scan()
        {
            //Get the scanner object
            CRObjSerializer cros      = new CRObjSerializer();
            CRScanner       crscanner = cros.LoadCRScanner(sPath);

            //Call the ICRISE implementation for this scanner
            ICRISE             icrise     = new SN171001IndicatorScan();
            List <CRIndicator> indicators = icrise.GetIndicators(dPath, crscanner);

            //Call the ICRIAE implementation for this scanner
            ICRIAE  icriae = new SN17001AnalyzerScan();
            CRVData crd    = icriae.GetCRVData(indicators, null);

            return(null);
        }
Exemple #2
0
        public CRVData Scan(string dirPath)
        {
            try
            {
                initScanner();
                //Call the ICRISE implementation for this scanner
                ICRISE             icrise     = new SN17001IScanner();
                List <CRIndicator> indicators = icrise.GetIndicators(dirPath, Icrscanner);

                //Call the ICRIAE implementation for this scanner
                ICRIAE  icriae = new SN17001AScanner();
                CRVData crd    = icriae.GetCRVData(indicators, Acrscanner);

                return(crd);
            }
            catch (Exception ex)
            {
                throw new SN17001Exception(ex.Message);
            }
        }
Exemple #3
0
 public SN17001AScanner()
 {
     crvData      = new CRVData();
     crvData.CRID = "N17001";
 }