/// <summary> /// Creates a physical type. /// </summary> /// <param name="identifier">the identifier of this type</param> /// <param name="range">the range</param> /// <param name="primaryUnit">the primary unit identifier</param> public PhysicalType(string identifier, RangeProvider range, string primaryUnit) : base(identifier) { this.range = range; this.primaryUnit = primaryUnit; }
/// <summary> /// Creates a integer type. /// </summary> /// <param name="identifier">the identifier of this type</param> /// <param name="range">the range of this integer type</param> public IntegerType(string identifier, RangeProvider range) : base(identifier) { this.range = range; }
/// <summary> /// Creates a range subtype indication. /// </summary> /// <param name="baseType">the base type</param> /// <param name="range">the range</param> public RangeSubtypeIndication(ISubtypeIndication baseType, RangeProvider range) { this.baseType = baseType; this.range = range; }