Class UnitOfMeasure
Wraps a unit of measure.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class UnitOfMeasure : JTObject
Constructors
UnitOfMeasure(Int32)
Creates an object intended to be used to update a unit of measure.
Declaration
public UnitOfMeasure(int unitOfMeasureId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | unitOfMeasureId_ | Identifies an existing unit of measure. |
Properties
Divisor
Combines with the Multiplier to define the conversion between the input measures and this particular unit of measure.
Declaration
public decimal Divisor { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
MeasurementLabel
Label used for the input measures for the unit of measure.
Declaration
public string MeasurementLabel { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MeasurementQuantity
Number of dimensions comprising this unit of measure (e.g.) 0 for 'Each', 1 for 'Length', 2 for 'Area' etc.).
Declaration
public int MeasurementQuantity { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Multiplier
Combines with the Divisor to define the conversion between the input measures and this particular unit of measure.
Declaration
public decimal Multiplier { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
SeqNum
Sequence number.
Declaration
public int SeqNum { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
UnitOfMeasureId
Identifies this unit of measure.
Declaration
public int UnitOfMeasureId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
UnitOfMeasureName
Name of this unit of measure.
Declaration
public string UnitOfMeasureName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |