<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Domain.Host>" %>
<style type="text/css">
    #roomCardForm table th
    {
        font-weight: normal;
        text-align: right;
    }
</style>
<form id="hostForm" class="easyui-form" method="post" data-options="novalidate:true">
<input id="robotid" type="hidden" name="ID" value="<%: Model.ID %>" />
<input id="HostNumber" type="hidden" name="HostNumber" value="<%: Model.HostNumber %>" />
<table style="margin: 1px auto;" cellpadding="1">
    <tr>
        <th>
            <label for="txtRoomNumber">
                <%: Html.Language("RoomNumber") %>：</label>
        </th>
        <td>
            <input id="txtRoomNumber" name="RoomNumber" class="easyui-validatebox textbox text"
                readonly="readonly" value="<%: Model.RoomNumber %>" />
        </td>
        <th>
            <label for="cbxRoomType1">
                <%: Html.Language("RoomType") %>：</label>
        </th>
        <td>
            <select id="cbxRoomType1" name="RoomTypeID" class="easyui-combobox" style="width: 180px;"
                readonly="readonly" data-options="
						valueField: 'ID',
						textField: 'Name',
						required: true,
						panelHeight: '180px',
						editable: false,
						url: '/RoomType/LoadRoomType',
						value: <%: Model.RoomType != null ? Model.RoomType.ID.ToString() : "''" %>
					">
            </select>
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtXiaoDuCUID">
                小度CUID：</label>
        </th>
        <td colspan="3">
            <input id="txtXiaoDuCUID" name="XiaoDuCUID" class="easyui-validatebox textbox text"
                data-options="validType:length[0,200]" value="<%: Model.XiaoDuCUID %>" placeholder="<%: Html.Language("Flag1")%>"
                style="width: 416px;" />
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtTianMaoCUID">
                天猫精灵CUID：</label>
        </th>
        <td colspan="3">
            <input id="txtTianMaoCUID" name="TianMaoCUID" class="easyui-validatebox textbox text"
                data-options="validType:length[0,200]" value="<%: Model.TianMaoCUID %>" placeholder="<%: Html.Language("Flag1")%>"
                style="width: 416px;" />
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtTCLCUID">
                TCL CUID：</label>
        </th>
        <td colspan="3">
            <input id="txtTCLCUID" name="TCLCUID" class="easyui-validatebox textbox text" data-options="validType:length[0,200]"
                value="<%: Model.TCLCUID %>" placeholder="<%: Html.Language("Flag1")%>" style="width: 416px;" />
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtTCLSkillID">
                TCL SkillID：</label>
        </th>
        <td colspan="3">
            <input id="txtTCLSkillID" name="TCLSkillID" class="easyui-validatebox textbox text" data-options="validType:length[0,200]"
                value="<%: Model.TCLSkillID %>" style="width: 416px;" />
        </td>
    </tr>

    <tr>
        <th>
            <label for="txtTCLCUID">
                华为CUID：</label>
        </th>
        <td colspan="3">
            <input id="txtHuaWeiCUID" name="HuaWeiCUID" class="easyui-validatebox textbox text"
                data-options="validType:length[0,200]" value="<%: Model.HuaWeiCUID %>" placeholder="<%: Html.Language("Flag1")%>"
                style="width: 416px;" />
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtHiWeiCUID">
               Hi喂 CUID：</label>
        </th>
        <td colspan="3">
            <input id="txtHiWeiCUID" name="HiWeiCUID" class="easyui-validatebox textbox text"
                data-options="validType:length[0,200]" value="<%: Model.HiWeiCUID %>" placeholder="<%: Html.Language("Flag1")%>"
                style="width: 416px;" />
        </td>
    </tr>

    <tr>
        <th>
            <label for="txtRokidWebhookUrl">
                若琪Webhook：</label>
        </th>
        <td colspan="3">
            <input id="txtRokidWebhookUrl" name="RokidWebhookUrl" class="easyui-validatebox textbox text"
                data-options="validType:length[0,200]" value="<%: Model.RokidWebhookUrl %>" style="width: 416px;" />
        </td>
    </tr>
    <tr>
        <th>
            <label for="txtRokidWebhookUrl">
                禁用欢迎词时段：</label>
        </th>
        <td colspan="3">
            <input style="vertical-align:middle" id="IsWelcomeDisableTime_id" type="checkbox" name="IsWelcomeDisableTime" 
            <%
                if(Model.IsWelcomeDisableTime)
                {
            %>
                 checked="checked"
            <% } %>
            />
            <input style="vertical-align:middle;" id="txtstarttime" name="DisableStartTime" class="easyui-timespinner" 
                labelposition="left" value="<%= Model.DisableStartTime %>" /> --
            <input style="vertical-align:middle;" id="txtendtime" name="DisableEndTime" class="easyui-timespinner" 
                labelposition="left" value="<%= Model.DisableEndTime %>" />
        </td>
    </tr>
</table>
</form>
