<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MachineLoad.aspx.cs" Inherits="NKC_WF.MachineLoad" %>

<%@ Register Src="~/WebUserControls/cmp_stackLoading.ascx" TagPrefix="uc1" TagName="cmp_stackLoading" %>
<%@ Register Src="~/WebUserControls/cmp_ML_ShDet.ascx" TagPrefix="uc1" TagName="cmp_ML_ShDet" %>
<%@ Register Src="~/WebUserControls/cmp_MachSem.ascx" TagPrefix="uc1" TagName="cmp_MachSem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="mx-0 ">
        <div class="card text-center" style="width: 100%;">
            <div class="row card-header bg-secondary text-light">
                <div class="col-5">
                    <uc1:cmp_MachSem runat="server" ID="cmp_MachSem" />
                    <asp:HiddenField ID="hfBatchID" runat="server" />
                </div>
                <div class="col-2">
                    <h4 class="mb-0"><i class="fa fa-upload"></i>&nbsp;<%: traduci("MachineLoad") %><sub>(<%: hfBatchID.Value %>)</sub></h4>
                </div>
                <div class="col-5 text-right">
                </div>
            </div>
            <div class="card-body py-1 textBig" id="divMain" runat="server">
                <asp:Timer ID="timerLong" runat="server" Interval="30000" OnTick="timerLong_Tick"></asp:Timer>
                <asp:UpdatePanel runat="server" ID="upnlMain" UpdateMode="Conditional" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <asp:Timer ID="timerLoad" runat="server" Interval="2000" OnTick="timerLoad_Tick"></asp:Timer>
                        <div class="row">
                            <div class="col-12 mb-2">
                                <uc1:cmp_stackLoading runat="server" ID="cmp_stackLoading" enableBCode="false" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-3">
                                <uc1:cmp_ML_ShDet runat="server" ID="cmp_ML_ShDet" StatusReqStart="0" StatusReqEnd="0" />
                            </div>
                            <div class="col-3">
                                <uc1:cmp_ML_ShDet runat="server" ID="cmp_ML_ShDet1" StatusReqStart="1" StatusReqEnd="2" />
                            </div>
                            <div class="col-3">
                                <uc1:cmp_ML_ShDet runat="server" ID="cmp_ML_ShDet2" StatusReqStart="3" StatusReqEnd="4" />
                            </div>
                            <div class="col-3">
                                <uc1:cmp_ML_ShDet runat="server" ID="cmp_ML_ShDet3" StatusReqStart="5" StatusReqEnd="5" />
                            </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>