@model List @if (Model.Count > 0) {
@foreach (var item in Model) { var url = "/images/empty.png"; if (!item.NeedAuth || (item.NeedAuth && item.HasAuth)) { url = Url.Action("Image", "Home", new { id = item.Number }); }

@item.StreamUri

PTZ支持:@Html.DisplayFor(o => item.Ptz3DZoomSupport) 需认证:@Html.DisplayFor(o => item.NeedAuth) @if (item.NeedAuth) { 已认证:@Html.DisplayFor(o => item.HasAuth) }
}
} @section scripts{ }