public PREPARE_SCHEMEApiController(PREPARE_SCHEMEBLL bll, APPLIANCE_LABORATORYBLL bll2, APPLIANCE_DETAIL_INFORMATIONBLL bll3, THEREVIEWPROCESSBLL bll4, THEAPPROVALPROCESSBLL bll5)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL3 = bll3;
     m_BLL4 = bll4;
     m_BLL5 = bll5;
 }
示例#2
0
        public bool Test(string ID, out string Message)
        {
            HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
            string errors = string.Empty;

            IBLL.IPREPARE_SCHEMEBLL m_BLL  = new PREPARE_SCHEMEBLL();
            PREPARE_SCHEME          entity = m_BLL.GetById(ID);
            string saveFileName            = "";

            if (entity != null)
            {
                ExportType type = GetExportType(entity, "ExportOriginal");

                if (entity.QUALIFIED_UNQUALIFIED_TEST_ITE != null &&
                    entity.QUALIFIED_UNQUALIFIED_TEST_ITE.Count > 0)
                {
                    TableTemplates    allTableTemplates    = GetTableTemplates(type);
                    SpecialCharacters allSpecialCharacters = GetSpecialCharacters();

                    entity.QUALIFIED_UNQUALIFIED_TEST_ITE = entity.QUALIFIED_UNQUALIFIED_TEST_ITE.OrderBy(p => p.SORT).ToList();
                    string xml = string.Empty;
                    foreach (QUALIFIED_UNQUALIFIED_TEST_ITE iEntity in entity.QUALIFIED_UNQUALIFIED_TEST_ITE)
                    {
                        //iEntity.RULEID;
                        if (!string.IsNullOrWhiteSpace(iEntity.HTMLVALUE))
                        {
                            doc.LoadHtml(iEntity.HTMLVALUE);


                            //测试的时候使用
                            string data = AnalyticHTML.Getinput(doc);
                            if (!string.IsNullOrWhiteSpace(data))
                            {
                                errors += iEntity.ID + iEntity.RULENJOINAME + data;
                            }
                        }
                    }
                    var da = xml;
                }
            }
            Message = errors;
            return(false);
        }
示例#3
0
 public APPLIANCE_LABORATORYApiController(APPLIANCE_LABORATORYBLL bll, APPLIANCE_DETAIL_INFORMATIONBLL bll2, ORDER_TASK_INFORMATIONBLL bll3, PREPARE_SCHEMEBLL bll4)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL3 = bll3;
     m_BLL4 = bll4;
 }
示例#4
0
 public PRINTREPORTApiController(PRINTREPORTBLL bll, PREPARE_SCHEMEBLL bll2)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
 }
 public PREPARE_SCHEMEController(PREPARE_SCHEMEBLL bll)
 {
     m_BLL = bll;
 }
示例#6
0
 public VSHENHEController(VSHENHEBLL bll, FILE_UPLOADERBLL bll2, APPLIANCE_LABORATORYBLL bll3, PREPARE_SCHEMEBLL bll4)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL3 = bll3;
     m_BLL4 = bll4;
 }
示例#7
0
 public ApplianceController(APPLIANCE_DETAIL_INFORMATIONBLL bll, COMPANYBLL bll2, PREPARE_SCHEMEBLL bll5)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL5 = bll5;
 }
示例#8
0
 public VJIANDINGRENWUController(VJIANDINGRENWUBLL bll, FILE_UPLOADERBLL bll2, PREPARE_SCHEMEBLL bll3, APPLIANCE_LABORATORYBLL bll4, APPLIANCE_DETAIL_INFORMATIONBLL bll5)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL3 = bll3;
     m_BLL4 = bll4;
     m_BLL5 = bll5;
 }
示例#9
0
 public VQIJULINGQU2ApiController(VQIJULINGQU2BLL bll, APPLIANCECOLLECTIONBLL bll2, REPORTCOLLECTIONBLL bll3, APPLIANCE_LABORATORYBLL bll4, PREPARE_SCHEMEBLL bll5, APPLIANCE_DETAIL_INFORMATIONBLL bll6)
 {
     m_BLL  = bll;
     m_BLL2 = bll2;
     m_BLL3 = bll3;
     m_BLL4 = bll4;
     m_BLL5 = bll5;
     m_BLL6 = bll6;
 }
示例#10
0
 public VQIJULINGQU1Controller(VQIJULINGQU1BLL bll, VQIJULINGQU2BLL bll2, ORDER_TASK_INFORMATIONBLL bll3, PREPARE_SCHEMEBLL bll4, VQIJULINGQU2BLL bll5, APPLIANCE_DETAIL_INFORMATIONBLL bll6, SIGNBLL bll7)
 {
     m_BLL     = bll;
     m_BLL2    = bll2;
     m_BLL3    = bll3;
     m_BLL4    = bll4;
     m_BLL5    = bll5; m_BLL6 = bll6;
     m_BLLSIGN = bll7;
 }
示例#11
0
        public VSHENPIController(VSHENPIBLL bll, FILE_UPLOADERBLL bll2, PREPARE_SCHEMEBLL bll4)
        {
            m_BLL = bll; m_BLL2 = bll2;

            m_BLL4 = bll4;
        }