示例#1
0
        public List <GetMappingByChannelResult> aspxGetMappingByChannel(string filter)
        {
            ISingleResult <GetMappingByChannelResult> objresults = (ISingleResult <GetMappingByChannelResult>)
                                                                   Cdb.Instance.GetMappingByChannel(this.CurrentChannel);
            List <GetMappingByChannelResult> list = objresults.ToList();

            //by text filter
            if (!string.IsNullOrEmpty(filter))
            {
                for (int i = list.Count - 1; i >= 0; i--)
                {
                    if ((!list[i].ProductEan.Contains(filter)) &&
                        (!list[i].ProductName.Contains(filter)) &&
                        ((list[i].Actual != null) ? !list[i].Actual.Contains(filter) : true) &&
                        ((list[i].Recommended != null) ? !list[i].Recommended.Contains(filter) : true))
                    {
                        list.RemoveAt(i);
                    }
                }
            }
            //by state
            if (cbStates.SelectedIndex > 0)
            {
                int selValue = int.Parse(cbStates.SelectedItem.Value.ToString());
                for (int i = list.Count - 1; i >= 0; i--)
                {
                    if (list[i].ProductState != selValue)
                    {
                        list.RemoveAt(i);
                    }
                }
            }
            return(list);
        }
示例#2
0
    /// <summary>
    /// Проверяет существует ли изделие с указанным чертежом/ГОСТ
    /// </summary>
    /// <param name="drawing">Искомый чертеж/ГОСТ</param>
    private bool productIsNotExist(string drawing, string productName)
    {
        //Если название чертежа пустое - конец проверки
        if (drawing == "")
        {
            return(true);
        }
        MainDataClassesDataContext context = new MainDataClassesDataContext();
        ISingleResult <ogk_DrawingAndNameCheckUpCreateResult> a = context.ogk_DrawingAndNameCheckUpCreate(drawing, productName);
        List <ogk_DrawingAndNameCheckUpCreateResult>          b = a.ToList();
        int articlesWithThisDrawing = b.Count;

        if (articlesWithThisDrawing > 0)
        {
            //Изделие с таким же чертежом/ГОСТ уже существует - ошибка
            productNameMessage.Visible = true;
            drawingMessage.Visible     = true;
            ShowErrorMessage("*,** Изделие с заданными именем и чертежом(ГОСТ) уже существует");
            return(false);
        }
        else
        {
            //Изделие с таким же чертежом/ГОСТ не существует - все ОК
            return(true);
        }
    }
    private void LoadTreeView()
    {
        //Загружаем группы изделий выбранной категории
        MainDataClassesDataContext context = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> q = context.ogk_SelectArticleGroups(0, Convert.ToInt32(ArticleTypesList.SelectedValue));
        List <ogk_SelectArticleGroupsResult>          z = q.ToList();

        //Загрузка дерева изделий
        TreeView1.Nodes.Clear();

        //Загрузка корневого узла всех изделий
        TreeNode rootNode = new TreeNode("Все группы", "0", "../Icons/folders.png");

        TreeView1.Nodes.Add(rootNode);

        for (int i = 0; i < z.Count; i++)
        {
            //Изображение группы изделий
            TreeNode tn = new TreeNode(z.ElementAt(i).NAME.ToString(), z.ElementAt(i).ID.ToString(), "../Icons/folder.png");
            TreeView1.Nodes[0].ChildNodes.Add(tn);
            LoadTreeNodeChildren(tn);
        }
        //Сворачиваем все дерево групп
        TreeView1.CollapseAll();
        //Выбираем первый узел дерева
        TreeView1.Nodes[0].Select();
        //Разворачиваем первый узел дерева
        TreeView1.Nodes[0].Expand();
    }
示例#4
0
        /// <summary>
        /// Skips (PageIndex) pages and returns the next (PageSize) records from the dbo.Resource table
        /// </summary>
        /// <param name="_pageIndex">Number of pages that should be skipped.. PageIndex starts with 0</param>
        /// <param name="_pageSize">Number of rows that should be taken. If PageSize = 0 all matching records will be returned.</param>
        /// <param name="_language">Language locale</param>
        /// <param name="_searchQuery"></param>
        /// <param name="_totalRowCount">Total number of rows returned by the specified filter.</param>
        /// <returns>A list of Resource instances.</returns>
        /// <remarks>This method never returns null,
        ///	if no records are available, length of the list will be 0.</remarks>
        public List <Resource> ResourceGetPageByModule_Key_Value([Parameter(Name = "@PageIndex")] Nullable <int> _pageIndex, [Parameter(Name = "@PageSize")] Nullable <int> _pageSize, [Parameter(Name = "@Language")] string _language, [Parameter(Name = "@SearchQuery")] string _searchQuery, out int _totalRowCount)
        {
            ISingleResult <Resource> list = _ResourceGetPageByModule_Key_Value(_pageIndex, _pageSize, _language, _searchQuery);

            _totalRowCount = (int)list.ReturnValue;
            return(list.ToList <Resource>());
        }
示例#5
0
    /// <summary>
    /// Загружает в окно информацию об изделии
    /// </summary>
    /// <param name="ID">Идентификатор изделия</param>
    private void LoadProductionInfo(string ID)
    {
        //Загружаем данные об изделии в окно
        //Edit Article
        MainDataClassesDataContext context           = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleResult> a    = context.ogk_SelectArticle(Convert.ToInt32(ID));
        List <ogk_SelectArticleResult>          list = a.ToList();

        //Название изделия
        productName.Text = list.ElementAt(0).NAME;
        //Чертеж(ГОСТ)
        drawing.Text = list.ElementAt(0).DRAWING;
        //Цена изделия
        price.Text = list.ElementAt(0).SELF_PRICE.ToString("F2");//.Replace('.',',');
        //Тип изделия
        int typeID = list.ElementAt(0).TYPE;

        productionArticlesTypes.SelectedValue = typeID.ToString();

        //Идентификатор группы изделия
        string groupID = list.ElementAt(0).PRODUCTION_GROUP_ID.Value.ToString();

        LoadProductionArticlesGroups(productionArticlesTypes.SelectedValue);
        //Выбираем из списка группу изделия
        for (int i = 0; i < productionArticlesGroups.Items.Count; i++)
        {
            if (productionArticlesGroups.Items[i].Value == groupID)
            {
                productionArticlesGroups.Items[i].Selected = true;
            }
        }
    }
示例#6
0
    /// <summary>
    /// Проверяет существует ли изделие с указанным чертежом/ГОСТ
    /// </summary>
    /// <param name="drawing">Искомый чертеж/ГОСТ</param>
    private bool drawingIsNotExist(string IDparameter, string drawing, string productName)
    {
        //Если название чертежа пустое - конец проверки
        if (drawing == "")
        {
            return(true);
        }
        MainDataClassesDataContext context = new MainDataClassesDataContext();
        ISingleResult <ogk_DrawingAndNameCheckUpEditResult> a = context.ogk_DrawingAndNameCheckUpEdit(drawing, Convert.ToInt32(IDparameter), productName);
        List <ogk_DrawingAndNameCheckUpEditResult>          b = a.ToList();
        //Количество изделий с таким же именем и чертежом
        int numberOfProducts = b.Count();

        if (numberOfProducts > 0)
        {
            //Изделие с таким же чертежом/ГОСТ уже существует - ошибка
            productNameMessage.Visible = true;
            drawingMessage.Visible     = true;
            ShowErrorMessage("*,** Изделие с заданными именем и чертежом(ГОСТ) уже существует");
            return(false);
        }
        else
        {
            //Изделие с таким же чертежом/ГОСТ не существует - все ОК
            return(true);
        }
    }
    /// <summary>
    /// Загрузка дочерних узлов дерева групп изделий
    /// </summary>
    /// <param name="parentID">Идентификатор родительского узла</param>
    /// <param name="productType">Тип изделий (1 - Продукция ,2 - Внутреннее изделие ,3 - Покупное изделие)</param>
    private void LoadChildrenTreeNodes(TreeNode tnParent, int parentID, int productType)
    {
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(parentID, productType);
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();
        string productTypeName = "";

        switch (productType)
        {
        case 1:
            productTypeName = "SELL";
            break;

        case 2:
            productTypeName = "MAKE";
            break;

        case 3:
            productTypeName = "BUY";
            break;
        }
        for (int i = 0; i < b.Count; i++)
        {
            TreeNode tn = new TreeNode();
            tn.NavigateUrl = "javascript:AddNodeContent('" + productTypeName + "','" + b.ElementAt(i).ID.ToString() + "')";
            tn.Value       = b.ElementAt(i).ID.ToString();
            tn.Text        = b.ElementAt(i).NAME;
            tn.ToolTip     = b.ElementAt(i).NAME;
            tnParent.ChildNodes.Add(tn);
            LoadChildrenTreeNodes(tn, Convert.ToInt32(tn.Value), productType);
        }
    }
    protected void ArticleTypesList_SelectedIndexChanged(object sender, EventArgs e)
    {
        //Загружаем группы изделий выбранной категории
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(0, Convert.ToInt32(ArticleTypesList.SelectedValue));
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();

        //Загрузка дерева изделий
        TreeView1.Nodes.Clear();

        //Загрузка корневого узла всех изделий
        TreeNode rootNode = new TreeNode("Все группы", "0", "../Icons/folders.png");

        rootNode.ToolTip = "Все группы";
        TreeView1.Nodes.Add(rootNode);

        for (int i = 0; i < b.Count; i++)
        {
            //Изображение группы изделий
            TreeNode tn = new TreeNode(b.ElementAt(i).NAME.ToString(), b.ElementAt(i).ID.ToString(), "../Icons/folder.png");
            tn.ToolTip = b.ElementAt(i).NAME.ToString();
            TreeView1.Nodes[0].ChildNodes.Add(tn);
            LoadTreeNodeChildren(tn);
        }
        //Сворачиваем все дерево групп
        TreeView1.CollapseAll();
        //Выбираем первый узел дерева
        TreeView1.Nodes[0].Select();
        //Разворачиваем первый узел дерева
        TreeView1.Nodes[0].Expand();

        //Загружаем значение выбранного пункта в скрытую переменную
        hiddenTypeID.Value = ArticleTypesList.SelectedValue;
    }
示例#9
0
        public List <AssetNumberResult> GetAssetNumber(int installation_No)
        {
            ISingleResult <AssetNumberResult> result = linqDB.GetAssetNumber(installation_No);


            return(result.ToList <AssetNumberResult>());
        }
示例#10
0
        //For getting Denom Value
        public List <DenomValueResult> GetDenomValue(string Stock_No)
        {
            ISingleResult <DenomValueResult> result = linqDB.GetDenomValue(Stock_No);


            return(result.ToList <DenomValueResult>());
        }
示例#11
0
        /// <summary>
        /// Skips (PageIndex) pages and returns the next (PageSize) records from the dbo.Resource table
        /// </summary>
        /// <param name="filterInstance">An instance of ResourceGetPageByModule_Key_ValueFilter that defines filtering options.</param>
        /// <param name="_totalRowCount">Total number of rows returned by the specified filter.</param>
        /// <returns>A list of Resource instances.</returns>
        /// <remarks>This method never returns null,
        ///	if no records are available, length of the list will be 0.</remarks>
        public List <Resource> ResourceGetPageByModule_Key_Value(ResourceGetPageByModule_Key_ValueFilter filterInstance, out int _totalRowCount)
        {
            ISingleResult <Resource> list = _ResourceGetPageByModule_Key_Value(filterInstance.PageIndex, filterInstance.PageSize, filterInstance.Language, filterInstance.SearchQuery);

            _totalRowCount = (int)list.ReturnValue;
            return(list.ToList <Resource>());
        }
    /// <summary>
    /// Загружает подгруппы указанной группы
    /// </summary>
    /// <param name="item">Идентификатор выбранной группы</param>
    private void LoadSubgroups(ListItem item, string groupID, string typeID)
    {
        //Загружаем подгруппы
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(Convert.ToInt32(item.Value), Convert.ToInt32(typeID));
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();

        if (b.Count > 0)
        {
            //Выделяем подгруппы префиксом из пробелов
            prefix += "\xA0\xA0\xA0\xA0";
            for (int i = 0; i < b.Count; i++)
            {
                //Исключаем возможность добавления группы в саму себя, исключая название группы из списка
                if (b.ElementAt(i).ID.ToString() == groupID)
                {
                    continue;
                }
                ListItem li = new ListItem(prefix + b.ElementAt(i).NAME.ToString(), b.ElementAt(i).ID.ToString());
                productionArticlesGroups.Items.Add(li);
                LoadSubgroups(li, groupID, typeID);
            }
            //Укорачиваем префикс для загрузки последующих элементов
            prefix = prefix.Substring(4);
        }
    }
    /// <summary>
    /// Загружает все группы выбранного типа изделий
    /// </summary>
    /// <param name="selectedType">Идентификатор типа изделий</param>
    private void LoadProductionArticlesGroups(string selectedType, string groupID)
    {
        int typeID = Convert.ToInt32(selectedType);

        productionArticlesGroups.Items.Add(new ListItem("Все группы", "0"));
        //Загружаем группы изделий выбранной категории
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(0, typeID);
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();

        for (int i = 0; i < b.Count; i++)
        {
            //Исключаем возможность добавления группы в саму себя, исключая название группы из списка
            if (b.ElementAt(i).ID.ToString() == groupID)
            {
                continue;
            }
            //string groupName = prefix + b.ElementAt(i).NAME.ToString();
            //groupName = CutGroupName(groupName);
            ListItem item = new ListItem(prefix + b.ElementAt(i).NAME.ToString(), b.ElementAt(i).ID.ToString());
            //Добавляем группу в список
            productionArticlesGroups.Items.Add(item);
            //Загружаем подгруппы
            LoadSubgroups(item, groupID, typeID.ToString());
        }
    }
示例#14
0
 public ActionResult GetSingleCallDetail(int?isessionprofileid, string vServerName)
 {
     ViewBag.iSessionID = isessionprofileid.Value;
     using (WFMDBDataContext db = new WFMDBDataContext(string.Format(System.Configuration.ConfigurationManager.ConnectionStrings["SpecialConnection"].ConnectionString, DBServer)))
     {
         ISingleResult <tblSingleCallDetail> results = db.uspWFMGetSingleCallDetail(isessionprofileid, vServerName);
         return(PartialView("SignleCallDetail", results.ToList()));
     }
 }
示例#15
0
 public IList <RetrieveProfileDetailsResult> GetCustomerDetails(int customerID)
 {
     try {
         ISingleResult <RetrieveProfileDetailsResult> result =
             DBContext.RetrieveProfileDetails(customerID);
         return(result.ToList());
     }
     catch (Exception ex) {
         return(null);
     }
 }
示例#16
0
 public IList <RetrieveFavouriteWinesByUserIdResult> GetItemFavsUID(int userId)
 {
     try {
         ISingleResult <RetrieveFavouriteWinesByUserIdResult> result =
             DBContext.RetrieveFavouriteWinesByUserId(userId);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#17
0
    // Загружает все типы изделий, кроме продукции
    private void LoadProductionArticleTypes()
    {
        MainDataClassesDataContext context = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleTypesForGroupsResult> a    = context.ogk_SelectArticleTypesForGroups();;
        List <ogk_SelectArticleTypesForGroupsResult>          list = a.ToList();

        for (int i = 0; i < list.Count; i++)
        {
            ListItem li = new ListItem(list.ElementAt(i).NAME, list.ElementAt(i).ID.ToString());
            productionArticlesTypes.Items.Add(li);
        }
    }
示例#18
0
 public IList <GetUserDetailsResult> GetUserDetails(string mobileNum)
 {
     try
     {
         ISingleResult <GetUserDetailsResult> result = DBContext.GetUserDetails(mobileNum);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#19
0
 public IList <MyMessagesResult> GetMessageList(int SenderID, int RecevierID)
 {
     try
     {
         ISingleResult <MyMessagesResult> result = DBContext.MyMessages(SenderID, RecevierID);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
 public IList <GetChatListResult> GetChatList(string userid)
 {
     try
     {
         ISingleResult <GetChatListResult> result = DBContext.GetChatList(userid);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
    /// <summary>
    /// Загружаем подгруппы выбранной группы
    /// </summary>
    /// <param name="productType">Тип продукта - Внутреннее изделие, Покупное изделие, Продукция</param>
    /// <param name="groupID">Идентификатор выбранной группы</param>
    private void LoadSubgroups(int productType, int groupID)
    {
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(groupID, productType);
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();

        for (int i = 0; i < b.Count; i++)
        {
            groupAndSubGroupsID.Add(b.ElementAt(i).ID);
            LoadSubgroups(productType, b.ElementAt(i).ID);
        }
    }
示例#22
0
 public IList <InsertActivationCodeResult> InsertActivationCode(string activationCode, string email)
 {
     try
     {
         ISingleResult <InsertActivationCodeResult> result = DBContext.InsertActivationCode(activationCode, email);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#23
0
        public static DateTime GetLastActualizationByChannel(int channelId)
        {
            ISingleResult <GetLastActualizationByChannelResult> res =
                Cdb.Instance.GetLastActualizationByChannel(channelId);
            List <GetLastActualizationByChannelResult> list = res.ToList <GetLastActualizationByChannelResult>();

            if (list.Count > 0)
            {
                return(list[0].ImportDate);
            }
            return(DateTime.Now);
        }
示例#24
0
 public IList <RetrieveMyTastingsResult> GetMyTastings(int custID)
 {
     try
     {
         ISingleResult <RetrieveMyTastingsResult> result =
             DBContext.RetrieveMyTastings(custID);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#25
0
 public IList <RetrieveReviewsByUserIdResult> GetReviewsUID(int uid)
 {
     try
     {
         ISingleResult <RetrieveReviewsByUserIdResult> result =
             DBContext.RetrieveReviewsByUserId(uid);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#26
0
 public IList <RetrieveAvailableWinesResult> GetLists(int plantFinal, int userid)
 {
     try
     {
         ISingleResult <RetrieveAvailableWinesResult> result =
             DBContext.RetrieveAvailableWines(plantFinal, userid);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#27
0
 public IList <RetrieveWineDetailsResult> GetDetails(int WineId)
 {
     try
     {
         ISingleResult <RetrieveWineDetailsResult> result =
             DBContext.RetrieveWineDetails(WineId);
         return(result.ToList());
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#28
0
    protected void ArticleTypesList_SelectedIndexChanged(object sender, EventArgs e)
    {
        //Загружаем группы изделий выбранной категории
        MainDataClassesDataContext dataContext          = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleGroupsResult> a = dataContext.ogk_SelectArticleGroups(0, Convert.ToInt32(ArticleTypesList.SelectedValue));
        List <ogk_SelectArticleGroupsResult>          b = a.ToList();

        //Загрузка дерева изделий
        TreeView1.Nodes.Clear();

        for (int i = 0; i < b.Count; i++)
        {
            //Изображение группы изделий
            TreeNode tn = new TreeNode(b.ElementAt(i).NAME.ToString(), b.ElementAt(i).ID.ToString(), "../Icons/folder.png");
            //Добавляем всплывающую подсказку для длинных названий групп
            tn.ToolTip = b.ElementAt(i).NAME.ToString();
            TreeView1.Nodes.Add(tn);
            LoadTreeNodeChildren(tn);
        }

        //Выбираем первый узел дерева и обрабатываем событие выбора
        TreeView1.Nodes[0].Select();
        //Удаляем остальные обработчики
        OnLoading  = null;
        OnLoading += TreeView1_SelectedNodeChanged;
        OnLoading(sender, e);
        OnLoading = null;

        //Сворачиваем все узлы
        TreeView1.CollapseAll();

        //Показываем кнопку добавления изделия необходимого типа
        if (ArticleTypesList.SelectedIndex == 1)
        {
            //Скрываем кнопку добавления внутреннего изделия
            AddInnerProductButton.Visible = false;
            //Показываем кнопку добавления покупного изделия
            AddOuterProductButton.Visible = true;
        }
        else
        {
            //Показываем кнопку добавления внутреннего изделия
            AddInnerProductButton.Visible = true;
            //Скрываем кнопку добавления покупного изделия
            AddOuterProductButton.Visible = false;
        }

        //Загружаем значение выбранного пункта в скрытую переменную
        hiddenTypeID.Value = ArticleTypesList.SelectedValue;
    }
示例#29
0
    /// <summary>
    /// Загружает все типы изделий, кроме продукции
    /// </summary>
    /// <returns></returns>
    public ListItem[] LoadProductionArticleTypesForGroups()
    {
        MainDataClassesDataContext context = new MainDataClassesDataContext();
        ISingleResult <ogk_SelectArticleTypesForGroupsResult> a    = context.ogk_SelectArticleTypesForGroups();;
        List <ogk_SelectArticleTypesForGroupsResult>          list = a.ToList();

        ListItem[] types = new ListItem[list.Count];
        for (int i = 0; i < list.Count; i++)
        {
            ListItem li = new ListItem(list.ElementAt(i).NAME, list.ElementAt(i).ID.ToString());
            types[i] = li;
        }
        return(types);
    }
示例#30
0
    protected void Page_Load(object sender, EventArgs e)
    {
        LogIn.Attributes.Add("onclick", "Authentificate();return false;");

        //Заполняем список пользователей программы
        MainDataClassesDataContext         dc       = new MainDataClassesDataContext();
        ISingleResult <ogk_GetUsersResult> result   = dc.ogk_GetUsers();
        List <ogk_GetUsersResult>          userList = result.ToList();

        for (int i = 0; i < userList.Count; i++)
        {
            user_name.Items.Add(new ListItem(userList[i].NAME));
        }
    }
        public CashDeskManagerAllDetails(ISingleResult<rsp_CDM_GetCashierTransactionsDetails_New> lstTickets, DateTime startDate, DateTime endDate, string FooterText,
            bool? chkCashDeskTicketIn, bool? chkCashDeskTicketOut, bool? chkHandpays, bool? chkShortPays, bool? chkVoidVouchers, bool? chkjackpot, bool? chkProghandpays, bool? chkVoidTransactions,
            bool? chkTicketIn, bool? chkTicketOut, bool? chkActive, bool? chkVoidCancel, bool? chkExpired, bool? chkException,
            bool? chkLiability, bool? chkPromo, bool? chkNCTicketIn, bool? chkNCTicketOut, int userNo, int RouteNo)
        {
            try
            {

                InitializeComponent();


                lstCashierTransactionsDetails = lstTickets.ToList();
                this.DataContext = lstCashierTransactionsDetails;
                this.StartDate = startDate;
                this.EndDate = endDate;
                this.sFooterText = FooterText;

                this.chkCashDeskTicketIn = chkCashDeskTicketIn;
                this.chkCashDeskTicketOut = chkCashDeskTicketOut;
                this.chkHandpays = chkHandpays;
                this.chkShortPays = chkShortPays;
                this.chkVoidVouchers = chkVoidVouchers;
                this.chkjackpot = chkjackpot;
                this.chkProghandpays = chkProghandpays;
                this.chkVoidTransactions = chkVoidTransactions;
                this.chkTicketIn = chkTicketIn;
                this.chkTicketOut = chkTicketOut;
                this.chkActive = chkActive;
                this.chkVoidCancel = chkVoidCancel;
                this.chkExpired = chkExpired;
                this.chkException = chkException;
                this.chkLiability = chkLiability;
                this.chkPromo = chkPromo;
                this.chkNCTicketIn = chkNCTicketIn;
                this.chkNCTicketOut = chkNCTicketOut;
                this.user = userNo;
                this.iRoute_No = RouteNo;

                objCashDeskManager = CashDeskManagerBusinessObject.CreateInstance();
            }
            catch (Exception ex)
            {
                ExceptionManager.Publish(ex);
            }
        }