Um útbúgvingina

Um útbúgvingina
Útbúgvingin tekur tvey ár og er býtt upp í ein praktiskan og ein teoretiskan part.​

Sjálva lærutíðina ert tú sum næmingur ein partur av starvsfólkatoyminum í Trygd, meðan skúlagongdin er saman við øðrum næmingum úr peningastovnum og tryggingarfeløgum.

Skúlin

Skúlin verður tikin í lærutíðini. Finansraadet, Finanssektorens Uddannelsescenter og Trygd standa fyri skúlanum í felag. Øll útbúgvingin verður tikin í Føroyum. Útbúgvingin hevur til endamáls at geva tær fakliga vitan innan fíggjarheimin, samfelagsviðurskifti og tryggingar hjá bæði privat- og vinnukundum. 

​Fjøltáttað útbúgving

Tá ið lærutíðin byrjar, gera vit eina ætlan, sum vísir, á hvørjum økjum hjá Trygd tú skalt starvast, og hvussu leingi tú verður á hvørjum øki. Hetta verður gjørt fyri at tryggja, at tú fært eina so fjøltáttaða útbúgving sum gjørligt.

Error executing template "/Designs/Trygd2016/Paragraph/UVIndexGlobalInclude.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_20d18368fed8455fb83ed6b11b4a815d.Execute() in E:\dynamicweb.net\Solutions\foroyabanki.net.dynamicweb.dk\files\Templates\Designs\Trygd2016\Paragraph\UVIndexGlobalInclude.cshtml:line 25
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @using System.Net; 2 @using System.Web; 3 @using Newtonsoft.Json; 4 @using Newtonsoft.Json.Linq; 5 @using System.Collections.Generic; 6 @using System.Globalization; 7 8 9 10 11 @{ 12 string getstation=HttpContext.Current.Request.QueryString["station"]; 13 string url = "https://api.weatherlink.com/v1/NoaaExt.json?user=001D0A010EDD&pass=Trygd358100&apiToken=42F94605396341CBB47AC26A9E5679C2"; 14 15 dynamic json = ""; 16 17 WebClient mywc = new WebClient(); 18 json = (JObject)JsonConvert.DeserializeObject(mywc.DownloadString(url)); 19 20 } 21 @{ 22 23 string uvindex=json.davis_current_observation.uv_index; 24 double uvfloat = (double) Convert.ToDouble(uvindex); 25 string uvindexclass="class"+@uvindex.Substring(0, @uvindex.IndexOf(".")); 26 27 string wind=json.wind_mph; 28 double windfloat = (double) Convert.ToDouble(wind); 29 double windsec=windfloat*0.044704; 30 int windsecint = Convert.ToInt32(windsec); 31 32 string temperature=json.temp_c; 33 temperature=temperature.Replace(".",","); 34 float tempfloat = (float) Convert.ToDouble(temperature); 35 36 string rainstring=json.davis_current_observation.rain_rate_in_per_hr; 37 rainstring=rainstring.Replace(".",","); 38 float rainfloat = (float) Convert.ToDouble(rainstring); 39 double raininchmm=rainfloat*25.4; 40 double rainmm = System.Math.Round(raininchmm,1); 41 42 43 string winddir=json.wind_dir; 44 string winddirimg="Files/Templates/Designs/Trygd2016/img/weather/"+@winddir+".svg"; 45 46 string time=json.observation_time_rfc822; 47 DateTime dateconverted = Convert.ToDateTime(time).AddHours(-1); 48 string sun="sun-red.svg"; 49 } 50 @if(windfloat<=3){ 51 sun="frost-flykra.svg"; 52 } 53 else if(windfloat > 3 && uvfloat <= 1){ 54 sun="sun.svg"; 55 } 56 57 <a href="/Default.aspx?ID=7827" class="uv-flip hidden-xs hidden-sm"> 58 <div class="sunwrap"> 59 <img src="/Files/Templates/Designs/Trygd2016/img/weather/@sun" class="statimg" /> 60 </div> 61 @if(uvfloat >= 1){ 62 <div class="@uvindexclass flip"> 63 <div class="uvuvuv">uv</div> 64 <div class="uvuvno">@uvfloat </div> 65 </div> 66 } 67 else{ 68 <div class="oyratemp"> 69 <div class="temptemp"> 70 @tempfloat ° 71 </div> 72 <div class="oyra-rainindicator"> 73 <img class="oyra-rainicon" src="/Files/Templates/Designs/Trygd2016/img/weather/rain.svg" alt="regn" /> 74 <div class="oyra-perception">@rainmm mm 75 </div> 76 </div> 77 </div> 78 } 79 80 <div class="uvuvwind"> 81 <img src="/Files/Templates/Designs/Trygd2016/img/weather/vindur.svg" class="flipwindimg" /> 82 <img class="flipwinddirimg" src="@winddirimg" /> 83 <div class="flipwindno">@windsecint</div> 84 </div> 85 </a> 86 87 88 89