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

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

            _valid = stateVar != null;

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

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