<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% Dictionary Fields = ViewData["Fields"] as Dictionary; if (Fields == null) { Fields = new Dictionary(); } %>

> <%:Model.NotControlled.ToString() %>

> <%:Model.Description %>

<% if(!Model.NotControlled) { %>

> <%:Model.Efficency + "%" %>

<% Html.RenderPartial("ControlDevice",Model.EntityControlDevices,ViewData ); %> <%} %>