Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unit">Unit</param>
 /// <param name="Description">Description</param>
 /// <param name="ID">ID</param>
 /// <param name="valueType">Value type (vector or scalar)</param>
 public Quantity(IUnit unit, string Description, string ID, ValueType valueType)
 {
     _unit        = unit;
     _description = Description;
     _id          = ID;
     _valueType   = valueType;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unit">Unit</param>
 /// <param name="Description">Description</param>
 /// <param name="ID">ID</param>
 /// <param name="valueType">Value type (vector or scalar)</param>
 /// <param name="Dimension">Dimension</param>
 public Quantity(IUnit unit, string Description, string ID, ValueType valueType,
                 IDimension Dimension)
 {
     _unit        = unit;
     _description = Description;
     _id          = ID;
     _valueType   = valueType;
     _dimension   = Dimension;
 }
Пример #3
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="unit">Unit</param>
		/// <param name="Description">Description</param>
		/// <param name="ID">ID</param>
		/// <param name="valueType">Value type (vector or scalar)</param>
		public Quantity(IUnit unit, string Description, string ID,ValueType valueType)
		{
			_unit = unit;
			_description = Description;
			_id = ID;
			_valueType = valueType;
		}
Пример #4
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="unit">Unit</param>
		/// <param name="Description">Description</param>
		/// <param name="ID">ID</param>
		/// <param name="valueType">Value type (vector or scalar)</param>
		/// <param name="Dimension">Dimension</param>
		public Quantity(IUnit unit, string Description, string ID,ValueType valueType,
			IDimension Dimension)
		{
			_unit = unit;
			_description = Description;
			_id = ID;
			_valueType = valueType;
			_dimension = Dimension;
		}