/// <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.Val == null)) { IP_TimeStamp valCasted = item.As <IP_TimeStamp>(); if ((valCasted != null)) { this._parent.Val = valCasted; 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 FractionOfSecondProxy(IP_TimeStamp modelElement) : base(modelElement, "fractionOfSecond") { }
/// <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 SecondSinceEpochProxy(IP_TimeStamp modelElement) : base(modelElement, "secondSinceEpoch") { }