You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
overallScore = vm.baseScore; // overall will be Base score for now
if(temporalSelect.hasSelections())
{
overallScore = vm.temporalScore; // temporal will be overall
}
if(environSelect.hasSelections())
{
overallScore = environScore; // environ will be overall
}
// check if any environmental selections have been made, at least 1 selection must be
// made for Environmental calculations to be run
environSelect.hasSelections: function () {
if (this.cr != "CR:X" || this.ir != "IR:X" || this.ar != "AR:X" ||
this.mav != "MAV:X" || this.mac != "MAC:X" || this.mpr != "MPR:X" ||
this.mui != "MUI:X" || this.mscp != "MS:X" || this.mci != "MC:X" ||
this.mii != "MI:X" || this.mai != "MA:X")
return true;
return false;
}
// check if any temporal selections have been made, at least 1 selection must be
// made for Temporal calculations to be run
temporalSelect.hasSelections: function () {
if (this.ex != "E:X" || this.rl != "RL:X" || this.rc != "RC:X")
return true;
return false;
}
Activity
[-]CSAF-2.1: Recommended Test 6.2.19[/-][+]CSAF-2.1: Recommended Test 6.2.19 - Extension Tests[/+][-]CSAF-2.1: Recommended Test 6.2.19 - Extension Tests[/-][+]CSAF-2.1: Recommended Test 6.2.19[/+]Merge pull request #247 from secvisogram/196-csaf-2.1_optional_test_6…