예제 #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;
		}