示例#1
0
        private CloseOutOption BuildHousingCloseOutOptions()
        {
            var housingOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "HOU",
                Description = "Housing",
                Color       = this.GetColorFromID(idIndex)
            };

            var webOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "WEB",
                Description = "Web",
                Color       = Color.OliveDrab
            };

            for (int i = 0; i < houWebDescs.Length; i++)
            {
                webOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = houWebCodes[i],
                    Description = houWebDescs[i]
                });
            }
            housingOption.AddChildOption(webOption);

            var hotelOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "HOTEL",
                Description = "Hotel",
                Color       = this.GetColorFromID(idIndex)
            };

            for (int i = 0; i < houHotelDescs.Length; i++)
            {
                hotelOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = houHotelCodes[i],
                    Description = houHotelDescs[i]
                });
            }
            housingOption.AddChildOption(hotelOption);

            for (int i = 0; i < houDescs.Length; i++)
            {
                housingOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = houCodes[i],
                    Description = houDescs[i]
                });
            }

            return(housingOption);
        }
示例#2
0
        private CloseOutOption BuildLeadCloseOutOptions()
        {
            var leadOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "LEAD",
                Description = "Lead Sales",
                Color       = this.GetColorFromID(idIndex)
            };

            var swapOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "SWAP",
                Description = "SWAP issues"
            };

            leadOption.AddChildOption(swapOption);

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "PRODUCTINFO",
                Description = "Product Info"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "PLACEORDER",
                Description = "Place Order"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "CHANGEORDER",
                Description = "Change Order"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "PAYMENT",
                Description = "Make Payment"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "REFUND",
                Description = "Refund Request"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "ONSITE",
                Description = "Onsite Assistance"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "PORTAL",
                Description = "Portal Login Issues"
            });

            leadOption.AddChildOption(new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "REFERRAL",
                Description = "Referral to Rep"
            });
            return(leadOption);
        }
示例#3
0
        private CloseOutOption BuildRegCloseOutOptions()
        {
            var regOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "REG",
                Description = "Registration",
                Color       = this.GetColorFromID(idIndex)
            };

            var regWebOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "WEB",
                Description = "Web",
                Color       = this.GetColorFromID(idIndex)
            };

            for (int i = 0; i < regWebDescs.Length; i++)
            {
                regWebOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = regWebCodes[i],
                    Description = regWebDescs[i]
                });
            }
            regOption.AddChildOption(regWebOption);

            var regAssistOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "ASSIST",
                Description = "Assistance",
                Color       = this.GetColorFromID(idIndex)
            };

            for (int i = 0; i < regAssistDescs.Length; i++)
            {
                regAssistOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = regAssistCodes[i],
                    Description = regAssistDescs[i]
                });
            }
            regOption.AddChildOption(regAssistOption);

            var regShowRegOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "SHOWREG",
                Description = "Show Registration",
                Color       = this.GetColorFromID(idIndex)
            };

            for (int i = 0; i < regShowRegDescs.Length; i++)
            {
                regShowRegOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = regShowRegCodes[i],
                    Description = regShowRegDescs[i]
                });
            }
            regOption.AddChildOption(regShowRegOption);

            var regRequestOption = new CloseOutOption()
            {
                ID          = idIndex++,
                Code        = "REQUEST",
                Description = "Requests",
                Color       = this.GetColorFromID(idIndex)
            };

            for (int i = 0; i < regRequestDescs.Length; i++)
            {
                regRequestOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = regRequestCodes[i],
                    Description = regRequestDescs[i]
                });
            }
            regOption.AddChildOption(regRequestOption);

            for (int i = 0; i < regDescs.Length; i++)
            {
                regOption.AddChildOption(new CloseOutOption()
                {
                    ID          = idIndex++,
                    Code        = regCodes[i],
                    Description = regDescs[i]
                });
            }

            return(regOption);
        }