601b3937f9
timerCss timerStatus timerUnload
59 lines
3.4 KiB
Plaintext
59 lines
3.4 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MachSem.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MachSem" %>
|
|
|
|
<asp:HiddenField runat="server" ID="hfMachine" Value="NE00" />
|
|
<asp:HiddenField runat="server" ID="hfShowSemap" Value="true" />
|
|
<asp:HiddenField runat="server" ID="hfMachClass" Value="light" />
|
|
<asp:HiddenField runat="server" ID="hfStat01" Value="N.A." />
|
|
<asp:HiddenField runat="server" ID="hfStat02" Value="N.A." />
|
|
<asp:HiddenField runat="server" ID="hfStat03" Value="N.A." />
|
|
<asp:HiddenField runat="server" ID="hfCode01" Value="00" />
|
|
<asp:HiddenField runat="server" ID="hfCode02" Value="00" />
|
|
<asp:HiddenField runat="server" ID="hfCode03" Value="00" />
|
|
<asp:HiddenField runat="server" ID="hfCss01" Value="secondary" />
|
|
<asp:HiddenField runat="server" ID="hfCss02" Value="secondary" />
|
|
<asp:HiddenField runat="server" ID="hfCss03" Value="secondary" />
|
|
|
|
<div class="row" runat="server" id="divSelect">
|
|
<div class="col-12">
|
|
<asp:DropDownList runat="server" ID="ddlMachine" CssClass="form-control" AutoPostBack="True" OnSelectedIndexChanged="ddlMachine_SelectedIndexChanged">
|
|
<asp:ListItem Text="-- PLEASE SELECT ---" Value="" />
|
|
<asp:ListItem Text="NE01" Value="NE01" />
|
|
<asp:ListItem Text="NE02" Value="NE02" />
|
|
<asp:ListItem Text="NE03" Value="NE03" />
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
|
|
<asp:UpdatePanel runat="server" ID="upnlTitle" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:Timer ID="timerLoad" runat="server" OnTick="timerLoad_Tick"></asp:Timer>
|
|
<div class="row small py-0" runat="server" id="divRuntime">
|
|
<div class="col-2 pr-0">
|
|
<asp:LinkButton runat="server" ID="lbtReset" class="btn btn-info btn-block text-center" OnClick="lbtReset_Click"><i class="fa fa-refresh" aria-hidden="true"></i> <%: hfMachine.Value %> <i class="fa fa-link text-success" aria-hidden="true" runat="server" id="icnLiveOk"></i> <i class="fa fa-chain-broken text-danger" aria-hidden="true" runat="server" id="icnLiveKo"></i></asp:LinkButton>
|
|
<div class="small">
|
|
<asp:Label runat="server" ID="lblUpdated" Text="---"></asp:Label>
|
|
</div>
|
|
</div>
|
|
<div class="col-10">
|
|
<div class="d-flex text-center">
|
|
<div class="py-1 px-2 bg-<%: hfCss01.Value %> flex-fill">
|
|
<b><i class="fa fa-qrcode" aria-hidden="true"></i> <%: traduci("print") %> | <%: hfCode01.Value %></b><div class="small">
|
|
<%: hfStat01.Value %>
|
|
</div>
|
|
</div>
|
|
<div class="py-1 px-2 bg-<%: hfCss02.Value %> flex-fill mx-1">
|
|
<b><i class="fa fa-cogs" aria-hidden="true"></i> <%: traduci("CNC") %> | <%: hfCode02.Value %></b><div class="small">
|
|
<%: hfStat02.Value %>
|
|
</div>
|
|
</div>
|
|
<div class="py-1 px-2 bg-<%: hfCss03.Value %> flex-fill">
|
|
<b><i class="fa fa-hand-rock-o" aria-hidden="true"></i> <%: traduci("unload") %> | <%: hfCode03.Value %></b><div class="small">
|
|
<%: hfStat03.Value %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|