public Identity() { QuantityTypeService service = QuantityTypeService.getService(); IQuantityType type = service.getType("Identity"); Type = type; }
private Quantity getQuantity(TypeExpression exp) { QuantityTypeService service = QuantityTypeService.getService(); QuantityType _type = service.getType(exp) as QuantityType; Quantity quantity = _type.getQuantity() as Quantity; quantity.Type = _type; return(quantity); }
public Length() { QuantityTypeService service = QuantityTypeService.getService(); Type = service.getType("Length"); }
public Velocity() { QuantityTypeService service = QuantityTypeService.getService(); Type = service.getType("Velocity"); }
public Time() { QuantityTypeService service = QuantityTypeService.getService(); Type = service.getType("Time"); }