145 lines
6.7 KiB
Plaintext
145 lines
6.7 KiB
Plaintext
<%@ Page Language="C#" CodeBehind="CONFIGURATIONPage.aspx.cs" AutoEventWireup="true"
|
|
MasterPageFile="~/SuperMap_Client/MasterPage/v4_0/SizeBox.Master"
|
|
Inherits="SuperMap.RealEstate.ExchangeData.CONFIGURATIONPage" %>
|
|
|
|
<%@ Register Assembly="RealEstate.Web" Namespace="SuperMap.RealEstate.Web.UI.WebControls" TagPrefix="smwc" %>
|
|
<%@ Register Src="CONFIGURATION.ascx" TagName="CONFIGURATION" TagPrefix="uc1" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="HTMLHead" runat="server">
|
|
<style type="text/css">
|
|
.GridView td, .GridView tr th {
|
|
border-left: 1px solid #BBBBBB !important;
|
|
border-right: 1px solid #BBBBBB !important;
|
|
}
|
|
|
|
table.GridView > tbody > tr > th {
|
|
background: none;
|
|
}
|
|
</style>
|
|
<style media="print" type="text/css">
|
|
.noPrint {
|
|
display: none;
|
|
}
|
|
|
|
.PrintContainer {
|
|
padding: 0px;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
jQuery(document).ready(function () {
|
|
jQuery('#tabs').tabs();
|
|
});
|
|
</script>
|
|
<style type="text/css">
|
|
.img-panel {
|
|
display: inline-block;
|
|
width: 33.3%;
|
|
height: auto;
|
|
}
|
|
|
|
.ui-widget-content {
|
|
border: 0px;
|
|
}
|
|
|
|
.ui-widget-header {
|
|
border: 0px;
|
|
border-bottom: 1px solid #d0d0d0;
|
|
background: #fff;
|
|
}
|
|
|
|
.ui-corner-bottom, .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
|
|
-moz-border-radius-bottomright: 0px;
|
|
-webkit-border-bottom-right-radius: 0px;
|
|
-khtml-border-bottom-right-radius: 0px;
|
|
border-bottom-right-radius: 0px;
|
|
}
|
|
</style>
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="B" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="B_L" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="B_R" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="T" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="T_L" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="T_R" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="S_T" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content9" ContentPlaceHolderID="S" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content10" ContentPlaceHolderID="S_B" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content11" ContentPlaceHolderID="M_T" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content12" ContentPlaceHolderID="M" runat="server">
|
|
<fieldset class="cssGroupBar">
|
|
<legend><b>基本信息</b></legend>
|
|
<ul class="ListItem Col3">
|
|
<li>
|
|
<smwc:DropDownListEx ID="SERVERPART_ID" runat="server" CaptionText="服务区名称:" DisableSearch="false" Width="100%"
|
|
AllowEmpty="false" Enabled="false" />
|
|
</li>
|
|
<li>
|
|
<smwc:TextBoxEx ID="SERVERPARTCODE" Width="100%" runat="server" CaptionText="服务区编码:" Enabled="false"></smwc:TextBoxEx>
|
|
</li>
|
|
<li>
|
|
<smwc:TextBoxEx ID="MACADDRESS" Width="100%" runat="server" CaptionText="MAC地址:" CaptionWidth="75px"
|
|
CaptionAlign="Right" Enabled="false"></smwc:TextBoxEx>
|
|
</li>
|
|
<li>
|
|
<smwc:DropDownListEx ID="SERVERPARTSHOP_ID" runat="server" CaptionText=" 门店名称:" DisableSearch="false"
|
|
Width="100%" Enabled="false" />
|
|
</li>
|
|
<li>
|
|
<smwc:TextBoxEx ID="SHOPCODE" Width="100%" runat="server" CaptionText=" 门店编码:" Enabled="false"></smwc:TextBoxEx>
|
|
</li>
|
|
<li>
|
|
<smwc:TextBoxEx ID="MACHINECODE" runat="server" CaptionText="机器编号:" Width="100%"
|
|
CaptionWidth="75px" CaptionAlign="Right" Enabled="false" />
|
|
</li>
|
|
<li class="Col1">
|
|
<smwc:TextBoxEx ID="CONFIG_CONTENT" runat="server" CaptionText=" 回传配置:" Width="100%" TextMode="MultiLine" Rows="4"></smwc:TextBoxEx>
|
|
</li>
|
|
</ul>
|
|
</fieldset>
|
|
<uc1:CONFIGURATION ID="CONFIGURATION1" runat="server" />
|
|
<smwc:GridViewEx ID="GridViewEx1" runat="server" OnSelectMethodParameters="GridViewEx1_SelectMethodParameters" Width="100%" Visible="false"
|
|
DataKeyNames="CONFIGURATION_ID" DataTableName="T_CONFIGURATION" PopDialogUrl="CONFIGURATIONDETAILPage.aspx" RowEventType="UseDefined"
|
|
PopDialogWidth="700" PopDialogHeight="300" PopDialogName="CONFIGURATIONDETAILPage" OnRowDataBound="GridViewEx1_RowDataBound">
|
|
<Columns>
|
|
<asp:TemplateField>
|
|
<HeaderTemplate>序</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<%# GridPageEx1.PageSize * GridPageEx1.CurrentPageIndex + Container.DataItemIndex + 1 %>.
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="MACHINECODE" Visible="true" HeaderText="机器号" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="MACADDRESS" Visible="true" HeaderText="MAC地址" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="CONFIGURATION_NAME" Visible="true" HeaderText="参数名称" />
|
|
<asp:BoundField DataField="CONFIGURATION_VALUES" Visible="true" HeaderText="参数值" />
|
|
<asp:BoundField DataField="CONFIGURATION_DATE" Visible="true" HeaderText="添加日期"
|
|
ItemStyle-HorizontalAlign="Center" DataFormatString="{0:yyyy/MM/dd HH:mm:ss}" />
|
|
<asp:BoundField DataField="CONFIGURATION_DESC" Visible="true" HeaderText="备注" />
|
|
</Columns>
|
|
<HeaderStyle Wrap="False" />
|
|
<RowStyle Wrap="False" />
|
|
</smwc:GridViewEx>
|
|
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" EnableViewState="true"></asp:ObjectDataSource>
|
|
<smwc:GridPageEx ID="GridPageEx1" runat="server" PageSize="10" OnCallBackPageChanged="GridPageEx1_CallBackPageChanged" Visible="false" />
|
|
</asp:Content>
|
|
<asp:Content ID="Content13" ContentPlaceHolderID="M_B" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content14" ContentPlaceHolderID="F" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content15" ContentPlaceHolderID="F_L" runat="server">
|
|
<asp:Button ID="btn_Set" runat="server" Text="参数属性设置" CssClass="ButtonSearch" />
|
|
</asp:Content>
|
|
<asp:Content ID="Content16" ContentPlaceHolderID="F_R" runat="server">
|
|
<asp:Button ID="ButtonSave" runat="server" OnClick="ButtonSave_Click" Text="保存" CssClass="ButtonSave" />
|
|
<asp:Button ID="ButtonClose" runat="server" CausesValidation="false" Text="关闭" CssClass="ButtonClose" />
|
|
</asp:Content>
|