Esempio n. 1
0
        public Identity()
        {
            QuantityTypeService service = QuantityTypeService.getService();
            IQuantityType       type    = service.getType("Identity");

            Type = type;
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        public Length()
        {
            QuantityTypeService service = QuantityTypeService.getService();

            Type = service.getType("Length");
        }
Esempio n. 4
0
        public Velocity()
        {
            QuantityTypeService service = QuantityTypeService.getService();

            Type = service.getType("Velocity");
        }
Esempio n. 5
0
        public Time()
        {
            QuantityTypeService service = QuantityTypeService.getService();

            Type = service.getType("Time");
        }