<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="edit_character_number_config.aspx.vb" Inherits="gogo_mechanism.edit_character_number_config" %>
<%@ Import namespace="gogo_mechanism"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
        <style type="text/css">

			.STYLE1 { COLOR: #999999 }
			</style>
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li><a href="character_number_config.aspx">特征号配置</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="保存(ALT+S)" AccessKey="s" 
        class="btn"></asp:button>
	<asp:button id="Button2" runat="server" Text="取消(ALT+C)" 
        CausesValidation="False" AccessKey="C" class="btn"></asp:button>
</div>
<div class="btn-group"></div>
<div class="well">


<table class="table" width="100%">
					<tr>
						<td class="td1">编号：</td>
						<td class="td2">
                            <asp:Label ID="id" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td1">配置名称：</td>
						<td class="td2">
                            <asp:TextBox ID="mc" runat="server" Width="270px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="yz1" runat="server" ControlToValidate="mc" 
                                ErrorMessage="名称不能为空"></asp:RequiredFieldValidator>
                        </td>
					</tr>
					<tr>
						<td class="td1">启用状态：</td>
						<td class="td2">
                            <asp:CheckBox ID="kg" runat="server" Checked="True" Text="启用" />
							
                                
                        </td>
					</tr>
					<tr>
						<td class="td1">正则表达式：</td>
						<td class="td2">
                            <asp:TextBox ID="bds" runat="server" MaxLength="500" Width="355px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="yz2" runat="server" ControlToValidate="bds" 
                                ErrorMessage="正则表达式不能为空"></asp:RequiredFieldValidator>
                        </td>
					</tr>
					<tr>
						<td class="td1">首位前不允许出现的内容：</td>
						<td class="td2">
                            <asp:CheckBox ID="s_not_letter" runat="server" Text="字母" />
                            &nbsp;<asp:CheckBox ID="s_not_number" runat="server" Text="数字" />
                            &nbsp;指定字符<asp:TextBox ID="s_not_str" runat="server" Width="122px"></asp:TextBox>
                            <span class="STYLE1">（多字符用竖线“|”区分）</span></td>
					</tr>
					<tr>
						<td class="td1">末尾后不允许出现的内容：</td>
						<td class="td2">
                            <asp:CheckBox ID="e_not_letter" runat="server" Text="字母" />
                            &nbsp;<asp:CheckBox ID="e_not_number" runat="server" Text="数字" />
                            &nbsp;指定字符<asp:TextBox ID="e_not_str" runat="server" Width="122px"></asp:TextBox>
                            <span class="STYLE1">（多字符用竖线“|”区分）</span></td>
					</tr>
					<tr>
						<td class="td1">首位前需出现的内容：</td>
						<td class="td2">
                            <asp:TextBox ID="s_str" runat="server" Width="270px"></asp:TextBox>
                            距离允许<asp:TextBox ID="s_str_jl" runat="server" Width="30px">10</asp:TextBox>
                            字符<span class="STYLE1">（多字符用竖线“|”区分）<asp:RequiredFieldValidator ID="yz3" 
                                runat="server" ControlToValidate="s_str_jl" ErrorMessage="距离必填"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="yz4" runat="server" 
                                ControlToValidate="s_str_jl" ErrorMessage="间隔为正整数" 
                                ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:RegularExpressionValidator>
                            </span></td>
					</tr>
					<tr>
						<td class="td1">末尾后需出现的内容：</td>
						<td class="td2">
                            <asp:TextBox ID="e_str" runat="server" Width="270px"></asp:TextBox>
                            距离允许<asp:TextBox ID="e_str_jl" runat="server" Width="30px">10</asp:TextBox>
                            字符<span class="STYLE1">（多字符用竖线“|”区分）<asp:RequiredFieldValidator ID="yz5" 
                                runat="server" ControlToValidate="e_str_jl" ErrorMessage="距离必填"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="yz6" runat="server" 
                                ControlToValidate="e_str_jl" ErrorMessage="间隔为正整数" 
                                ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:RegularExpressionValidator>
                            </span></td>
					</tr>
					<tr>
						<td class="td1">首、末内容出现满足模式：</td>
						<td class="td2">
                            <asp:DropDownList ID="cxms" runat="server">
                                <asp:ListItem Value="1">首位前、末尾后出现满足任一即可</asp:ListItem>
                                <asp:ListItem Value="2">首位前、末尾后出现必须同时满足</asp:ListItem>
                            </asp:DropDownList>
                        </td>
					</tr>
					<tr>
						<td class="td1">存储前后保留内容范围：</td>
						<td class="td2">
                            <asp:TextBox ID="fw" runat="server" Width="30px">50</asp:TextBox>
                            字符<span class="STYLE1">（0为不记录相关内容）<asp:RequiredFieldValidator ID="yz7" 
                                runat="server" ControlToValidate="fw" ErrorMessage="范围必填"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="yz8" runat="server" ControlToValidate="fw" 
                                ErrorMessage="范围必须为非负整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                            </span>
                            <asp:RangeValidator ID="yz11" runat="server" ControlToValidate="fw" 
                                ErrorMessage="范围必须在0至1500之间" MaximumValue="1500" MinimumValue="0" 
                                Type="Integer"></asp:RangeValidator>
                        </td>
					</tr>
					<tr>
						<td class="td1">最终特征号要清除的字符：</td>
						<td class="td2">
                            <asp:TextBox ID="killstr" runat="server" Width="270px"></asp:TextBox>
                            <span class="STYLE1">（多字符用竖线“|”区分）</span></td>
					</tr>
					<tr>
						<td class="td1">排序权重：</td>
						<td class="td2">
                            <asp:TextBox ID="qz" runat="server" Width="30px">0</asp:TextBox>
                            <span class="STYLE1">
                            <asp:RequiredFieldValidator ID="yz9" runat="server" ControlToValidate="qz" 
                                ErrorMessage="权重必填"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="yz10" runat="server" ControlToValidate="qz" 
                                ErrorMessage="权重必须为非负整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                            </span></td>
					</tr>
					</table>



</div>
                  
            </div>
        </div>
    </div>

    </form>
</body>
</html>
