public void Write(VariableRef variable, object value) { Variables variables = getVariables(variable.Relationship); if (variables != null) { variables.Set(variable.Name, value); } }
public bool Read(VariableRef variable, ref float value) { Variables variables = getVariables(variable.Relationship); return((variables == null) ? false : variables.Get(variable.Name, ref value)); }
//----------------------------------------------------- // Variable read/writes used by Cells //----------------------------------------------------- public object Read(VariableRef variable) { Variables variables = getVariables(variable.Relationship); return((variables == null) ? null : variables.Get(variable.Name)); }