Пример #1
0
 /// <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.TimeQuality == null))
     {
         ITimeQuality timeQualityCasted = item.As <ITimeQuality>();
         if ((timeQualityCasted != null))
         {
             this._parent.TimeQuality = timeQualityCasted;
             return;
         }
     }
 }
Пример #2
0
 /// <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 TimeAccuracyProxy(ITimeQuality modelElement) :
     base(modelElement, "timeAccuracy")
 {
 }
Пример #3
0
 /// <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 ClockFailureProxy(ITimeQuality modelElement) :
     base(modelElement, "clockFailure")
 {
 }
Пример #4
0
 /// <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 ClockNotSynchronizedProxy(ITimeQuality modelElement) :
     base(modelElement, "clockNotSynchronized")
 {
 }
Пример #5
0
 /// <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 LeapSecondsKnownProxy(ITimeQuality modelElement) :
     base(modelElement, "leapSecondsKnown")
 {
 }