/// <summary> /// Adds the given element to the collection /// </summary> /// <param name="item">The item to add</param> public override void Add(IModelElement item) { if ((this._parent.RatioTapChanger == null)) { IRatioTapChanger ratioTapChangerCasted = item.As <IRatioTapChanger>(); if ((ratioTapChangerCasted != null)) { this._parent.RatioTapChanger = ratioTapChangerCasted; return; } } }
/// <summary> /// Creates a new observable property access proxy /// </summary> /// <param name="modelElement">The model instance element for which to create the property access proxy</param> public TculControlModeProxy(IRatioTapChanger modelElement) : base(modelElement, "tculControlMode") { }