예제 #1
0
        public int ProcessingCharge(string Workflow)
        {
            int ProcessingCharge = 0;

            Workflow = RequestObject.ComponentType;
            if (Workflow == "Integral")
            {
                IntegralWorkflow integral = new IntegralWorkflow();
                ProcessingCharge = integral.ProcessingCharge(RequestObject.IsPriorityRequest);
            }
            else
            {
                AccessoryWorkflow accessory = new AccessoryWorkflow();
                ProcessingCharge = accessory.ProcessingCharge(false);
            }
            return(ProcessingCharge);
        }
예제 #2
0
        public int ProcessingCharge(string Workflow)
        {
            int ProcessingCharge = 0;

            Workflow = RequestObject.ComponentType;
            if (Workflow == "IntegralWorkflow")
            {
                IntegralWorkflow ob = new IntegralWorkflow();
                ProcessingCharge = ob.ProcessingCharge(RequestObject);
            }
            else
            {
                AccessoryWorkflow ob1 = new AccessoryWorkflow();
                ProcessingCharge = ob1.ProcessingCharge(RequestObject);
            }
            return(ProcessingCharge);
        }