C# Class Canguro.Model.UnitSystem.InternationalSystem

Clase que representa el sistema de unidades internacional. Dado que es el sistema base, esta clase no hace nada para las conversiones, sólo devuelve el valor dado.
Inheritance: UnitSystem
显示文件 Open project: rforsbach/Treu-Structure

Public Properties

Property Type Description
Instance InternationalSystem

Public Methods

Method Description
FromInternational ( float value, Units unit ) : float

Como el valor, independientemente de las unidades, ya está en sistema internacional, no hace nada.

ToInternational ( float value, Units unit ) : float

Como el valor, independientemente de las unidades, ya está en sistema internacional, no hace nada.

UnitName ( Units unit ) : string

Devuelve el nombre de las unidades para este sistema.

Private Methods

Method Description
InternationalSystem ( ) : System

Constructor default

Method Details

FromInternational() public method

Como el valor, independientemente de las unidades, ya está en sistema internacional, no hace nada.
public FromInternational ( float value, Units unit ) : float
value float
unit Units
return float

ToInternational() public method

Como el valor, independientemente de las unidades, ya está en sistema internacional, no hace nada.
public ToInternational ( float value, Units unit ) : float
value float
unit Units
return float

UnitName() public method

Devuelve el nombre de las unidades para este sistema.
public UnitName ( Units unit ) : string
unit Units
return string

Property Details

Instance public_oe static_oe property

public static InternationalSystem,Canguro.Model.UnitSystem Instance
return InternationalSystem