<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%:Html.HiddenFor(m => m.CurrentReleasePoint.Id)%> <%:Html.HiddenFor(m => m.FacilityId)%>
> <% if (ViewContext.RouteData.Values["action"].ToString().ToLower() == "add") { %> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.Identifier, new { @class = "text-input smallish-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.Identifier)%> <%}else { %> <%:Model.CurrentReleasePoint.Identifier%> <% } %> <%:Html.HiddenFor(m => m.CurrentReleasePoint.Identifier)%>
> <%:Html.DropDownListFor(m => m.CurrentReleasePoint.TypeCode, (IEnumerable)Model.ReleasePointTypes, new { @class = "text-input smallish-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.TypeCode)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.Description, new { @class = "text-input full-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.Description)%>
> <%:Html.DropDownListFor(m => m.CurrentReleasePoint.StatusCode, Model.ReleasePointStatusTypes, new { @class = "text-input smallish-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.StatusCode)%>
> <%:Html.EditorFor(m => m.CurrentReleasePoint.StatusAsOfDate, "DateTime")%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.StatusAsOfDate)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.StackHeightMeasurement, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.StackHeightMeasurement)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.StackDiameterMeasurement, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.StackDiameterMeasurement)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.FugitiveHeight, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.FugitiveHeight)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.FugitiveWidth, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.FugitiveWidth)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.FugitiveLength, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.FugitiveLength)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.FugitiveAngle, new { @class = "text-input smallish-input" })%> DEGREES <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.FugitiveAngle)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.GasTemp, new { @class = "text-input smallish-input" })%> °F <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.GasTemp)%>
>
<%:Html.TextBoxFor(m => m.CurrentReleasePoint.GasFlowRate, new { @class = "text-input full-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.GasFlowRate)%>
<%:Html.DropDownListFor(m => m.CurrentReleasePoint.GasFlowRateUomCode, Model.ExitGasFlowRateUomTypes, "", new { @class = "text-input full-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.GasFlowRateUomCode)%>
>
<%:Html.TextBoxFor(m => m.CurrentReleasePoint.GasVel, new { @class = "text-input full-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.GasVel)%>
<%:Html.DropDownListFor(m => m.CurrentReleasePoint.GasVelUomCode, Model.ExitGasVelocityUomTypes, "", new { @class = "full-input" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.GasVelUomCode)%>
> <%:Html.TextBoxFor(m => m.CurrentReleasePoint.FenceLineDistance, new { @class = "text-input smallish-input" })%> FEET <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.FenceLineDistance)%>
> <% for(int i = 0; Model.CurrentReleasePoint.RelatedUnitProcesses.Count > i; ++i) { UnitProcess up = Model.CurrentReleasePoint.RelatedUnitProcesses[i]; %> <%:Html.ActionLink(up.EmissionUnit.Identifier + " - " + up.EmissionUnit.Description + ", " + up.Identifier + " - " + up.Description, "Edit", "UnitProcess", new { id = up.Id, reportId = Request.QueryString["reportId"], facilityId = Request.QueryString["facilityId"] }, null)%> <%:Html.HiddenFor(m => m.CurrentReleasePoint.RelatedUnitProcesses[i].Id)%> <%:Html.HiddenFor(m => m.CurrentReleasePoint.RelatedUnitProcesses[i].Description)%> <%:Html.HiddenFor(m => m.CurrentReleasePoint.RelatedUnitProcesses[i].UniqueIdentifier)%> <%:Html.HiddenFor(m => m.CurrentReleasePoint.RelatedUnitProcesses[i].Identifier)%> <%:Html.HiddenFor(m=>m.CurrentReleasePoint.RelatedUnitProcesses[i].EmissionUnit.Identifier) %> <%:Html.HiddenFor(m=>m.CurrentReleasePoint.RelatedUnitProcesses[i].EmissionUnit.Description) %>
<% } %>
<%if (Model.CurrentReleasePoint is PublicReleasePoint || (Model.CurrentReleasePoint is AgencyReleasePoint && !((AgencyReleasePoint)Model.CurrentReleasePoint).IsMaster)) { %>
> <%:Html.TextAreaFor(m => m.CurrentReleasePoint.Comment, new { @class = "text-input growComments" })%> <%:Html.ValidationMessageFor(m => m.CurrentReleasePoint.Comment)%>
<% } %>