/// <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.Loc == null)) { ISPS locCasted = item.As <ISPS>(); if ((locCasted != null)) { this._parent.Loc = locCasted; return; } } if ((this._parent.OpTmh == null)) { IINS opTmhCasted = item.As <IINS>(); if ((opTmhCasted != null)) { this._parent.OpTmh = opTmhCasted; return; } } if ((this._parent.ECA == null)) { IMV eCACasted = item.As <IMV>(); if ((eCACasted != null)) { this._parent.ECA = eCACasted; return; } } if ((this._parent.ColTapPos == null)) { IISC colTapPosCasted = item.As <IISC>(); if ((colTapPosCasted != null)) { this._parent.ColTapPos = colTapPosCasted; return; } } if ((this._parent.ColPos == null)) { IAPC colPosCasted = item.As <IAPC>(); if ((colPosCasted != null)) { this._parent.ColPos = colPosCasted; 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 StepSizeProxy(IISC modelElement) : base(modelElement, "stepSize") { }
/// <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 MaxValProxy(IISC modelElement) : base(modelElement, "maxVal") { }
/// <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 MinValProxy(IISC modelElement) : base(modelElement, "minVal") { }
/// <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 CtlValProxy(IISC modelElement) : base(modelElement, "ctlVal") { }