@using DataLineM.Models
@using DataLineM.Helpers
@model DataNodeModel
@{
ViewBag.Title = "关于我们";
}
模拟创建结点和发送属性
@*@Request.UserHostName
@Request.UserHostAddress*@
@using (Html.BeginForm("Send","Line", FormMethod.Post, new { name = "form0", id = "form0" }))
{
}
@using (Html.BeginForm("Send", "Line", FormMethod.Post, new { name = "form1", id = "form1" }))
{
}
@Ajax.ActionLink("调试日志开关", "DebugSwitch", "Home", new AjaxOptions { UpdateTargetId = "debugSwitch" })
Off
@Html.ActionLink("启动测试线发送", "SendTest", "Line", null, null)
@Ajax.ActionLink("查看日志","Result",new { name = "MyName2" }, new AjaxOptions{
UpdateTargetId = "tabledata",
LoadingElementId = "loading"
});
Loading Data...