Esempio n. 1
0
        public IOrderDomain CreateAddModOrderDomainObj()
        {
            ITraOrderBLLFactory                            orderBllFactory             = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel>                   orderBll                    = orderBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory                      orderStatusBllFactory       = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel>       orderStatusBll              = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory                      orderDetailBllFactory       = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel>       orderDetailBll              = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory                        passengerBllFactory         = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel>           passengerBll                = passengerBllFactory.CreateBllObj();
            ITraModOrderBLLFactory                         traModOrderBllFactory       = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel>             traModOrderBll              = traModOrderBllFactory.CreateBllObj();
            ITraModOrderDetailBLLFactory                   traModOrderDetailBllFactory = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll        =
                traModOrderDetailBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory            = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraOrderLogBLLFactory             traOrderLogBllFactory = new TraOrderLogBLLFactory();
            ITraOrderLogBLL <TraOrderLogModel> traOrderLogBll        = traOrderLogBllFactory.CreateBllObj();

            ICustomerBLLFactory factory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel> customerBll = factory.CreateBllObj();

            ICorporationBLLFactory             corporationBllFactory = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll        = corporationBllFactory.CreateBllObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, traModOrderBll,
                                   traModOrderDetailBll, traInterFaceOrderServerBll, traOrderLogBll, corporationBll, customerBll));
        }
Esempio n. 2
0
        public IOrderDomain CreateAppOrderInfoDomainObj()
        {
            ICustomerBLLFactory factory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel> customerBll                               = factory.CreateBllObj();
            ITraOrderBLLFactory                      orderBllFactory                   = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel>             orderBll                          = orderBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory                orderStatusBllFactory             = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll                    = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory                orderDetailBllFactory             = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel> orderDetailBll                    = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory                  passengerBllFactory               = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel>     passengerBll                      = passengerBllFactory.CreateBllObj();
            IProjectNameBLLFactory                   projectNameBllFactory             = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel>       projectNameBll                    = projectNameBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory       traInterFaceOrderServerBllFactory =
                new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraModOrderBLLFactory             modOrderBllFactory = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel> traModOrderBll     = modOrderBllFactory.CreateBllObj();

            ITraModOrderDetailBLLFactory traModOrderDetailBllFactory            = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll =
                traModOrderDetailBllFactory.CreateBllObj();
            IGetCorpAduitOrderServiceBll _getCorpAduitOrderServiceBll = new GetCorpAduitOrderServiceBllFactory().CreateObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, customerBll, projectNameBll,
                                   traInterFaceOrderServerBll, traModOrderBll, traModOrderDetailBll, _getCorpAduitOrderServiceBll));
        }
Esempio n. 3
0
        public IOrderDomain CreateAddRetOrderDomainObj()
        {
            ITraOrderBLLFactory                                  orderBllFactory                   = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel>                         orderBll                          = orderBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory                            orderStatusBllFactory             = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel>             orderStatusBll                    = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory                            orderDetailBllFactory             = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel>             orderDetailBll                    = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory                              passengerBllFactory               = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel>                 passengerBll                      = passengerBllFactory.CreateBllObj();
            ITraModOrderBLLFactory                               traModOrderBllFactory             = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel>                   traModOrderBll                    = traModOrderBllFactory.CreateBllObj();
            ITraOrderLogBLLFactory                               traOrderLogBllFactory             = new TraOrderLogBLLFactory();
            ITraOrderLogBLL <TraOrderLogModel>                   traOrderLogBll                    = traOrderLogBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory                   traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll        =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraModOrderDetailBLLFactory traModOrderDetailBllFactory            = new TraModOrderDetailBLLFactory();
            ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll =
                traModOrderDetailBllFactory.CreateBllObj();

            return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, traModOrderBll,
                                   traOrderLogBll, traInterFaceOrderServerBll, traModOrderDetailBll));
        }
Esempio n. 4
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IModHoldSeatServerBLLFactory factory = new ModHoldSeatServerBLLFactory();
            IModHoldSeatServerBLL <TraModHoldSeatCallBackLogModel> holdSeatServer = factory.CreateBllObj();

            ITraModOrderBLLFactory             traModOrderBllFactory = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel> traModOrderBll        = traModOrderBllFactory.CreateBllObj();

            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory         = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory       = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperateServerBll =
                traOrderOperateServerBllFactory.CreateBllObj();

            IRequestCancelServerBLLFactory requestCancelServerBllFactory = new RequestCancelServerBLLFactory();
            IRequestCancelServerBLL <TraRequestCancelResponseModel> requestCancelServer =
                requestCancelServerBllFactory.CreateSampleBllObj();

            IServerDomain domain = new ServerDomain(holdSeatServer, traModOrderBll, interFaceOrderServerBll,
                                                    orderOperateServerBll, requestCancelServer);

            return(domain);
        }
Esempio n. 5
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中OrderSubmitServerBLLFactoty
            IOrderCancelServerBLLFactory factory = new OrderCancelServerBLLFactory();
            IOrderCancelServerBLL <TraOrderCancelResponseModel> OrderSubmitServer = factory.CreateSampleBllObj();

            ITraInterFaceOrderServerBLLFactory factory2 = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder = factory2.CreateBllObj();



            ITraOrderOperateServerBLLFactory factory3 = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate = factory3.CreateBllObj();


            ITraOrderBLLFactory          orderFac = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel> orderBll = orderFac.CreateBllObj();

            ITraOrderStatusBLLFactory traOrderStatusBllFactory      = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll = traOrderStatusBllFactory.CreateBllObj();


            IServerDomain domain = new ServerDomain(OrderSubmitServer, interFaceOrder, orderOperate, orderBll, orderStatusBll);

            return(domain);
        }
Esempio n. 6
0
        public IServerDomain CreateQueryTraInterFaceOrderStatusObj()
        {
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder  = traInterFaceOrderServerBllFactory.CreateBllObj();
            IServerDomain domain = new ServerDomain(interFaceOrder);

            return(domain);
        }
Esempio n. 7
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IPrintTicketServerBLLFactory factory = new PrintTicketServerBLLFactory();
            IPrintTicketServerBLL <TraPrintTicketCallBackLogModel> printTicketServer = factory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory factory2 = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder = factory2.CreateBllObj();
            ITraOrderOperateServerBLLFactory factory3 = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate = factory3.CreateBllObj();
            IServerDomain domain = new ServerDomain(printTicketServer, interFaceOrder, orderOperate);

            return(domain);
        }
Esempio n. 8
0
        public virtual IServerDomain CreateDomainObj()
        {
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory         = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();
            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate    = traOrderOperateServerBllFactory.CreateBllObj();

            ITraModOrderBLLFactory             traModOrderBllFactory = new TraModOrderBLLFactory();
            ITraModOrderBLL <TraModOrderModel> traModOrderBll        = traModOrderBllFactory.CreateBllObj();
            ITraOrderBLLFactory          orderBllFactory             = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel> orderBll = orderBllFactory.CreateBllObj();

            return(new ServerDomain(interFaceOrderServerBll, orderOperate, traModOrderBll, orderBll));
        }
Esempio n. 9
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中OrderSubmitServerBLLFactoty
            IOrderSubmitServerBLLFactoty orderSubmitServerBllFactoty = new OrderSubmitServerBLLFactoty();
            IOrderSubmitServerBLL <TraOrderSubmitResponseModel> orderSubmitServer = orderSubmitServerBllFactoty.CreateSampleBllObj();

            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder  = traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate    = traOrderOperateServerBllFactory.CreateBllObj();

            IServerDomain domain = new ServerDomain(orderSubmitServer, interFaceOrder, orderOperate);

            return(domain);
        }
Esempio n. 10
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IHoldSeatServerBLLFactory holdSeatServerBllFactory = new HoldSeatServerBLLFactory();
            IHoldSeatServerBLL <TraHoldSeatCallBackLogModel> holdSeatServer = holdSeatServerBllFactory.CreateBllObj();


            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder  = traInterFaceOrderServerBllFactory.CreateBllObj();


            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate    = traOrderOperateServerBllFactory.CreateBllObj();


            IServerDomain domain = new ServerDomain(holdSeatServer, interFaceOrder, orderOperate);

            return(domain);
        }
Esempio n. 11
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IRequestChangeServerBLLFactory holdSeatServerBllFactory = new RequestChangeServerBLLFactory();
            IRequestChangeServerBLL <TraRequestChangeResponseModel> holdSeatServer = holdSeatServerBllFactory.CreateSampleBllObj();


            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder  = traInterFaceOrderServerBllFactory.CreateBllObj();


            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate    = traOrderOperateServerBllFactory.CreateBllObj();


            IServerDomain domain = new ServerDomain(holdSeatServer, interFaceOrder, orderOperate);

            return(domain);
        }
Esempio n. 12
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中OrderSubmitServerBLLFactoty
            IOrderConfirmServerBLLFactoty factory = new OrderConfirmServerBLLFactoty();
            IOrderConfirmServerBLL <TraOrderConfirmResponseModel> OrderSubmitServer = factory.CreateSampleBllObj();

            ITraInterFaceOrderServerBLLFactory factory2 = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrder = factory2.CreateBllObj();



            ITraOrderOperateServerBLLFactory factory3 = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperate = factory3.CreateBllObj();


            IServerDomain domain = new ServerDomain(OrderSubmitServer, interFaceOrder, orderOperate);

            return(domain);
        }
Esempio n. 13
0
        public IOrderDomain CreateRetOrderListDomainObj()
        {
            ITraOrderListBLLFactory orderListBllFactory                          = new TraOrderBLLFactory();
            ITraOrderListBLL <TraOrderListDataModel> orderListBll                = orderListBllFactory.CreateBllObj();
            ITraOrderStatusBLLFactory orderStatusBllFactory                      = new TraOrderStatusBLLFactory();
            ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll              = orderStatusBllFactory.CreateBllObj();
            ITraOrderDetailBLLFactory orderDetailBllFactory                      = new TraOrderDetailBLLFactory();
            ITraOrderDetailBLL <TraOrderDetailModel> orderDetailBll              = orderDetailBllFactory.CreateBllObj();
            ITraPassengerBLLFactory passengerBllFactory                          = new TraPassengerBLLFactory();
            ITraPassengerBLL <TraPassengerModel> passengerBll                    = passengerBllFactory.CreateBllObj();
            IProjectNameBLLFactory             projectNameBllFactory             = new ProjectNameBLLFactory();
            IProjectNameBLL <ProjectNameModel> projectNameBll                    = projectNameBllFactory.CreateBllObj();
            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory =
                new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            return(new OrderDomain(orderListBll, orderStatusBll, orderDetailBll, passengerBll, projectNameBll,
                                   traInterFaceOrderServerBll));
        }
Esempio n. 14
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IModPrintTicketServerBLLFactory factory = new ModPrintTicketServerBLLFactory();
            IModPrintTicketServerBLL <TraModPrintTicketCallBackLogModel> modPrintTicketServer = factory.CreateBllObj();

            ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory         = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrderServerBll =
                traInterFaceOrderServerBllFactory.CreateBllObj();

            ITraOrderOperateServerBLLFactory traOrderOperateServerBllFactory       = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperateServerBll =
                traOrderOperateServerBllFactory.CreateBllObj();

            ITraOrderBLLFactory          orderBllFactory = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel> orderBll        = orderBllFactory.CreateBllObj();

            IServerDomain domain = new ServerDomain(modPrintTicketServer, interFaceOrderServerBll, orderOperateServerBll, orderBll);

            return(domain);
        }
Esempio n. 15
0
        public IServerDomain CreateDomainObj()
        {
            //业务(占位)单元工厂,创建业务单元,通过构造注入到Domain中
            IRefundTicketServerBLLFactory factory = new RefundTicketServerBLLFactory();
            IRefundTicketServerBLL <TraRefundTicketCallBackLogModel> holdSeatServer = factory.CreateBllObj();


            ITraInterFaceOrderServerBLLFactory factory2 = new TraInterFaceOrderServerBLLFactory();
            ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> interFaceOrderServerBll = factory2.CreateBllObj();
            ITraOrderOperateServerBLLFactory factory3 = new TraOrderOperateServerBLLFactory();
            ITraOrderOperateServerBLL <TraOrderOperateModel> orderOperateServerBll = factory3.CreateBllObj();

            ITraOrderBLLFactory          traOrderBllFactory = new TraOrderBLLFactory();
            ITraOrderBLL <TraOrderModel> orderBll           = traOrderBllFactory.CreateBllObj();

            IServerDomain domain = new ServerDomain(holdSeatServer, interFaceOrderServerBll, orderOperateServerBll,
                                                    orderBll);

            return(domain);
        }