MemEOL: Difference between revisions
From Desal Wiki
imported>WikiAdmin No edit summary |
imported>WikiAdmin No edit summary |
||
| Line 227: | Line 227: | ||
function displayResultsSwitchRO(recomOrAltClass, roReuse){ | function displayResultsSwitchRO(recomOrAltClass, roReuse){ | ||
var alertSubheadingClass = 'reuse_as_ro_subheading'; | var alertSubheadingClass = 'reuse_as_ro_subheading'; | ||
var tableRowClass = 'tablerow-reuse'; | |||
switch (roReuse) { | switch (roReuse) { | ||
case 0: | case 0: | ||
showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-0'); | showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-0'); | ||
highlightTableRow(tableRowClass, 'tablerow-reuse-0'); | |||
break; | break; | ||
case 1: | case 1: | ||
showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-1'); | showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-1'); | ||
highlightTableRow(tableRowClass, 'tablerow-reuse-1'); | |||
break; | break; | ||
case 2: | case 2: | ||
showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-2'); | showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-2'); | ||
highlightTableRow(tableRowClass, 'tablerow-reuse-2'); | |||
break; | break; | ||
case 3: | case 3: | ||
showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-3'); | showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-3'); | ||
highlightTableRow(tableRowClass, 'tablerow-reuse-3'); | |||
break; | break; | ||
case 4: | case 4: | ||
showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-4'); | showHideElementsResultsPageThreeClasses(recomOrAltClass, alertSubheadingClass, 'reuse-4'); | ||
highlightTableRow(tableRowClass, 'tablerow-reuse-4'); | |||
break; | break; | ||
default: | default: | ||
| Line 247: | Line 253: | ||
break; | break; | ||
} | } | ||
return; | |||
} | |||
function highlightTableRow(rowClass, specificRowClass){ | |||
$( "." + rowClass ) | |||
.filter(":not(" + specificRowClass + ")").removeClass('success'); | |||
$( "." + rowClass ) | |||
.filter("." + specificRowClass).addClass('success'); | |||
return; | return; | ||
} | } | ||
| Line 545: | Line 559: | ||
<th>Estimated reuse lifespan (yrs)</th> | <th>Estimated reuse lifespan (yrs)</th> | ||
</tr></thead> | </tr></thead> | ||
<tbody><tr class="tablerow-reuse-0"> | <tbody><tr class="tablerow-reuse tablerow-reuse-0"> | ||
<td>99.9 - 99.6</td> | <td>99.9 - 99.6</td> | ||
<td>> 0.45</td> | <td>> 0.45</td> | ||
<td>High quality SWRO</td> | <td>High quality SWRO</td> | ||
<td>Direct reuse as SWRO possible in normal applications</td> | <td>Direct reuse as SWRO possible in normal applications</td> | ||
<td>2 –5</td></tr><tr class="tablerow-reuse-1"> | <td>2 –5</td></tr><tr class="tablerow-reuse tablerow-reuse-1"> | ||
<td>99.7 - 99.2</td> | <td>99.7 - 99.2</td> | ||
<td>> 1.6</td> | <td>> 1.6</td> | ||
<td>High quality BWRO</td> | <td>High quality BWRO</td> | ||
<td>Direct reuse as BWRO possible in normal applications</td> | <td>Direct reuse as BWRO possible in normal applications</td> | ||
<td>2 – 3</td></tr><tr class="tablerow-reuse-2"> | <td>2 – 3</td></tr><tr class="tablerow-reuse tablerow-reuse-2"> | ||
<td>99.2 – 98</td> | <td>99.2 – 98</td> | ||
<td>> 1.6</td> | <td>> 1.6</td> | ||
<td>Medium quality BWRO</td> | <td>Medium quality BWRO</td> | ||
<td>Direct reuse as BWRO in standard applications possible</td> | <td>Direct reuse as BWRO in standard applications possible</td> | ||
<td>1 – 2</td></tr><tr class="tablerow-reuse-3"> | <td>1 – 2</td></tr><tr class="tablerow-reuse tablerow-reuse-3"> | ||
<td>98 – 96</td> | <td>98 – 96</td> | ||
<td>> 1</td> | <td>> 1</td> | ||
<td>Low quality BWRO</td> | <td>Low quality BWRO</td> | ||
<td>Direct reuse as BWRO in harsh applications where regular replacement is required</td> | <td>Direct reuse as BWRO in harsh applications where regular replacement is required</td> | ||
<td>1</td></tr><tr class="tablerow-reuse-4"> | <td>1</td></tr><tr class="tablerow-reuse tablerow-reuse-4"> | ||
<td>96 – 80</td> | <td>96 – 80</td> | ||
<td>> 5</td> | <td>> 5</td> | ||
<td>Medium quality NF</td> | <td>Medium quality NF</td> | ||
<td>Direct reuse as NF membrane possible</td> | <td>Direct reuse as NF membrane possible</td> | ||
<td>-</td></tr><tr class="tablerow-reuse-5"> | <td>-</td></tr><tr class="tablerow-reuse tablerow-reuse-5"> | ||
<td>< 96</td> | <td>< 96</td> | ||
<td>< 5</td> | <td>< 5</td> | ||
| Line 605: | Line 619: | ||
<th>Estimated reuse lifespan (yrs)</th> | <th>Estimated reuse lifespan (yrs)</th> | ||
</tr></thead> | </tr></thead> | ||
<tbody><tr> | <tbody><tr class="tablerow-reuse tablerow-reuse-0"> | ||
<td>99.9 - 99.6</td> | <td>99.9 - 99.6</td> | ||
<td>> 0.45</td> | <td>> 0.45</td> | ||
<td>High quality SWRO</td> | <td>High quality SWRO</td> | ||
<td>Direct reuse as SWRO possible in normal applications</td> | <td>Direct reuse as SWRO possible in normal applications</td> | ||
<td>2 –5</td></tr><tr> | <td>2 –5</td></tr><tr class="tablerow-reuse tablerow-reuse-1"> | ||
<td>99.7 - 99.2</td> | <td>99.7 - 99.2</td> | ||
<td>> 1.6</td> | <td>> 1.6</td> | ||
<td>High quality BWRO</td> | <td>High quality BWRO</td> | ||
<td>Direct reuse as BWRO possible in normal applications</td> | <td>Direct reuse as BWRO possible in normal applications</td> | ||
<td>2 – 3</td></tr><tr> | <td>2 – 3</td></tr><tr class="tablerow-reuse tablerow-reuse-2"> | ||
<td>99.2 – 98</td> | <td>99.2 – 98</td> | ||
<td>> 1.6</td> | <td>> 1.6</td> | ||
<td>Medium quality BWRO</td> | <td>Medium quality BWRO</td> | ||
<td>Direct reuse as BWRO in standard applications possible</td> | <td>Direct reuse as BWRO in standard applications possible</td> | ||
<td>1 – 2</td></tr><tr> | <td>1 – 2</td></tr><tr class="tablerow-reuse tablerow-reuse-3"> | ||
<td>98 – 96</td> | <td>98 – 96</td> | ||
<td>> 1</td> | <td>> 1</td> | ||
<td>Low quality BWRO</td> | <td>Low quality BWRO</td> | ||
<td>Direct reuse as BWRO in harsh applications where regular replacement is required</td> | <td>Direct reuse as BWRO in harsh applications where regular replacement is required</td> | ||
<td>1</td></tr><tr> | <td>1</td></tr><tr class="tablerow-reuse tablerow-reuse-4"> | ||
<td>96 – 80</td> | <td>96 – 80</td> | ||
<td>> 5</td> | <td>> 5</td> | ||
<td>Medium quality NF</td> | <td>Medium quality NF</td> | ||
<td>Direct reuse as NF membrane possible</td> | <td>Direct reuse as NF membrane possible</td> | ||
<td>-</td></tr><tr> | <td>-</td></tr><tr class="tablerow-reuse tablerow-reuse-5"> | ||
<td>< 96</td> | <td>< 96</td> | ||
<td>< 5</td> | <td>< 5</td> | ||
Revision as of 18:22, 7 January 2015
Introduction text