<%@ Page Title="Machine condition Check" Language="C#" MasterPageFile="~/checkinput/CheckInput.Master" AutoEventWireup="true" CodeBehind="Machine_condition_check.aspx.cs" Inherits="CheckSheet.Machine_condition_check" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="Machine_condition_check.js?v=123"></script>

    <div id="frommain">

     
        <div id="g1" class="grouplist">
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                   <label>
                            <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lbldt1" runat="server"  CssClass="frmheader"  Text="Condition Check"  width="350px"></asp:Label>
                   
                    </label>
                    </span>
                </div>
            </div>
         <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_datetime" runat="server" CssClass="fontlabel"   Text="Date :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_datetime"  runat="server" Width="250" ReadOnly="true" CssClass="ctlsearchinput" >
                    </asp:TextBox>
              
                    </label>
                    </span>
                </div>
            </div>        
       
           <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_lamp" runat="server" CssClass="fontlabel"   Text="Factory(LAMP) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_lamp"  runat="server" Width="250" ToolTip="*Factory" CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_lamp" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_lamp','MainContent_txt_lamp','lampid','lamp','view_UserControl','$and usercode =\''+$('#lbluserid').html()+'\'');return false;"  />


                    </label>
                    </span>
                </div>
            </div>
           <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_model" runat="server" CssClass="fontlabel"   Text="Model :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_model"  runat="server" Width="250" ToolTip="*Model" CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_model" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_model','partnumber','model','view_UserControl','');return false;"  />
        <%--                $and usercode =\''+$('#lbluserid').html()+'\''--%>
                           <asp:TextBox ID="txt_partnumber"  runat="server" Width="1" style="border-style:none;box-shadow:none;" >
                    </asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
           <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_inspectionscan" runat="server" CssClass="fontlabel"   Text="Inspector SCAN :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_empid"  runat="server" Width="250" ToolTip="*Employee ID" CssClass="ctlsearchinput" placeholder="employee ID" >
                    </asp:TextBox>

                    <asp:Button ID="btnfil_inspectionscan" runat="server" Text="&nbsp;" CssClass="ctlscanbutton"  OnClientClick="JavaScript:scanempid();return false;"  />
                    <asp:Button ID="btnfil_empid" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton" style="margin-left:-2px;"  OnClientClick="JavaScript:filterpopup('MainContent_txt_empid','MainContent_txt_empname','empid','empname','view_Users','');return false;"  />


                    </label>
                    </span>
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbldump1" runat="server" CssClass="fontlabel"   Text="" width="150px" ></asp:Label>

                    <asp:TextBox ID="txt_empname"  runat="server" Width="250" ToolTip="*Employee name" CssClass="ctlsearchinput" placeholder="employee name" ReadOnly="true"></asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_machinescan" runat="server" CssClass="fontlabel"   Text="Machine SCAN :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_machineid"  runat="server" Width="250"   CssClass="ctlsearchinput" placeholder="machine ID" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_machinescan" runat="server" Text="&nbsp;" CssClass="ctlscanbutton"  OnClientClick="JavaScript:scanmachine();return false;"  />
                    <asp:Button ID="btnfil_machine" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton" style="margin-left:-2px;"  OnClientClick="JavaScript:filterpopup('MainContent_txt_machineid','MainContent_txt_machinename','machineid','machinename','view_Machine','$and model =\''+$('#MainContent_txt_model').val()+'\'');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbldump2" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_machinename"  runat="server" Width="250" ToolTip="" CssClass="ctlsearchinput" placeholder="machine name" ReadOnly="true">
                    </asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
               <div class="form-row"   style="height:200px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_img" runat="server" CssClass="fontlabel"   Text="Machine image" width="150px"></asp:Label>
                    <img id="piz" src="../image/piz.png" style="width:150px;" class="ctlsearchinput" />

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btninspection" CssClass="button" runat="server" Text="Inspection" style="width:150px;color:white;"  OnClientClick="javascript:inspection();return false;"  />
                    </label>
                    </span>
                    
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnback" runat="server"  Text="Back"  style="height:40px;width:150px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

                    </label>
                    </span>
                    
                </div>
            </div>
            <br />
        </div>       
         
     


   </div>


    

</asp:Content>

