예제 #1
0
 /// <summary>
 /// Gets or sets the <see cref="System.Double"/> with the specified curvature property.
 /// </summary>
 /// <value></value>
 public Double this[WingCurvatureProperty curvatureProperty]
 {
     get
     {
         return(_curvaturePropertiesDouble[curvatureProperty]);
     }
     set
     {
         SetProperty(curvatureProperty, value);
     }
 }
예제 #2
0
        /// <summary>
        /// Sets the parameter.
        /// </summary>
        /// <param name="curvatureProperty">Type of the parameter.</param>
        /// <param name="value">The value.</param>
        private void SetProperty(WingCurvatureProperty curvatureProperty, Double value)
        {
            if (_curvaturePropertiesDouble.ContainsKey(curvatureProperty))
            {
                _curvaturePropertiesDouble[curvatureProperty] = value;
            }
            else
            {
                _curvaturePropertiesDouble.Add(curvatureProperty, value);

                if ((_curvaturePropertiesDouble.Count == PropertiesCount) && (_etoDate != NullDate))
                {
                    _allPropertiesSet = true;
                }
            }
        }
예제 #3
0
 /// <summary>
 /// Gets or sets the <see cref="System.Double"/> with the specified curvature property.
 /// </summary>
 /// <value></value>
 public Double this[WingCurvatureProperty curvatureProperty]
 {
     get => _curvaturePropertiesDouble[curvatureProperty];