<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Domain.RoomType>" %>

<style type="text/css">
	#roomTypeForm table th {
		font-weight: normal;
		text-align: right;	
	}
</style>

<form id="roomTypeForm" class="easyui-form" method="post" data-options="novalidate:true">
	<input type="hidden" name="ID" value="<%: Model.ID %>" />
	<table style="margin: 20px auto;" cellpadding="3">
		<tr>
			<th><label for="txtCode">	<%: Html.Language("ID")%>：</label></th>
			<td>
				<input id="txtCode" name="Code" class="easyui-numberbox textbox text" data-options="required:true,min:1" value="<%: Model.Code %>" />
			</td>
		</tr>
		<tr>
			<th><label for="txtHostName"><%: Html.Language("Name")%>：</label></th>
			<td>
				<input id="txtHostName" name="HostName" class="easyui-validatebox textbox text" data-options="required:true,validType:'blwtext'" value="<%: Model.HostName %>" />
			</td>
		</tr>
		<tr>
			<th><label for="txtName"><%: Html.Language("CustomName")%>：</label></th>
			<td>
				<input id="txtName" name="Name" class="easyui-validatebox textbox text" data-options="required:true,validType:'blwtext'" value="<%: Model.Name %>" />
			</td>
		</tr>
        <!-- 碳达人新添加的-->
        <tr>
			<th><label for="txtName"><%: Html.Language("RoomHeight")%>：</label></th>
			<td>
				<input id="txtName" name="Name" class="easyui-validatebox textbox text" data-options="required:true,validType:'blwtext'" value="<%: Model.RoomHeight %>" />
			</td>
		</tr>
        <tr>
			<th><label for="txtName"><%: Html.Language("RoomHotLossRatio")%>：</label></th>
			<td>
				<input id="txtName" name="Name" class="easyui-validatebox textbox text" data-options="required:true,validType:'blwtext'" value="<%: Model.RoomHotLossRatio %>" />
			</td>
		</tr>
		<%--<tr>
			<th><label for="txtName"><%: Html.Language("AirConditioningControls")%>：</label></th>
			<td>
				<select id="cbxControlType"  name="ControlType" class="easyui-combobox" data-options="editable:false,required:true,panelHeight:'auto',value:<%: (int)Model.ControlType %>">
					<option value="0"><%: Html.Language("TwoControl")%></option>
					<option value="1"><%: Html.Language("FourControl")%></option>
				</select>
			</td>
		</tr>--%>
	</table>
</form>