示例#1
0
        internal LoVariable GetVariable(Topic t)
        {
            LoVariable v;
            ILoItem    it;

            if (_items.TryGetValue(t, out it) && (v = it as LoVariable) != null)
            {
                return(v);
            }
            v         = new LoVariable(this, t);
            _items[t] = v;
            v.ManifestChanged();
            return(v);
        }
示例#2
0
        private void BindCh(Topic t, Perform.Art a)
        {
            ILoItem    it;
            LoVariable v = null;

            if ((!_items.TryGetValue(t, out it) || (v = it as LoVariable) == null) && a == Perform.Art.create)
            {
                v         = new LoVariable(this, t);
                _items[t] = v;
            }
            if (v != null)
            {
                v.ManifestChanged();
            }
        }
示例#3
0
 public void DeletePin(LoVariable v)
 {
     _pins.Remove(v);
 }