<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProjectSysSet.aspx.cs"
    Inherits="FineUIPro.Web.common.ProjectSet.ProjectSysSet" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server" />
        <f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server" Margin="5px">
            <Regions>
                <f:Region ID="Region2" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox"
                    BoxConfigAlign="Stretch" BoxConfigPosition="Left" runat="server" AutoScroll="true">
                    <Items>
                        <f:GroupPanel ID="GroupPanel0" Layout="Anchor" Title="通用环境设置" runat="server">
                            <Items>
                                <f:Form ID="Form4" ShowBorder="false" ShowHeader="false" AutoScroll="true"
                                    Layout="VBox" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
                                    LabelAlign="Right">
                                    <Rows>
                                        <f:FormRow runat="server">
                                            <Items>
                                                <f:CheckBox ID="ckbIsFace" runat="server" Label="移动端人脸识别" Text="是否启用" LabelWidth="200">
                                                </f:CheckBox>
                                                <f:Label runat="server"></f:Label>
                                                <f:Button runat="server" Text="坐标范围" OnClick="btnSetMap_Click" ID="btnSetMap"  Hidden="true" ></f:Button>
                                            </Items>
                                        </f:FormRow>
                                    </Rows>
                                </f:Form>

                                      <f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false"   ShowGridHeader="true"  EnableCollapse="true"
                                        runat="server" BoxFlex="1" DataKeyNames="GpsAreId" AllowCellEditing="true"
                                        ClicksToEdit="2" DataIDField="GpsAreId" AllowSorting="true"  
                                        EnableColumnLines="true" ForceFit="true" OnRowCommand="Grid1_RowCommand" EnableTextSelection="True"   >
                                           <Toolbars>
                         
                                            <f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Left">
                                            <Items>
                                                <f:ToolbarFill runat="server"></f:ToolbarFill>
                                 
                                                <f:Button ID="btnNew" ToolTip="新增坐标范围" Icon="Add" EnablePostBack="false" runat="server" Text="新增坐标范围"  >
                                                </f:Button>

                                            </Items>
                        </f:Toolbar>
                       
                    </Toolbars>
                              <Columns>
                                <f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
                                    EnableLock="true" Locked="False">
                                    <ItemTemplate>
                                        <asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
                                    </ItemTemplate>
                                </f:TemplateField>
                        

                                <f:RenderField Width="110px" ColumnID="GpsAreName" DataField="GpsAreName"
                                    FieldType="String" HeaderText="名称" TextAlign="Center" HeaderTextAlign="Center">
                                </f:RenderField>
                                <f:LinkButtonField HeaderText="坐标范围" ConfirmTarget="Top" Width="30" CommandName="MapPoint" ColumnID="MapPoint"
                                    TextAlign="Center" ToolTip="坐标范围" Text="坐标范围" />
                                  <f:LinkButtonField HeaderText="编辑" ConfirmTarget="Top" Width="15" CommandName="Edit" ColumnID="Edit"
                                    TextAlign="Center" ToolTip="编辑" Text="编辑" />
                                  <f:LinkButtonField HeaderText="删除" ConfirmTarget="Top" Width="15" ConfirmText="你确定要删除这个文件吗?" CommandName="Del" ColumnID="Del"
                                    TextAlign="Center" ToolTip="删除" Text="删除" />
                         
                            </Columns>
                    
                        </f:Grid>
          
                            </Items>
                        </f:GroupPanel>
                          
                  
                        <f:GroupPanel ID="GroupPanel1" Layout="Anchor" Title="质量环境设置" runat="server">
                            <Items>
                                <f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
                                    Layout="VBox" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
                                    LabelAlign="Right">
                                    <Rows>
                                        <f:FormRow runat="server">
                                            <Items>
                                                <f:NumberBox ID="txtRemindDay" Label="检试验设备到期提醒天数" runat="server"
                                                    LabelWidth="180px" DecimalPrecision="1" NoNegative="true">
                                                </f:NumberBox>
                                                <f:Label runat="server"></f:Label>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow runat="server">
                                            <Items>
                                                <f:NumberBox ID="txtStarTime" runat="server" NoDecimal="true" NoNegative="false" Label="月报开始日期" MinValue="1" MaxValue="31"
                                                    LabelWidth="180" Width="210">
                                                </f:NumberBox>
                                                <f:NumberBox ID="txtEndTime" NoDecimal="true" NoNegative="false" Label="月报结束日期" LabelWidth="180" Width="210" runat="server" MinValue="1" MaxValue="31">
                                                </f:NumberBox>
                                            </Items>
                                        </f:FormRow>
                                    </Rows>
                                </f:Form>
                            </Items>
                        </f:GroupPanel>
                        <f:GroupPanel ID="GroupPanel2" Layout="Anchor" Title="焊接环境设置" runat="server">
                            <Items>
                                <f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true" Layout="VBox"
                                    BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
                                    <Rows>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="cbPDMS" runat="server" Label="引用PDMS模板" Text="引用PDMS导出模板" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbDayReport" runat="server" Label="焊接日报编号" Text="自动生成" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbDayReportDataIn" runat="server" Label="是否允许焊接日报导入" Text="是" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbPoint" runat="server" Label="点口编号" Text="是否自动生成" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:RadioButtonList ID="robStandard" runat="server" Label="无损检测委托单" LabelWidth="200">
                                                    <f:RadioItem Value="1" Text="3543-G401(1)" />
                                                    <f:RadioItem Value="2" Text="3543-G401(2)" />
                                                    <f:RadioItem Value="3" Text="第三方委托单" />
                                                    <f:RadioItem Value="4" Text="第三方委托单(神化)" />
                                                </f:RadioButtonList>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbTrust" runat="server" Label="无损检测委托单对应管线" Text="一个无损检测委托单是否只对应一条管线" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:Label ID="Label4" runat="server" Label="说明" LabelWidth="200" Text="(1)需监理和总包签字;(2)需总包、监理、施工、检测单位签字">
                                                </f:Label>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbSupervisor" runat="server" Label="是否监理版本" Text="是" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:CheckBox ID="ckbFilmNum" runat="server" Label="检测单拍片数是否需自动生成" Text="是" LabelWidth="200">
                                                </f:CheckBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:Label ID="lbTenm" runat="server" Text="直径90以下 2张片(法兰3张);90~477 6张片;477以上按照直径*3.14/250来算,如果有小数,保留整数部分+1取整。如果取整后是奇数,再+1。" >
                                                </f:Label>
                                            </Items>
                                        </f:FormRow>
                                        <%--     <f:FormRow ColumnWidths="22% 13% 13% 13% 13% 13% 13%">
                                            <Items>
                                                <f:Label ID="Label1" runat="server" Label="组批条件设置" LabelWidth="200"></f:Label>
                                                <f:CheckBox ID="cb1" runat="server" Text="单位工程" Checked="true" Enabled="false"></f:CheckBox>
                                                <f:CheckBox ID="cb2" runat="server" Text="施工单位" Checked="true" Enabled="false"></f:CheckBox>
                                                <f:CheckBox ID="cb3" runat="server" Text="探伤类型" Checked="true" Enabled="false"></f:CheckBox>
                                                <f:CheckBox ID="cb4" runat="server" Text="探伤比例" Checked="true" Enabled="false"></f:CheckBox>
                                                <f:CheckBox ID="cb5" runat="server" Text="管线等级"></f:CheckBox>
                                                <f:CheckBox ID="cb6" runat="server" Text="管线"></f:CheckBox>
                                                <f:CheckBox ID="cb7" runat="server" Text="焊工"></f:CheckBox>
                                            </Items>
                                        </f:FormRow>--%>
                                    </Rows>
                                </f:Form>
                            </Items>
                        </f:GroupPanel>
                        <f:GroupPanel ID="GroupPanel3" Layout="Anchor" Title="进度环境设置" runat="server">
                            <Items>
                                <f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
                                    Layout="VBox" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
                                    LabelAlign="Right">
                                    <Rows>
                                        <f:FormRow>
                                            <Items>
                                                <f:RadioButtonList ID="rbWeightsSet" Label="进度测量标志(权重)批量审核设置" LabelWidth="250px" runat="server">
                                                    <f:RadioItem Text="单位工程" Value="1" />
                                                    <f:RadioItem Text="子单位工程" Value="2" />
                                                    <f:RadioItem Text="分部工程" Value="3" />
                                                    <f:RadioItem Text="子分部工程" Value="4" />
                                                    <f:RadioItem Text="分项工程" Value="5" />
                                                </f:RadioButtonList>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow ColumnWidths="40% 60%">
                                            <Items>
                                                <f:NumberBox ID="nbCompleteAndReal" NoDecimal="true" NoNegative="false" Label="完成值/实耗值允许补录月份数"
                                                    LabelWidth="250px" MinValue="0" runat="server">
                                                </f:NumberBox>
                                                <f:Label ID="Label2" runat="server" Hidden="true">
                                                </f:Label>
                                            </Items>
                                        </f:FormRow>
                                    </Rows>
                                </f:Form>
                            </Items>
                        </f:GroupPanel>
                    </Items>
                    <Toolbars>
                        <f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
                            <Items>
                                <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="提交数据" ValidateForms="Region2"
                                    Hidden="true" OnClick="btnSave_Click">
                                </f:Button>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                </f:Region>
            </Regions>
        </f:RegionPanel>
         <f:Window ID="WindowArea" Title="坐标范围" Hidden="true" EnableIFrame="true" EnableMaximize="true"
            Target="Parent" EnableResize="false" runat="server" IsModal="true"  OnClose="WindowArea_Close"
            Width="300px" Height="150px">
        </f:Window>
        <f:Window ID="Window1" Title="项目" Hidden="true" EnableIFrame="true" EnableMaximize="true"
            Target="Parent" EnableResize="false" runat="server" IsModal="true" Maximized="true"
            Width="1200px" Height="620px">
        </f:Window>
    </form>
</body>
</html>