<%@ Page Title="Inspection item" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="RegisterEquipment_inspection_item.aspx.cs" Inherits="CheckSheet.setting.RegisterEquipment_inspection_item" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
      <script type="text/javascript" src="RegisterEquipment_inspection_item.js?v=123"></script>

      <div id="frommain">
         <div id="g0" class="grouplist">
       <div class="form-row">
                <div class="frmrow">
                 <span class="sp1">
                    <label>
                     <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblhd" CssClass="content"  runat="server" Text="Inspection item"></asp:Label>

                       


                    </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:Label ID="txt_lamp"  runat="server" Width="250" CssClass="fontlabelcontent"> </asp:Label>
               
                    </label>
                    </span>
                  
                </div>
            </div>
             
             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linename" runat="server" CssClass="fontlabel"   Text="Line name :" width="150px"></asp:Label>
                     <asp:Label ID="txt_linename"  runat="server" Width="250" CssClass="fontlabelcontent"> </asp:Label>
               
                    </label>
                  <asp:Label ID="txt_linegroup"  runat="server" Width="1" style="color:white;border-style:none;box-shadow:none;" > </asp: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:Label ID="txt_model"  runat="server" Width="250" CssClass="fontlabelcontent"> </asp:Label>

                        
                         <asp:Label ID="txt_partnumber"  runat="server" Width="1" style="color:white;border-style:none;box-shadow:none;" > </asp:Label>
                  
                    </label>
                    </span>
                    
                </div>
            </div>
           <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_machine" runat="server" CssClass="fontlabel"   Text="Machine :" width="150px"></asp:Label>
                     <asp:Label ID="txt_machine"  runat="server" Width="250" CssClass="fontlabelcontent"> </asp:Label>
                  
                    </label>
                    </span>
                    
                </div>
            </div>
      <br />

                  <div class="form-row">
                <div class="frmrow">
                 <span class="sp1">
                    <label>
                     <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblmachine" CssClass="content"  runat="server" Text="Machine condition"></asp:Label>

                       


                    </label>                  
                    <label>
                    <asp:Button ID="btnaddmachine" CssClass="button" runat="server" Text="Add" style="width:40px;color:white;padding:1em;" OnClientClick="javascript:add_condition_mc();return false;"   />

                      

                    </label>
                    </span>
                    
                </div>
             </div><br />
               <div id="gtbl" class="grouplist" style="margin-top:5px;max-height:270px;width:100%;overflow:auto;" onscroll='getnext_item()'>
               <table class='tbl' id='tbldt' style="width:1010px;"><thead><tr>


<th style="width:3%;"><span style='font-size:12px;' id='seqno'>No</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='item'>Item</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='who'>Who</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='frequency'>Frequency</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='how'>How</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='criteria'>Criteria</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='unit'>Unit</span></th>
<th style="width:3%;" colspan="2"><span style='font-size:12px;' id='control'>Edit/Delete</span></th>

 </tr>
                   
</thead>
<tbody id="tbdy">
<tr>
  

   
     
  

   
      <td style="width:3%;"> 
 <asp:TextBox ID="txt_SeqNo_0" runat="server"  Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
 </td> 
    
         <td style="width:5%;"> 
 <asp:TextBox ID="txt_Item_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
        <span id="txt_inspection_0" style="font-size:1px;color:white;"></span>
 </td> 
   <td style="width:5%;"> 
 <asp:TextBox ID="txt_Who_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 


 </td> 

       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Freq_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_How_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 

    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Crit_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
     <td style="width:5%;"> 
 <asp:TextBox ID="txt_Unit_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
   
     <td style="width:30px;"> <asp:Button ID="edit_0" CssClass="button" runat="server"  Text="Edit" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="JavaScript:editmc(this);return false;" />

    </td>

       <td style="width:30px;"> <asp:Button ID="del_0" CssClass="button" runat="server"  Text="Delete" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="JavaScript:delrowmc(this);return false;" />


    </td>



    </tr>

</tbody></table>
             </div>

                   <div class="form-row">
                <div class="frmrow">
                 <span class="sp1">
                    <label>
                     <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblXR" CssClass="content"  runat="server" Text="X-R Chart"></asp:Label>

                       


                    </label>
              
                    <label>
                  
                       <asp:Button ID="btnaddxr" CssClass="button" runat="server" Text="Add" style="width:40px;color:white;padding:1em;" OnClientClick="javascript:add_condition_xr();return false;"   />


                    </label>
                    </span>
                    
                </div>
             </div>
             <br />
               <div id="gtbl1" class="grouplist" style="margin-top:5px;max-height:270px;width:100%;overflow:auto;" onscroll='getnext_item1()'>
               <table class='tbl' id='tbldt1' style="width:1010px;"><thead><tr>


<th style="width:3%;"><span style='font-size:12px;' id='seqno1'>No</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='item1'>Item</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='who1'>Who</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='frequency1'>Frequency</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='how1'>How</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='criteria1'>Criteria</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='unit1'>Unit</span></th>
<th style="width:3%;" colspan="2"><span style='font-size:12px;' id='control1'>Edit/Delete</span></th>

 </tr>
                   
</thead>
<tbody id="tbdy1">
<tr>
  

   
     
  

   
      <td style="width:3%;"> 
 <asp:TextBox ID="txt_SeqNo1_0" runat="server"  Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
 </td> 
    
         <td style="width:5%;"> 
 <asp:TextBox ID="txt_Item1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
          <span id="txt_inspection1_0" style="font-size:1px;color:white;"></span>       
 </td> 
   <td style="width:5%;"> 
 <asp:TextBox ID="txt_Who1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 


 </td> 

       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Freq1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_How1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 

    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Crit1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
     <td style="width:5%;"> 
 <asp:TextBox ID="txt_Unit1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
    <td style="width:30px;"> <asp:Button ID="edit1_0" CssClass="button" runat="server"  Text="Edit" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="JavaScript:editxr(this);return false;" />

    </td>

       <td style="width:30px;"> <asp:Button ID="del1_0" CssClass="button" runat="server"  Text="Delete" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"   OnClientClick="JavaScript:delrowxr(this);return false;" />


    </td>

   

    </tr>

</tbody></table>
             </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>