src/api/model/variable.ts
Properties |
Accessors |
constructor(value, flagsGen, flagsDir, unidades, idGrupoVble, diameters, axistype: number)
|
||||||||||||||||||||||||
|
Parameters :
|
| Public axistype |
Type : Axistype
|
Default value : 0
|
| Public diameters |
Type : boolean
|
Default value : false
|
| Public flagsDir |
Type : number
|
| Public flagsGen |
Type : number
|
| Public idGrupoVble |
Type : VariableGroup
|
| Public units |
Type : DataUnit
|
| Public value |
Type : any
|
| external |
getexternal()
|
|
Converts internal value to external units depending on the internal unit type. if variable is not affected by this conversion returns internal value. |
| mm |
getmm()
|
|
Converts internal value to mm (international system), if variable is not affected by any conversion returns internal value. |
| inches |
getinches()
|
|
Converts internal value to inches (imperial system), if variable is not affected by any conversion returns internal value. |
| mmDiameter |
getmmDiameter()
|
|
Converts internal value to mm (international system) and the to diameteres, if variable is not affected by any conversion returns internal value. |
| inchesDiameter |
getinchesDiameter()
|
|
Converts internal value to inches (imperial system) and the to diameteres, if variable is not affected by any conversion returns internal value. |