projects/wms-framework/src/lib/baseframework/UnitValue.ts
UnitValue class
Properties |
constructor(value: number, unit: Unit)
|
Unit |
Type : Unit
|
Data units |
Value |
Type : number
|
Value number |
import { Unit } from '../models/enums/Unit';
/**
* UnitValue class
*
* @export
* @class UnitValue
* @wType System.Windows.Controls.DataVisualization.UnitValue
*/
export class UnitValue {
/**
* Data units
*
* @type {Unit}
* @memberof UnitValue
*/
Unit: Unit;
/**
* Value number
*
* @type {number}
* @memberof UnitValue
*/
Value: number;
constructor(value: number, unit: Unit) {
this.Unit = unit;
this.Value = value;
}
}