Esempio n. 1
0
        public void Write(VariableRef variable, object value)
        {
            Variables variables = getVariables(variable.Relationship);

            if (variables != null)
            {
                variables.Set(variable.Name, value);
            }
        }
Esempio n. 2
0
        public bool Read(VariableRef variable, ref float value)
        {
            Variables variables = getVariables(variable.Relationship);

            return((variables == null) ? false : variables.Get(variable.Name, ref value));
        }
Esempio n. 3
0
        //-----------------------------------------------------
        // Variable read/writes used by Cells
        //-----------------------------------------------------
        public object Read(VariableRef variable)
        {
            Variables variables = getVariables(variable.Relationship);

            return((variables == null) ? null : variables.Get(variable.Name));
        }