Seinast dagført: 01-01-2017

8.4.2.3 Vatnfloymur

Stk. 1 Áseting

Vatninnleggingar skulu gerast soleiðis, at trygd er fyri, at vatn ikki streymar út ella seyrar út og ger skaða á bygningar.

Lekar skulu lættliga kunna staðfestast.

Stk. 2 Áseting

Tappingarstøð mugu bert gerast, har nøktandi frárenning er, ella har vatnið á annan hátt kann leiðast burtur ella savnast á hóskiligan hátt.

Stk. 3 Áseting

Tól við sjálvvirkandi vatnáfylling, ið verða sett í rúm uttan gólvfrárenning, skulu hava trygd fyri, at vatn ikki ótilætlað rennur út, og skulu vera sett soleiðis, at seyring kann staðfestast.

Úrslit:
Exception in template (\Designs\LV\Paragraph\include-epos.cshtml): System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at CompiledRazorTemplates.Dynamic.dffffafcdcaac.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@using System.Xml.Linq @using System.Xml @using System.Linq @using System.Net @{ HttpWebRequest rq = WebRequest.Create("http://starvssetan.landsverk.fo/REK/joblistxml.asmx/GetJobList?JobListId=1&Language=fo") as HttpWebRequest; //3 Second Timeout rq.Timeout = 3000; //Also note you can set the Proxy property here if required; sometimes it is, especially if you are behind a firewall - rq.Proxy = new WebProxy("proxy_address"); HttpWebResponse response = rq.GetResponse() as HttpWebResponse; XmlTextReader reader = new XmlTextReader(response.GetResponseStream()); XmlDocument xml = new XmlDocument(); xml.Load(reader); XmlNodeList nodes = xml.SelectNodes("//JobOffer"); int starvtal = 0; } @foreach(XmlNode node in nodes){ starvtal++; } @if(starvtal==0){ <text><style> #toptopmen li.Størv a:after {display: none;} </style> </text> } else{ <text><style> #toptopmen li.Størv a:after {content: "@starvtal";} </style> </text>}