(function(f){var g=new function(){this.OperatingSystem=function(){this.category="Software";this.name="OS";this.subnavigationicon="sec-nav-os.png";var c=void 0;this.Init=function(){c=this;if(void 0==c||null==c)return!1;c.setCycleTime(2E3);c.setCommunicationObj(f.DevMan.getCommunicationModule(f.DevMan.CommunicationType.mdp));c.addParameter("OS_Header_Property_OSName",!1);c.addParameter("OS_Property_MajorVersion",!1);c.addParameter("OS_Property_MinorVersion",!1);c.addParameter("OS_Property_Build",!1);
c.addParameter("OS_Property_CSDVersion",!1);c.addParameter("Software_Property_Name_Len",!1);c.addParameter("Software_Property_Company_Len",!1);c.addParameter("Software_Property_Date_Len",!1);c.addParameter("Software_Property_Version_Len",!1);c.setOnInitStaticPage(g);c.setOnDisplayValues(h);return!0};var g=function(a){var b="";if(a[0].getHasValues()||a[1].getHasValues()||a[2].getHasValues()||a[3].getHasValues()||a[4].getHasValues())b+="<h3>Operating System</h3><table>",a[0].getHasValues()&&(b+='<tr><td class="td_FirstColumn">Operating System</td><td><div id="'+
a[0].parameterName+'"></div>'),a[1].getHasValues()&&(b+='<tr><td class="td_FirstColumn">Major Version</td><td><div id="'+a[1].parameterName+'"></div>'),a[2].getHasValues()&&(b+='<tr><td class="td_FirstColumn">Minor Version</td><td><div id="'+a[2].parameterName+'"></div>'),a[3].getHasValues()&&(b+='<tr><td class="td_FirstColumn">Build</td><td><div id="'+a[3].parameterName+'"></div>'),a[4].getHasValues()&&(b+='<tr><td class="td_FirstColumn">CSD Version</td><td><div id="'+a[4].parameterName+'"></div>'),
b+="</table>",b+="<br>";if(a[5].getHasValues()||a[6].getHasValues()||a[7].getHasValues()||a[8].getHasValues()){var b=b+"<h3>Apps & Drivers</h3>",b=b+'<table style="table-layout:fixed;">',b=b+'<tr><th style="width:300px;">Name</th><th style="width:125px;">Company</th><th style="width:75px;">Date</th><th style="width:75px;">Version</th></tr>',d=0;a[5].getHasValues()&&(d=a[5].values[0].length);var e=0;a[6].getHasValues()&&(e=a[6].values[0].length);var f=0;a[7].getHasValues()&&(f=a[7].values[0].length);
var g=0;a[8].getHasValues()&&(g=a[8].values[0].length);d=Math.max(d,e,f,g);for(e=0;e<d;e++)b+='<td style="word-wrap:break-word;width:300px;"><div id="'+a[5].parameterName+e+'"></div></td>',b+='<td style="word-wrap:break-word;width:125px;"><div id="'+a[6].parameterName+e+'"></div></td>',b+='<td style="word-wrap:break-word;width:75px;"><div id="'+a[7].parameterName+e+'"></div></td>',b+='<td style="word-wrap:break-word;width:75px;"><div id="'+a[8].parameterName+e+'"></div></td>',b+="</tr>";b+="</table>";
b+="<br>"}b+='<div id="status"></div>';c.writeActivePage(b);return!0},h=function(a){a[0].getHasValues()&&c.writeElement(a[0].parameterName,a[0].values[0].data);a[1].getHasValues()&&c.writeElement(a[1].parameterName,a[1].values[0].data);a[2].getHasValues()&&c.writeElement(a[2].parameterName,a[2].values[0].data);a[3].getHasValues()&&c.writeElement(a[3].parameterName,a[3].values[0].data);a[4].getHasValues()&&c.writeElement(a[4].parameterName,a[4].values[0].data);var b=0;a[5].getHasValues()&&(b=a[5].values[0].length);
for(var d=0;d<b;d++)c.writeElement(a[5].parameterName+d,a[5].values[0][d].getOutput());b=0;a[6].getHasValues()&&(b=a[6].values[0].length);for(d=0;d<b;d++)c.writeElement(a[6].parameterName+d,a[6].values[0][d].getOutput());b=0;a[7].getHasValues()&&(b=a[7].values[0].length);for(d=0;d<b;d++)c.writeElement(a[7].parameterName+d,a[7].values[0][d].getOutput());b=0;a[8].getHasValues()&&(b=a[8].values[0].length);for(d=0;d<b;d++)c.writeElement(a[8].parameterName+d,a[8].values[0][d].getOutput())}};this.OperatingSystem.prototype=
new f.Page_Template.Template};f.DevMan.RegisterModule(new g.OperatingSystem,f.DevMan.ModuleType.Website)})(window);
