Example #1
0
        public ValueDataWindow(ValueDataWindow valueWindow)
        {
            _state = valueWindow._state;

            valueWindow.Parent.AddChildWindow(this);
            this.Update();
        }
Example #2
0
        public virtual bool ResolveObject(VariableTable varTable)
        {
            ApplianceState stateVar = (ApplianceState)varTable[_stateName];

            _valid = stateVar != null;

            if (_valid)
            {
                _state = new ValueDataWindow(stateVar);
            }

            return(_valid);
        }
Example #3
0
 public StateDependency(ApplianceState state)
 {
     _state     = new ValueDataWindow(state);
     _stateName = state.FullName;
     _valid     = true;
 }