<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Domain.SysHotel>" %>
<script src="/Scripts/ajaxfileupload.js" type="text/javascript"></script>
<style type="text/css">
    #roomCardForm table th
    {
        font-weight: normal;
        text-align: right;
    }
</style>
<form id="sysHotelForm" class="easyui-form" method="post" data-options="novalidate:true">
<table style="margin: 1px auto;" cellpadding="1">
    <tr>
        <th align="right">
            <label for="txtID">
                ID：</label>
        </th>
        <td>
            <input id="txtID" name="ID" class="easyui-validatebox textbox text" readonly="readonly"
                value="<%: Model.ID %>" />
        </td>
        <th align="right">
            <label for="txtCode">
                <%: Html.Language("Code")%>：</label>
        </th>
        <td>
            <input id="txtCode" name="Code" class="easyui-validatebox textbox text" readonly="readonly"
                value="<%: Model.Code %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtName">
                <%: Html.Language("Name")%>：</label>
        </th>
        <td>
            <input id="txtName" name="Name" class="easyui-validatebox textbox text" readonly="readonly"
                value="<%: Model.Name %>" />
        </td>
        <th align="right">
            <label for="txtEName">
                <%: Html.Language("EName")%>：</label>
        </th>
        <td>
            <input id="txtEName" name="EName" class="easyui-validatebox textbox text" readonly="readonly"
                value="<%: Model.EName %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtTWName">
                <%: Html.Language("TWName")%>：</label>
        </th>
        <td>
            <input id="txtTWName" name="TWName" class="easyui-validatebox textbox text" readonly="readonly"
                value="<%: Model.TWName %>" />
        </td>
        <th align="right">
            <label>
                <%: Html.Language("AutoGetKey")%>：</label>
        </th>
        <td>
            <input type="radio" name="IsAutoGetKey" value="true" <%: Model.IsAutoGetKey ? "checked='checked'" : "" %> /><%: Html.Language("Yes")%>
            <input type="radio" name="IsAutoGetKey" value="false" <%: !Model.IsAutoGetKey ? "checked='checked'" : "" %> /><%: Html.Language("No")%>
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtWelcomeSpeech">
                <%: Html.Language("WelcomeSpeech")%>：</label>
        </th>
        <td colspan="3">
            <input id="txtWelcomeSpeech" name="WelcomeSpeech" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.WelcomeSpeech %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtWelcomeSpeech">
                <%: Html.Language("WelcomeBGM")%>：</label>
        </th>
        <td colspan="3">
            <input id="welcomebgmid" name="welcomebgm" value="<%: Model.WelcomeBGM %>" readonly="readonly"/>
            <input type="file" id="welcomebgm" name="file" size="30" /></br>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'" onclick="uploadmusic();">Save</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove'" onclick="deletemusic();">Remove</a>
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtGoodbyeSpeech">
                <%: Html.Language("GoodbyeSpeech")%>：</label>
        </th>
        <td colspan="3">
            <input id="txtGoodbyeSpeech" name="GoodbyeSpeech" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.GoodbyeSpeech %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtTVControlUrl">
                IPTV Url：</label>
        </th>
        <td colspan="3">
            <input id="txtTVControlUrl" name="TVControlUrl" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.TVControlUrl %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtTVControlToken">
                IPTV Token：</label>
        </th>
        <td colspan="3">
            <input id="txtTVControlToken" name="TVControlToken" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.TVControlToken %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtDeviceStatusPushURL">
                <%: Html.Language("DSPA")%>：</label>
        </th>
        <td colspan="3">
            <input id="txtDeviceStatusPushURL" name="DeviceStatusPushURL" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.DeviceStatusPushURL %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtFaultPushURL">
                <%: Html.Language("FIPA")%>：</label>
        </th>
        <td colspan="3">
            <input id="Text1" name="FaultPushURL" class="easyui-validatebox textbox text" style="width: 416px;"
                value="<%: Model.FaultPushURL %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtIsVoincePowerOn">
                <%: Html.Language("IsVoincePowerOn")%>：</label>
        </th>
        <td>
            <input type="checkbox" name="IsVoincePowerOn" style="vertical-align: top;" value="true"
                <%: Model.IsVoincePowerOn ? "checked='checked'" : "" %> />
        </td>
        <th align="right">
            <label for="txtIsPowerOffResetXiaoDu">
                <%: Html.Language("IsPowerOffResetXiaoDu")%>：</label>
        </th>
        <td>
            <input type="checkbox" name="IsPowerOffResetXiaoDu" style="vertical-align: top;"
                value="true" <%: Model.IsPowerOffResetXiaoDu ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtFCSPushEnable">
                <%: Html.Language("FCSPush")%>：</label>
        </th>
        <td>
            <input type="checkbox" name="FCSPushEnable" style="vertical-align: top;" value="true"
                <%: Model.FCSPushEnable ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="IsNewVersionProtocol">
                <%: Html.Language("IsNewVersionProtocol")%>：</label>
        </th>
        <td>
            <input type="checkbox" name="IsNewVersionProtocol" style="vertical-align: top;" value="true"
                <%: Model.IsNewVersionProtocol ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtFCSPushEnable">
                FCS PropertyUUID：</label>
        </th>
        <td>
            <input id="txt1" name="FCS_PropertyID" class="textbox text" value="<%: Model.FCS_PropertyID %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt2">
                FCS LoginUrl：</label>
        </th>
        <td>
            <input id="txt2" name="FCSLoginUrl" class="textbox text" value="<%: Model.FCSLoginUrl %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt3">
                FCS LoginUserName：</label>
        </th>
        <td>
            <input id="txt3" name="FCSLoginUserName" class="textbox text" value="<%: Model.FCSLoginUserName %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt4">
                FCS LoginPassWord：</label>
        </th>
        <td>
            <input id="txt4" name="FCSLoginPassWord" class="textbox text" value="<%: Model.FCSLoginPassWord %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt5">
                <%: Html.Language("FCS_Carbon_UUID")%>：</label>
        </th>
        <td>
            <input id="txt5" name="FCS_Carbon_UUID" class="textbox text" value="<%: Model.FCS_Carbon_UUID %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt6">
                <%: Html.Language("FCS_SOS_UUID")%>：</label>
        </th>
        <td>
            <input id="txt6" name="FCS_SOS_UUID" class="textbox text" value="<%: Model.FCS_SOS_UUID %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt7">
                <%: Html.Language("FCS_TouSu_UUID")%>：</label>
        </th>
        <td>
            <input id="txt7" name="FCS_TouSu_UUID" class="textbox text" value="<%: Model.FCS_TouSu_UUID %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt8">
                <%: Html.Language("FCS_Clean_UUID")%>：</label>
        </th>
        <td>
            <input id="txt8" name="FCS_Clean_UUID" class="textbox text" value="<%: Model.FCS_Clean_UUID %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt9">
                <%: Html.Language("FCS_TiSongWuPin")%>：</label>
        </th>
        <td>
            <input id="txt9" name="FCS_TiSongWuPin" class="textbox text" value="<%: Model.FCS_TiSongWuPin %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtFCSPushEnable">
                <%: Html.Language("FCS_RCU_Device_Offline")%>：</label>
        </th>
        <td>
            <input id="txt10" name="FCS_RCU_Device_Offline" class="textbox text" value="<%: Model.FCS_RCU_Device_Offline %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt11">
                <%: Html.Language("FCS_RCU_Offline")%>：</label>
        </th>
        <td>
            <input id="txt11" name="FCS_RCU_Offline" class="textbox text" value="<%: Model.FCS_RCU_Offline %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt12">
                <%: Html.Language("FCS_RCU_Online")%>：</label>
        </th>
        <td>
            <input id="txt12" name="FCS_RCU_Online" class="textbox text" value="<%: Model.FCS_RCU_Online %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txt13">
                <%: Html.Language("FCS_MenCi_Close")%>：</label>
        </th>
        <td>
            <input id="txt13" name="FCS_MenCi_Close" class="textbox text" value="<%: Model.FCS_MenCi_Close %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtFCSPushEnable">
                <%: Html.Language("FCS_MenCi_Open")%>：</label>
        </th>
        <td>
            <input id="txt14" name="FCS_MenCi_Open" class="textbox text" value="<%: Model.FCS_MenCi_Open %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="isusechuangwei">
                <%: Html.Language("IsUseSkyworthTV")%>：</label>
        </th>
        <td>
            <input id="isusechuangwei" type="checkbox" name="IsUseSkyworthTV" style="vertical-align: top;"
                value="true" <%: Model.IsUseSkyworthTV ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="isusetcltv">
                <%: Html.Language("IsUseTCLTV")%>：</label>
        </th>
        <td>
            <input id="isusetcltv" type="checkbox" name="IsUseTCLTV" style="vertical-align: top;"
                value="true" <%: Model.IsUseTCLTV ? "checked='checked'" : "" %> />
        </td>
    </tr>

    <!--ETV-->
    <tr>
        <th align="right">
            <label for="Text2"> ETV HotelID：</label>
        </th>
        <td colspan="3">
             <input id="Text2" name="ETV_HotelID" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.ETV_HotelID %>" />
        </td>
    </tr>

    <!--投诉反馈语音-->
    <tr>
        <th align="right">
            <label for="txtTouSuResponseData">
                <%: Html.Language("TouSuResponseData")%>：</label>
        </th>
        <td colspan="3">
            <input id="txtTouSuResponseData" name="TouSuResponseData" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.TouSuResponseData %>" />
        </td>
    </tr>
    <!--呼叫前台授权码-->
    <tr>
        <th align="right">
            <label for="txtSkyworthTVauthCode">
                <%: Html.Language("SkyworthTVauthCode")%>：</label>
        </th>
        <td colspan="3">
            <input id="txtSkyworthTVauthCode" name="SkyworthTVauthCode" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.SkyworthTVauthCode %>" />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="ckQianLiMaPMS">
                <%: Html.Language("IsUseQianLiMa")%>：</label>
        </th>
        <td>
            <input id="ckQianLiMaPMS" type="checkbox" name="IsUseQianLiMa" style="vertical-align: top;"
                value="true" <%: Model.IsUseQianLiMa ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="ckPushDataPMS">
                <%: Html.Language("IsPushPMSData")%>：</label>
        </th>
        <td>
            <input id="ckPushDataPMS" type="checkbox" name="IsPushPMSData" style="vertical-align: top;"
                value="true" <%: Model.IsPushPMSData ? "checked='checked'" : "" %> />
        </td>
    </tr>
    <tr>
        <th align="right">
            <label for="txtHeTongNumber">
                <%: Html.Language("HeTongNumber")%>：</label>
        </th>
        <td>
            <div style="display: inline;">
                <input id="txtHeTongNumber" name="HeTongNumber" class="easyui-validatebox textbox text"
                    style="display: inline-block; width: 75px;" value="<%: Model.HeTongNumber %>" />
                <a class="easyui-linkbutton dlg-btn-save" style="display: inline-block;" href="javascript:void(0)"
                    onclick="FoundDeviceList();">
                    <%: Html.Language("FoundDevice")%></a>
            </div>
        </td>
    </tr>

    <tr>
        <th align="right">
            <label for="IsPowerOff1"> <%: Html.Language("RoomStatusSwitch")%>: </label>
        </th>
        <td>
            <input id="SwitchRoomStatus_PowerOff2" type="checkbox" name="SwitchRoomStatus_PowerOff2" style="vertical-align: top;" value="2" <%: Model.SwitchRoomStatus_PowerOff2==2 ? "checked='checked'" : "" %> /> <%: Html.Language("ChuZu")%>
            <input id="SwitchRoomStatus_PowerOff4" type="checkbox" name="SwitchRoomStatus_PowerOff4" style="vertical-align: top;" value="4" <%: Model.SwitchRoomStatus_PowerOff4==4 ? "checked='checked'" : "" %> /> <%: Html.Language("DaiZu")%>
            <input id="SwitchRoomStatus_PowerOff8" type="checkbox" name="SwitchRoomStatus_PowerOff8" style="vertical-align: top;" value="8" <%: Model.SwitchRoomStatus_PowerOff8==8 ? "checked='checked'" : "" %> /> <%: Html.Language("TuiFang")%>
        </td>
    </tr>
    <%--    TCL 功能--%>
    <%--    <tr>
        <th align="right">
               TCL AppId 
        </th>
        <td colspan="3">
            <input id="Text2" name="TCLAppId" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.TCLAppId %>" />
        </td>
    </tr>>

    <tr>
        <th align="right">
            <label for="txtSkyworthTVauthCode">
                TCL AppSecret</label>
        </th>
        <td colspan="3">
            <input id="Text3" name="TCLAppSecret" class="easyui-validatebox textbox text"
                style="width: 416px;" value="<%: Model.TCLAppSecret %>" />
        </td>
    </tr>--%>
</table>
</form>
