{ let activityNumbers= [
{name: "Sitting Quietly (2 Quanta/hr)", value: 1},
{name: "Gentle exercising quietly (10 Quanta/hr)", value: 5},
{name: "Talking (25 Quanta/hr)", value: 12.5} ,
{name: "Talking Loudly / Singing (100 Quanta/hr)", value: 50},
{name: "Sneezing and coughing people (100 Quanta/hr)", value: 50},
{name: "Screaming / Talking Very Loudly (500 Quanta/hr)", value: 250}];
activityNumbers.forEach( (x) => {
if (x.name===activity)
viewof QuantaMultiplier.setValue(x.value);
})
}