Exemplo n.º 1
0
        public string MakingPrintMakeUp()
        {
            //获取三十分还是正在出票的信息,并访问接口获取实际信息,如果依旧是正在出票,则提醒;如果已经出票,但没有回执,则提醒
            IServerDomainFactory makeUpFactory               = new MakeUpFactory();
            IServerDomain        serverDomain                = makeUpFactory.CreateDomainObj();
            IServerDomainFactory serverDomainFactory         = new OrderInfoFactory();
            IServerDomain        requestInterfaceOrderDomain = serverDomainFactory.CreateDomainObj();

            serverDomain.PrintingMakeUp(requestInterfaceOrderDomain);

            return("ok");
        }
Exemplo n.º 2
0
        public string HoldSeateMakeUp()
        {
            IServerDomainFactory makeUpFactory = new MakeUpFactory();
            IServerDomain        serverDomain  = makeUpFactory.CreateDomainObj();

            IServerDomainFactory orderCancelFactory = new OrderCancelFactory();
            IServerDomain        orderCancelDomain  = orderCancelFactory.CreateDomainObj();

            IServerDomainFactory requestCancelfactory = new RequestCancelFactory();
            IServerDomain        requestCancelDomain  = requestCancelfactory.CreateDomainObj();

            serverDomain.HoldSeateMakeUpInfo(orderCancelDomain, requestCancelDomain);
            return("Ok");
        }