public ValueDataWindow(ValueDataWindow valueWindow) { _state = valueWindow._state; valueWindow.Parent.AddChildWindow(this); this.Update(); }
public virtual bool ResolveObject(VariableTable varTable) { ApplianceState stateVar = (ApplianceState)varTable[_stateName]; _valid = stateVar != null; if (_valid) { _state = new ValueDataWindow(stateVar); } return(_valid); }
public StateDependency(ApplianceState state) { _state = new ValueDataWindow(state); _stateName = state.FullName; _valid = true; }