<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="DBG_QRCode_Unload.aspx.cs" Inherits="NKC_WF.site.DBG_QRCode_Unload" %>

<%@ Register Src="~/WebUserControls/cmp_MU_carts.ascx" TagPrefix="uc1" TagName="cmp_MU_carts" %>
<%@ Register Src="~/WebUserControls/cmp_MU_bins.ascx" TagPrefix="uc1" TagName="cmp_MU_bins" %>
<%@ Register Src="~/WebUserControls/cmp_MU_Items.ascx" TagPrefix="uc1" TagName="cmp_MU_Items" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:HiddenField ID="hfBatchID" runat="server" />
    <asp:HiddenField ID="hfSheetID" runat="server" />
    <div class="row">
        <div class="col-12">
            <asp:UpdatePanel runat="server" ID="updPnlSel">
                <ContentTemplate>
                    <div class="row">
                        <div class="col-2 text-left">
                            <asp:Image runat="server" Height="64" ID="imgQrLogin" />
                            <b>LOGIN</b> Page
                        </div>
                        <div class="col-8">
                            <h1 class="text-center">DEBUG UNLOAD PAGE</h1>
                        </div>
                        <div class="col-2 text-right">
                            <div>
                                Machine
                        <asp:DropDownList runat="server" ID="ddlPlaces" DataSourceID="odsPlaces" DataTextField="PlaceCod" DataValueField="PlaceCod" AutoPostBack="True" OnSelectedIndexChanged="ddlPlaces_SelectedIndexChanged"></asp:DropDownList>
                                <asp:ObjectDataSource ID="odsPlaces" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="AppData.DS_AppTableAdapters.PlacesTableAdapter" FilterExpression="ShowSel=1"></asp:ObjectDataSource>
                            </div>
                            <div>
                                QR size
      <asp:DropDownList runat="server" ID="ddlQrSize" AutoPostBack="True" OnSelectedIndexChanged="ddlQrSize_SelectedIndexChanged">
          <asp:ListItem Text="Small" Value="16"></asp:ListItem>
          <asp:ListItem Text="Medium" Value="32" Selected="True"></asp:ListItem>
          <asp:ListItem Text="Large" Value="64"></asp:ListItem>
      </asp:DropDownList>
                            </div>
                            <div>
                                NUM Righe:
      <asp:DropDownList runat="server" ID="ddlNumRow" AutoPostBack="True" OnSelectedIndexChanged="ddlNumRow_SelectedIndexChanged">
          <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
          <asp:ListItem Text="25" Value="25"></asp:ListItem>
          <asp:ListItem Text="50" Value="50"></asp:ListItem>
      </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div class="col-12">
            <asp:UpdatePanel runat="server" ID="upnlDebug">
                <ContentTemplate>
                    <div class="row">
                        <div class="col-12">
                            <asp:Timer ID="timerRefresh" runat="server" Interval="2000" OnTick="timerRefresh_Tick"></asp:Timer>
                            <uc1:cmp_MU_Items runat="server" ID="cmp_MU_Items" />
                        </div>
                        <div class="col-6">
                            <uc1:cmp_MU_carts runat="server" ID="cmp_MU_carts" />
                        </div>
                        <div class="col-6">
                            <uc1:cmp_MU_bins runat="server" ID="cmp_MU_bins" />
                        </div>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
</asp:Content>
