protected bool FloatVal(string tag, out float val)
 {
     return(currentActivity.GetFloat(tag, out val));
 }